Class ViewChangedEventData


  • public class ViewChangedEventData
    extends java.lang.Object
    • Constructor Detail

      • ViewChangedEventData

        public ViewChangedEventData​(java.time.ZoneId zoneId,
                                    CalendarViewMode viewMode,
                                    java.time.Instant mainIntervalStart,
                                    java.time.Instant mainIntervalEnd,
                                    java.time.Instant displayedIntervalStart,
                                    java.time.Instant displayedIntervalEnd)
    • Method Detail

      • getMainIntervalStartAsLocalDate

        public java.time.LocalDate getMainIntervalStartAsLocalDate()
        Returns:
        the LocalDate representation of the main interval start (e.g. first day of displayed month in month view).
      • getMainIntervalEndAsLocalDate

        public java.time.LocalDate getMainIntervalEndAsLocalDate()
        Returns:
        the LocalDate representation of the main interval end (e.g. first day of month after displayed month in month view). This date is exclusive, i.e. NOT part of the main interval anymore.
      • getDisplayedIntervalStartAsLocalDate

        public java.time.LocalDate getDisplayedIntervalStartAsLocalDate()
        Returns:
        the LocalDate representation of the displayed interval start (e.g. first day of week (monday or sunday) before first day of month in month view).
      • getDisplayedIntervalEndAsLocalDate

        public java.time.LocalDate getDisplayedIntervalEndAsLocalDate()
        Returns:
        the LocalDate representation of the displayed interval end. This date is exclusive, i.e. NOT part of the displayed interval anymore.
      • getMainIntervalStart

        public java.time.Instant getMainIntervalStart()
      • getMainIntervalEnd

        public java.time.Instant getMainIntervalEnd()
      • getDisplayedIntervalStart

        public java.time.Instant getDisplayedIntervalStart()
      • getDisplayedIntervalEnd

        public java.time.Instant getDisplayedIntervalEnd()