| Modifier and Type | Method and Description |
|---|---|
| public long | |
| public long | Returns: wall time in millisecondsCurrent time expressed as milliseconds since the Unix epoch. |
| SYSTEM | back to summary |
|---|---|
| public static final Clock SYSTEM | |
| monotonicTime | back to summary |
|---|---|
| public long monotonicTime() Current monotonic time in nanoseconds. Should be used for measuring time. The value is not related to the wall time and is not subject to system clock changes.
| |
| wallTime | back to summary |
|---|---|
| public long wallTime() Current time expressed as milliseconds since the Unix epoch. Should not be used for measuring time, just for timestamps.
| |