Class TimeWindowSet
- java.lang.Object
-
- cern.nxcals.api.backport.domain.core.TimeWindowSet
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Iterable<TimeWindow>
public class TimeWindowSet extends java.lang.Object implements java.lang.Iterable<TimeWindow>, java.io.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TimeWindowSet(LoggingTimeZone timeZone)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTimeWindow(TimeWindow timeWindow)
int
count()
TimeWindow
getTimeWindowAtIndex(int index)
java.util.Iterator<TimeWindow>
iterator()
void
removeAllTimeWindows()
void
removeTimeWindow(int idx)
void
removeTimeWindow(TimeWindow timeWindow)
-
-
-
Constructor Detail
-
TimeWindowSet
public TimeWindowSet(LoggingTimeZone timeZone)
-
-
Method Detail
-
addTimeWindow
public void addTimeWindow(TimeWindow timeWindow)
-
count
public int count()
-
getTimeWindowAtIndex
public TimeWindow getTimeWindowAtIndex(int index)
-
iterator
public java.util.Iterator<TimeWindow> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<TimeWindow>
-
removeAllTimeWindows
public void removeAllTimeWindows()
-
removeTimeWindow
public void removeTimeWindow(int idx)
-
removeTimeWindow
public void removeTimeWindow(TimeWindow timeWindow)
-
-