|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TimeInterval
Defines a TimeInterval, the period of time something is current.
Nested Class Summary | |
---|---|
static class |
TimeInterval.Comparison
Defines the set of relationships between two time intervals. |
Method Summary | |
---|---|
boolean |
current()
Returns true if the interval is current. |
boolean |
current(long time)
Returns true if the interval is current at the time specified. |
long |
duration()
Returns the duration of the interval in milliseconds. |
long |
startTime()
Returns the time that the interval starts in milliseconds. |
long |
stopTime()
Returns the time that the interval ends in milliseconds. |
Methods inherited from interface com.caucho.util.ComparableElement |
---|
compareTo, compareWith |
Methods inherited from interface java.util.Comparator |
---|
compare, equals |
Methods inherited from interface com.caucho.util.TimeIntervalEntry |
---|
getTimeInterval |
Method Detail |
---|
long startTime()
long stopTime()
long duration()
boolean current()
boolean current(long time)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |