public interface MonotonicClockTranslation
Modifier and Type | Method and Description |
---|---|
long |
error()
Nanoseconds of probable error in the translation
|
long |
fromMillisSinceEpoch(long currentTimeMillis)
accepts millis since epoch, returns nanoTime in the related clock
|
long |
toMillisSinceEpoch(long nanoTime)
accepts nanoTime in the related MonotinicClock, returns millis since epoch
|
long fromMillisSinceEpoch(long currentTimeMillis)
long toMillisSinceEpoch(long nanoTime)
long error()
Copyright © 2009- The Apache Software Foundation