Interface UICalendarSelectionMultiDateDelegate


  • public interface UICalendarSelectionMultiDateDelegate
    API-Since: 16.0
    • 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 UICalendarSelectionMultiDate
        dateComponents - 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 UICalendarSelectionMultiDate
        dateComponents - 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 UICalendarSelectionMultiDate
        dateComponents - 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 UICalendarSelectionMultiDate
        dateComponents - The date that was selected by the user.