Class TimeOfDaySchedule.ScheduledTime
java.lang.Object
com.inductiveautomation.ignition.common.util.TimeOfDaySchedule.ScheduledTime
- Enclosing class:
- TimeOfDaySchedule
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the time as an absolute java date.int
getId()
Returns an id for the time, in order to be able to distinguish different time events.long
Returns the value as the time of day, milliseconds between [0-24) hours.
-
Constructor Details
-
ScheduledTime
-
-
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
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.
-