Class DailyScheduling

    • Constructor Detail

      • DailyScheduling

        public DailyScheduling​(@NotNull
                               Time time)
    • Method Detail

      • getScheduledTime

        public long getScheduledTime​(long time)
        Description copied from interface: SchedulingPolicy
        Computes next time for the trigger relative to the time specified in param.
        Specified by:
        getScheduledTime in interface SchedulingPolicy
        Parameters:
        time - relative moment in time
        Returns:
        java time for next event or -1 if there would be no more events