|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Timestamp
A timestamp. This goes down to nanoseconds for tasks that might need it. The Java runtime currently goes down to milliseconds, but this doesn't mean the underlying format should not have more resolution.
| Field Summary | |
|---|---|
static long |
ELAPSED_MICROSECOND
Elapsed microseconds. |
static long |
ELAPSED_MICROSECOND_SIGN
Elapsed microsecond sign bit. |
static long |
ELAPSED_MILLISECOND
Elapsed milliseconds. |
static long |
ELAPSED_MILLISECOND_SIGN
Elapsed millisecond sign bit. |
static long |
ELAPSED_NANOSECOND
Elapsed nano seconds B = 111100. |
static long |
ELAPSED_NANOSECOND_SIGN
Elapsed nanosecond sign bit. |
static long |
ELAPSED_SECOND
Elapsed second B = 111101. |
static long |
ELAPSED_SECOND_SIGN
Elapsed second sign bit. |
static long |
ELAPSED_UNITS
Elapsed Units B = 11111100. |
static long |
ELAPSED_UNITS_SIGN
Elapsed units sign bit. |
static long |
EXTENDED
Extened timestamp. |
static long |
EXTENDED_2
Extened timestamp. |
static long |
EXTENDED_3
Extened timestamp. |
static long |
EXTENDED_4
Extened timestamp. |
static long |
MICROSECOND
Microseconds since epoch. |
static long |
MICROSECOND_SIGN
Microsecond sign bit. |
static long |
MILLISECOND
Milliseconds since epoch. |
static long |
MILLISECOND_SIGN
Millisecond sign bit. |
static long |
NANOSECOND
Nanoseconds since epoch. |
static long |
NANOSECOND_SIGN
Nanosecond sign bit. |
static long |
SECOND
Seconds since epoch. |
static long |
SECOND_SIGN
Second sign bit. |
static long |
SPARE_3E
Spare B = 111110. |
static long |
SPARE_3E_SIGN
Spare 3E sign bit. |
static long |
SPARE_FD
Spare B = 11111101. |
static long |
SPARE_FD_SIGN
Spare FD sign bit. |
static long |
SPARE_FE
Spare B = 11111110. |
static long |
SPARE_FE_SIGN
Spare FE sign bit. |
static long |
TOP_2_MASK
Mask for top 2 bits B = 11. |
static long |
TOP_4_MASK
Mask for top 4 bits B = 1111. |
static long |
TOP_6_MASK
Mask for top 6 bits B = 111111. |
static long |
TOP_8_MASK
Mask for top 8 bits B = 11111111. |
static Timestamp |
ZERO
A timestamp of ZERO; |
| Method Summary | |
|---|---|
int |
getNanoSeconds()
Get the number of nanoseconds |
Scale |
getScale()
Get the scale of a Timestamp. |
long |
getSeconds()
Get the number of seconds |
| Methods inherited from interface com.timeindexing.basic.Value |
|---|
value |
| Field Detail |
|---|
static final long MILLISECOND
static final long MILLISECOND_SIGN
static final long MICROSECOND
static final long MICROSECOND_SIGN
static final long NANOSECOND
static final long NANOSECOND_SIGN
static final long EXTENDED
static final long TOP_2_MASK
static final long ELAPSED_MILLISECOND
static final long ELAPSED_MILLISECOND_SIGN
static final long ELAPSED_MICROSECOND
static final long ELAPSED_MICROSECOND_SIGN
static final long SECOND
static final long SECOND_SIGN
static final long EXTENDED_2
static final long TOP_4_MASK
static final long ELAPSED_NANOSECOND
static final long ELAPSED_NANOSECOND_SIGN
static final long ELAPSED_SECOND
static final long ELAPSED_SECOND_SIGN
static final long SPARE_3E
static final long SPARE_3E_SIGN
static final long EXTENDED_3
static final long TOP_6_MASK
static final long ELAPSED_UNITS
static final long ELAPSED_UNITS_SIGN
static final long SPARE_FD
static final long SPARE_FD_SIGN
static final long SPARE_FE
static final long SPARE_FE_SIGN
static final long EXTENDED_4
static final long TOP_8_MASK
static final Timestamp ZERO
| Method Detail |
|---|
long getSeconds()
int getNanoSeconds()
Scale getScale()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||