Class CallbackCalendarDataProvider.ItemsFetchContext
java.lang.Object
io.jmix.fullcalendarflowui.component.data.CallbackCalendarDataProvider.ItemsFetchContext
- Enclosing interface:
- CallbackCalendarDataProvider
A fetch context that is used for loading events.
-
Field Summary
Modifier and TypeFieldDescriptionprotected TimeZone
protected CallbackCalendarDataProvider
protected LocalDate
protected LocalDate
-
Constructor Summary
ConstructorDescriptionItemsFetchContext
(CallbackCalendarDataProvider dataProvider, LocalDate startDate, LocalDate endDate, TimeZone componentTimeZone) -
Method Summary
Modifier and TypeMethodDescriptionThe return date is the right border of the visible range in the component.The return date is the left border of the visible range in the component.
-
Field Details
-
dataProvider
-
startDate
-
endDate
-
componentTimeZone
-
-
Constructor Details
-
ItemsFetchContext
public ItemsFetchContext(CallbackCalendarDataProvider dataProvider, LocalDate startDate, LocalDate endDate, TimeZone componentTimeZone)
-
-
Method Details
-
getDataProvider
-
getStartDate
The return date is the left border of the visible range in the component. This date corresponds to the component's time zoneJmixFullCalendar.getTimeZone()
, as if it were a date-time object with zero time.- Returns:
- left border of visible range in component
-
getEndDate
The return date is the right border of the visible range in the component. This date corresponds to the component's time zoneJmixFullCalendar.getTimeZone()
, as if it were a date-time object with zero time.- Returns:
- right border of visible range in calendar
-
getComponentTimeZone
- Returns:
- component's time zone
-