public interface Clock
Modifier and Type | Method and Description |
---|---|
long |
getMonotonicTimeNanos()
Returns a time value corresponding to a monotonic clock measuring time
in nanoseconds since some unspecified epoch.
|
long |
getRealTimeMillis()
Returns the current real time in milliseconds (measured since the UNIX epoch).
|
long getRealTimeMillis()
long getMonotonicTimeNanos()
Copyright © 2017. All rights reserved.