public interface ILcdTimeBounds
ILcdTimeBounds
object is an object representing a time interval.
It has a begin time, an end time and corresponding boundedness settings.
The boundedness of a time value defines if the time value is bounded, unbounded
or undefined. When the boundedness is set to ILcdTimeBounds.Boundedness.BOUNDED
, the time
value is bounded and the actual value defines the time. When the boundedness is set
to ILcdTimeBounds.Boundedness.UNBOUNDED
or ILcdTimeBounds.Boundedness.UNDEFINED
, the time value
is unbounded or undefined and the actual value is not defined.TLcdTimeBoundsUtil
Modifier and Type | Interface and Description |
---|---|
static class |
ILcdTimeBounds.Boundedness
Describes the boundedness of an object:
BOUNDED denotes that the object is bounded:
it has a time setting;
UNBOUNDED denotes that the object is unbounded:
it has always existed, or it will always exist;
UNDEFINED denotes that the object is undefined:
it has no time setting, or it is not (yet) initialized. |
Modifier and Type | Method and Description |
---|---|
long |
getBeginTime()
Returns the begin time of this
ILcdTimeBounds . |
ILcdTimeBounds.Boundedness |
getBeginTimeBoundedness()
Returns the boundedness of the begin time.
|
long |
getEndTime()
Returns the end time of this
ILcdTimeBounds . |
ILcdTimeBounds.Boundedness |
getEndTimeBoundedness()
Returns the boundedness of the end time.
|
ILcdTimeBounds.Boundedness getBeginTimeBoundedness()
ILcdTimeBounds.Boundedness getEndTimeBoundedness()
long getBeginTime()
ILcdTimeBounds
. The long value
is defined as in Date.getTime()
.
This method should only be called if the corresponding boundedness is ILcdTimeBounds.Boundedness.BOUNDED
. Otherwise, the return value of this method is undefined.ILcdTimeBounds
.long getEndTime()
ILcdTimeBounds
. The long value is
defined as in Date.getTime()
.
This method should only be called if the corresponding boundedness is ILcdTimeBounds.Boundedness.BOUNDED
. Otherwise, the return value of this method is undefined.ILcdTimeBounds
.