Class DayCell
java.lang.Object
io.jmix.fullcalendarflowui.component.contextmenu.event.DayCell
Describes day cell from day-grid:
-
Field Details
-
date
-
isFuture
protected final boolean isFuture -
isPast
protected final boolean isPast -
isToday
protected final boolean isToday -
isOther
protected final boolean isOther -
isDisabled
protected final boolean isDisabled -
dayOfWeek
-
-
Constructor Details
-
DayCell
-
-
Method Details
-
getDate
- Returns:
- date that corresponds to day cell
-
isDisabled
public boolean isDisabled()The cell can be disabled, for instance, if it is not in valid date range. SeeJmixFullCalendar.setValidRange(LocalDate, LocalDate)
- Returns:
- whether day cell is disabled
-
isFuture
public boolean isFuture()- Returns:
- whether the cell's date is in future compared with today's date
-
isOther
public boolean isOther()- Returns:
- whether the cell's date is in other month
-
isPast
public boolean isPast()- Returns:
- whether the cell's date is in past compared with today's date
-
isToday
public boolean isToday()- Returns:
- whether the cell's date is today
-
getDayOfWeek
- Returns:
- cell's day of week
-