Class Timeline.BaseParser
java.lang.Object
com.inductiveautomation.ignition.common.util.Timeline.BaseParser
- All Implemented Interfaces:
Timeline.TimelineParser
- Direct Known Subclasses:
Timeline.CalandarParser
,Timeline.TimeOfDayParser
- Enclosing class:
- Timeline
protected abstract static class Timeline.BaseParser
extends Object
implements Timeline.TimelineParser
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addToTimeline
(Timeline tl, long start, long end) protected abstract Timeline
protected abstract long
Should parse the provided sub pattern and add it to the timeline.
-
Constructor Details
-
BaseParser
protected BaseParser()
-
-
Method Details
-
createTimeline
-
parse
- Specified by:
parse
in interfaceTimeline.TimelineParser
- Throws:
ParseException
-
parsePart
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.- Throws:
Exception
-
addToTimeline
-