|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.timeindexing.time.ElapsedMicrosecondTimestamp
A timestamp that only has significant data down to microsecond level.
| Field Summary |
| Fields inherited from interface com.timeindexing.time.Timestamp |
ELAPSED_MICROSECOND, ELAPSED_MICROSECOND_SIGN, ELAPSED_MILLISECOND, ELAPSED_MILLISECOND_SIGN, ELAPSED_NANOSECOND, ELAPSED_NANOSECOND_SIGN, ELAPSED_SECOND, ELAPSED_SECOND_SIGN, ELAPSED_UNITS, ELAPSED_UNITS_SIGN, EXTENDED, EXTENDED_2, EXTENDED_3, EXTENDED_4, MICROSECOND, MICROSECOND_SIGN, MILLISECOND, MILLISECOND_SIGN, NANOSECOND, NANOSECOND_SIGN, SECOND, SECOND_SIGN, SPARE_3E, SPARE_3E_SIGN, SPARE_FD, SPARE_FD_SIGN, SPARE_FE, SPARE_FE_SIGN, TOP_2_MASK, TOP_4_MASK, TOP_6_MASK, TOP_8_MASK, ZERO |
| Fields inherited from interface com.timeindexing.time.MicrosecondScale |
SCALE |
| Constructor Summary | |
ElapsedMicrosecondTimestamp()
Construct a ElapsedMicrosecondTimestamp with 'now' as the timestamp. |
|
ElapsedMicrosecondTimestamp(long valueTS)
Construct a ElapsedMicrosecondTimestamp from a number of microseconds. |
|
ElapsedMicrosecondTimestamp(long seconds,
int nanoseconds)
Construct a ElapsedMicrosecondTimestamp from a number of seconds and a number of nanoseconds. |
|
ElapsedMicrosecondTimestamp(Microsecond timeSpecifier)
Construct a ElapsedMicrosecondTimestamp from a Microsecond TimeSpecifier. |
|
| Method Summary | |
int |
getNanoSeconds()
Get the number of nanoseconds for this timestamp |
Scale |
getScale()
Get the Scale. |
long |
getSeconds()
Get the number of seconds |
boolean |
isNegative()
Is the Timestamp negative. |
java.lang.String |
toString()
Get the toString() version of a MicrosecondTimestamp. |
long |
value()
Get the raw value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public ElapsedMicrosecondTimestamp()
public ElapsedMicrosecondTimestamp(long valueTS)
public ElapsedMicrosecondTimestamp(Microsecond timeSpecifier)
public ElapsedMicrosecondTimestamp(long seconds,
int nanoseconds)
| Method Detail |
public long getSeconds()
getSeconds in interface Timestamppublic int getNanoSeconds()
getNanoSeconds in interface Timestamppublic Scale getScale()
getScale in interface Timestamppublic java.lang.String toString()
public long value()
value in interface Valuepublic boolean isNegative()
isNegative in interface RelativeTimestamp
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||