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 longend()booleanisSingleEvent()longnextEvent(long symbolicTime)Single events only match when they're less than the symbolic time, not equal tolongstart()java.lang.StringtoString()
-
-
-
Method Detail
-
start
public long start()
- Specified by:
startin interfaceTimeOfDaySchedule.Timeframe
-
end
public long end()
- Specified by:
endin 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:
nextEventin interfaceTimeOfDaySchedule.Timeframe
-
isSingleEvent
public boolean isSingleEvent()
- Specified by:
isSingleEventin interfaceTimeOfDaySchedule.Timeframe
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-