Interface ScheduleManager

    • Method Detail

      • checkSchedule

        boolean checkSchedule​(java.lang.String schedule,
                              java.util.Date date)
        Checks to see if the schedule named is active or not at the given time. If the schedule doesn't exist, false will be returned.
      • checkSchedule

        boolean checkSchedule​(@Nullable
                              java.lang.String schedule,
                              long date)
        Checks to see if the schedule named is active or not at the given time. If the schedule doesn't exist, false will be returned.
      • isScheduleDefined

        boolean isScheduleDefined​(java.lang.String schedule)
        Checks to see if there is a schedule with the given name. Names are case insensitive.
      • getSchedules

        java.util.List<java.lang.String> getSchedules()
        Return a list of all defined schedules
      • getScheduleModel

        AbstractScheduleModel getScheduleModel​(java.lang.String schedule)
        Returns the model of the named schedule
      • removeSchedule

        void removeSchedule​(java.lang.String name,
                            UICallback ui)
      • getHolidays

        @Nonnull
        java.util.List<HolidayModel> getHolidays()
      • getHoliday

        @Nullable
        HolidayModel getHoliday​(java.lang.String holidayName)
      • removeHoliday

        void removeHoliday​(java.lang.String holidayName,
                           UICallback ui)