Class TimeOfDaySchedule.ScheduledTime

java.lang.Object
com.inductiveautomation.ignition.common.util.TimeOfDaySchedule.ScheduledTime
Enclosing class:
TimeOfDaySchedule

public static class TimeOfDaySchedule.ScheduledTime extends Object
This class provides information about the specific absolute time to run, but also the symbolic time of day, and the id of the event that was used to generate it.
  • Constructor Details

    • ScheduledTime

      protected ScheduledTime(int id, Date absoluteDate, long timeOfDay)
  • Method Details

    • getId

      public int getId()
      Returns an id for the time, in order to be able to distinguish different time events. The id will be the same for each time of day event, for any absolute time. In other words, a "9am" time event would have the same id each day.
    • getAbsoluteDate

      public Date getAbsoluteDate()
      Returns the time as an absolute java date.
    • getTimeOfDay

      public long getTimeOfDay()
      Returns the value as the time of day, milliseconds between [0-24) hours.