Class TimelineSet
java.lang.Object
com.inductiveautomation.ignition.common.util.TimelineSet
- All Implemented Interfaces:
Serializable
This class is used to organize overlapping time events. The set contains multiple Timelines. Each timeline specifies
multiple time segments that can't overlap. Inside of a TimelinSet, multiple timelines can overlap. The class
provides multiple functions for determining coverage, hit count, next event, etc.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
hitCount
(long time) void
merge
(TimelineSet other) long
nextEvent
(long time)
-
Field Details
-
timelines
-
-
Constructor Details
-
TimelineSet
-
-
Method Details
-
merge
-
hitCount
public int hitCount(long time) -
nextEvent
public long nextEvent(long time)
-