Class TimeOfDaySchedule.SymbolicTime
- java.lang.Object
-
- com.inductiveautomation.ignition.common.util.TimeOfDaySchedule.SymbolicTime
-
- All Implemented Interfaces:
TimeOfDaySchedule.Timeframe
- Enclosing class:
- TimeOfDaySchedule
protected static class TimeOfDaySchedule.SymbolicTime extends java.lang.Object implements TimeOfDaySchedule.Timeframe
-
-
Constructor Summary
Constructors Constructor Description SymbolicTime(int hour)
SymbolicTime(int hour, int minute)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
end()
boolean
isSingleEvent()
long
nextEvent(long symbolicTime)
Single events only match when they're less than the symbolic time, not equal tolong
start()
java.lang.String
toString()
-
-
-
Method Detail
-
start
public long start()
- Specified by:
start
in interfaceTimeOfDaySchedule.Timeframe
-
end
public long end()
- Specified by:
end
in interfaceTimeOfDaySchedule.Timeframe
-
nextEvent
public long nextEvent(long symbolicTime)
Single events only match when they're less than the symbolic time, not equal to- Specified by:
nextEvent
in interfaceTimeOfDaySchedule.Timeframe
-
isSingleEvent
public boolean isSingleEvent()
- Specified by:
isSingleEvent
in interfaceTimeOfDaySchedule.Timeframe
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-