Package apple.uikit.protocol
Interface UICalendarSelectionMultiDateDelegate
-
public interface UICalendarSelectionMultiDateDelegateAPI-Since: 16.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default booleanmultiDateSelectionCanDeselectDate(@NotNull UICalendarSelectionMultiDate selection, @NotNull NSDateComponents dateComponents)Determines if a date can be deselected.default booleanmultiDateSelectionCanSelectDate(@NotNull UICalendarSelectionMultiDate selection, @NotNull NSDateComponents dateComponents)Determines if a date is selectable.voidmultiDateSelectionDidDeselectDate(@NotNull UICalendarSelectionMultiDate selection, @NotNull NSDateComponents dateComponents)Called after the user removes selection from one of hte selected dates the calendar view.voidmultiDateSelectionDidSelectDate(@NotNull UICalendarSelectionMultiDate selection, @NotNull NSDateComponents dateComponents)Called after the user selects a date in the calendar view.
-
-
-
Method Detail
-
multiDateSelectionCanDeselectDate
default boolean multiDateSelectionCanDeselectDate(@NotNull @NotNull UICalendarSelectionMultiDate selection, @NotNull @NotNull NSDateComponents dateComponents)Determines if a date can be deselected.- Parameters:
selection- The @c UICalendarSelectionMultiDatedateComponents- The date to be checked by selection.- Returns:
- YES if the date can be deselected, NO otherwise.
-
multiDateSelectionCanSelectDate
default boolean multiDateSelectionCanSelectDate(@NotNull @NotNull UICalendarSelectionMultiDate selection, @NotNull @NotNull NSDateComponents dateComponents)Determines if a date is selectable. Dates that are not selectable will be disabled in the calendar view.- Parameters:
selection- The @c UICalendarSelectionMultiDatedateComponents- The date to be checked by selection.- Returns:
- YES if the date can be selected, NO otherwise.
-
multiDateSelectionDidDeselectDate
void multiDateSelectionDidDeselectDate(@NotNull @NotNull UICalendarSelectionMultiDate selection, @NotNull @NotNull NSDateComponents dateComponents)Called after the user removes selection from one of hte selected dates the calendar view.- Parameters:
selection- The @c UICalendarSelectionMultiDatedateComponents- The date that was deselected by the user.
-
multiDateSelectionDidSelectDate
void multiDateSelectionDidSelectDate(@NotNull @NotNull UICalendarSelectionMultiDate selection, @NotNull @NotNull NSDateComponents dateComponents)Called after the user selects a date in the calendar view.- Parameters:
selection- The @c UICalendarSelectionMultiDatedateComponents- The date that was selected by the user.
-
-