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
FieldsModifier and TypeFieldDescriptionprotected TimeZone
protected CallbackCalendarDataProvider
protected LocalDate
protected LocalDate
-
Constructor Summary
ConstructorsConstructorDescriptionItemsFetchContext
(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.Note that this value is exclusive. For instance, if the visible range is
2024-09-29 - 2024-11-09
the end date will be2024-11-10
.- Returns:
- right border of visible range in calendar
-
getComponentTimeZone
- Returns:
- component's time zone
-