public class TimeSource
extends java.lang.Object
| Constructor and Description |
|---|
TimeSource() |
| Modifier and Type | Method and Description |
|---|---|
static long |
getNanoTime()
Return the current time in nanoseconds
|
static long |
getTime()
Return the current time in the platform's native time units.
|