Interface Schedule

  • All Implemented Interfaces:

    
    public interface Schedule
    
                        
    • Constructor Detail

    • Method Detail

      • timeMsUntilTargetTimeIntervalStart

         abstract Long timeMsUntilTargetTimeIntervalStart(LocalDateTime dateTime)
        Returns:

        non-positive value as an indication that given point of time is already covered by the current schedule; a positive value of milliseconds remaining for the closest time window defined by the current schedule

      • timeMsUntilTargetTimeIntervalStart

         abstract Long timeMsUntilTargetTimeIntervalStart(Long timeMillis)
        Returns:

        non-positive value as an indication that given point of time is already covered by the current schedule; a positive value of milliseconds remaining for the closest time window defined by the current schedule

      • timeMsUntilTargetTimeIntervalEnd

         abstract Long timeMsUntilTargetTimeIntervalEnd(LocalDateTime dateTime)
        Returns:

        non-positive value as an indication that given point of time is not within the current schedule; a positive value of milliseconds remaining until the target active time interval end

      • timeMsUntilTargetTimeIntervalEnd

         abstract Long timeMsUntilTargetTimeIntervalEnd(Long timeMillis)
        Returns:

        non-positive value as an indication that given point of time is not within the current schedule; a positive value of milliseconds remaining until the target active time interval end