| Constructor and Description |
|---|
SystemClock() |
| 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).
|
public long getRealTimeMillis()
ClockgetRealTimeMillis in interface Clockpublic long getMonotonicTimeNanos()
ClockgetMonotonicTimeNanos in interface ClockCopyright © 2013. All Rights Reserved.