Class Timeline.TimeOfDayParser
- java.lang.Object
-
- com.inductiveautomation.ignition.common.util.Timeline.BaseParser
-
- com.inductiveautomation.ignition.common.util.Timeline.TimeOfDayParser
-
- All Implemented Interfaces:
Timeline.TimelineParser
- Enclosing class:
- Timeline
protected static class Timeline.TimeOfDayParser extends Timeline.BaseParser
-
-
Field Summary
Fields Modifier and Type Field Description protected static long
END_OF_DAY
-
Constructor Summary
Constructors Modifier Constructor Description protected
TimeOfDayParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addToTimeline(Timeline tl, long start, long end)
protected Timeline
createTimeline()
protected long
parsePart(java.lang.String value)
Should parse the provided sub pattern and add it to the timeline.-
Methods inherited from class com.inductiveautomation.ignition.common.util.Timeline.BaseParser
parse
-
-
-
-
Field Detail
-
END_OF_DAY
protected static final long END_OF_DAY
- See Also:
- Constant Field Values
-
-
Method Detail
-
createTimeline
protected Timeline createTimeline()
- Specified by:
createTimeline
in classTimeline.BaseParser
-
addToTimeline
protected void addToTimeline(Timeline tl, long start, long end)
- Overrides:
addToTimeline
in classTimeline.BaseParser
-
parsePart
protected long parsePart(java.lang.String value) throws java.lang.Exception
Description copied from class:Timeline.BaseParser
Should parse the provided sub pattern and add it to the timeline. Should throw an exception if the pattern cannot be parsed for some reason.- Specified by:
parsePart
in classTimeline.BaseParser
- Throws:
java.lang.Exception
-
-