|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.timeindexing.time.Clock
A simple wall clock class.
Field Summary | |
static Clock |
time
A publically usable clock that tells the time. |
Constructor Summary | |
Clock()
|
Method Summary | |
Timestamp |
asMicros()
Get the current time resolved to microseconds. |
Timestamp |
asMillis()
Get the current time resolved to milliseconds. |
Timestamp |
asNanos()
Get the current time resolved to nanoseconds. |
Timestamp |
asSeconds()
Get the current time resolved to seconds. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final Clock time
Constructor Detail |
public Clock()
Method Detail |
public Timestamp asSeconds()
public Timestamp asMillis()
public Timestamp asMicros()
public Timestamp asNanos()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |