|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITimeRange
Interface for a time range. All time stamps a relative to 1 January 1970, in nanoseconds.
Field Summary | |
---|---|
static long |
INFINITE_DURATION
* Value that represents an infinite duration. |
static ITimeRange |
INFINITE_RANGE
A range starting at negative infinity and ending at positive infinity. |
static long |
NEGATIVE_INFINITY
Value that represents negative infinity |
static long |
POSITIVE_INFINITY
Value that represents positive infinity |
Method Summary | |
---|---|
long |
getDuration()
Returns the duration of this range. |
long |
getEndTimestamp()
Returns the end time of the range. |
long |
getStartTimestamp()
Returns the start time of range. |
Field Detail |
---|
static final long NEGATIVE_INFINITY
static final long POSITIVE_INFINITY
static final long INFINITE_DURATION
static final ITimeRange INFINITE_RANGE
Method Detail |
---|
long getStartTimestamp()
long getEndTimestamp()
long getDuration()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |