ix.icore.domain
Class TimeWindow
java.lang.Object
ix.icore.domain.TimeWindow
- All Implemented Interfaces:
- java.io.Serializable
public class TimeWindow
- extends java.lang.Object
- implements java.io.Serializable
Represents a duration range. The min and max values are meant to be
Duration
s. However, they can be other objects, typically
variables, at other times. /\/ ...
- See Also:
- Serialized Form
Field Summary |
protected java.lang.Object |
max
|
protected java.lang.Object |
min
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
min
protected java.lang.Object min
max
protected java.lang.Object max
TimeWindow
public TimeWindow()
TimeWindow
public TimeWindow(java.lang.Object min,
java.lang.Object max)
TimeWindow
public TimeWindow(Duration min,
Duration max)
getMinDuration
public Duration getMinDuration()
getMaxDuration
public Duration getMaxDuration()
getMinMilliseconds
public long getMinMilliseconds()
getMaxMilliseconds
public long getMaxMilliseconds()
getMin
public java.lang.Object getMin()
setMin
public void setMin(java.lang.Object d)
getMax
public java.lang.Object getMax()
setMax
public void setMax(java.lang.Object d)
hasUnboundedMax
public boolean hasUnboundedMax()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object