Class DisplayModeInfo

java.lang.Object
io.jmix.fullcalendarflowui.component.event.DisplayModeInfo

public class DisplayModeInfo extends Object
Class contains information about a calendar's display mode, such as a date range.
  • Field Details

  • Constructor Details

  • Method Details

    • getActiveStartDate

      public LocalDate getActiveStartDate()
      Returns a date that is the first visible day. In month display mode, this value is often before the first day of the month, because most months do not begin on the first day-of-week.
      Returns:
      a date that is the first visible day
    • getActiveEndDate

      public LocalDate getActiveEndDate()
      Returns a date that is the last visible day.

      Note, this value is exclusive.

      Returns:
      a date that is the last visible day
    • getCurrentStartDate

      public LocalDate getCurrentStartDate()
      Returns a date that marks the beginning of the interval represented by the display mode. For example, in month mode, this will be the first day of the month. This value disregards hidden days.
      Returns:
      a date that marks the beginning of the interval represented by the display mode
    • getCurrentEndDate

      public LocalDate getCurrentEndDate()
      Returns a date that marks the end of the interval represented by the display mode.

      Note, this value is exclusive. For example, in month mode, this will be the day after the last day of the month. This value disregards hidden days.

      Returns:
      a date that marks the end of the interval represented by the display mode
    • getDisplayMode

      public CalendarDisplayMode getDisplayMode()
      Returns:
      current calendar's display mode