public interface PreciseClock extends Clock
Clock
interface that is able to provide more accurate time information than milliseconds
since the epoch. PreciseClock
implementations are free to return millisecond-precision time
if that is the most accurate time information available on this platform.Modifier and Type | Method and Description |
---|---|
void |
init(MutableInstant mutableInstant)
Initializes the specified instant with time information as accurate as available on this platform.
|
currentTimeMillis
void init(MutableInstant mutableInstant)
mutableInstant
- the container to be initialized with the accurate time information