| Modifier and Type | Class and Description |
|---|---|
| public static interface |
| Modifier and Type | Field and Description |
|---|---|
| private static volatile Time. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static long | Returns: a Unix timestampReturns a timestamp in milliseconds whose origin is at the Unix Epoch. |
| public static long | Returns: a time in nanosecondsReturns a timestamp in nanoseconds with an arbitrary origin suitable for timing purposes. |
| TIME_SOURCE | back to summary |
|---|---|
| private static volatile Time. | |
| Time | back to summary |
|---|---|
| private Time() | |
| absoluteTime | back to summary |
|---|---|
| public static long absoluteTime() Returns a timestamp in milliseconds whose origin is at the Unix Epoch.
This contract is non-coincidentally reminiscent of
| |
| time | back to summary |
|---|---|
| public static long time() Returns a timestamp in nanoseconds with an arbitrary origin suitable for timing purposes.
This contract is non-coincidentally reminiscent of
| |
| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public long |
| absoluteTime | back to summary |
|---|---|
| public long absoluteTime() | |
| time | back to summary |
|---|---|
| public long time() | |