public final class NanoClock extends Object implements ApiClock, Serializable
| Modifier and Type | Method and Description |
|---|---|
static ApiClock |
getDefaultClock() |
long |
millisTime()
Returns the current value of this clock's high-resolution time source, in milliseconds.
|
long |
nanoTime()
Returns the current value of this clock's high-resolution time source, in nanoseconds.
|
public static ApiClock getDefaultClock()
public final long nanoTime()
ApiClockpublic final long millisTime()
ApiClockmillisTime in interface ApiClock