public interface PreciseClock extends Clock
Clockinterface that is able to provide more accurate time information than milliseconds since the epoch.
PreciseClockimplementations 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|
Initializes the specified instant with time information as accurate as available on this platform.
void init(MutableInstant mutableInstant)
mutableInstant- the container to be initialized with the accurate time information
Copyright © 1999-2021 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.