public interface TimeSource
Modifier and Type | Field and Description |
---|---|
static long |
MICROS_PER_SEC |
static long |
MILLIS_PER_SEC |
static long |
NANOS_PER_SEC
Useful values for return by an implementation of
getConversionDivisor.
|
Modifier and Type | Method and Description |
---|---|
long |
getConversionDivisor()
Return a number used to divide source units to convert to
seconds.
|
long |
getTime()
Return time in source units
|
static final long NANOS_PER_SEC
static final long MICROS_PER_SEC
static final long MILLIS_PER_SEC