@BetaApi 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()
ApiClock
public final long millisTime()
ApiClock
millisTime
in interface ApiClock