java.lang.Object
io.jmix.fullcalendarflowui.component.contextmenu.event.DayCell

public class DayCell extends Object
  • Field Details

    • date

      protected final LocalDate 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

      protected final DayOfWeek dayOfWeek
  • Constructor Details

    • DayCell

      public DayCell(LocalDate date, boolean isDisabled, boolean isFuture, boolean isOther, boolean isPast, boolean isToday, DayOfWeek dayOfWeek)
  • Method Details

    • getDate

      public LocalDate 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. See JmixFullCalendar.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

      public DayOfWeek getDayOfWeek()
      Returns:
      cell's day of week