public class NanosOffsetClock extends Object implements Clock
Clock that uses System.nanoTime() to track the progress of time.| Modifier and Type | Method and Description |
|---|---|
static NanosOffsetClock |
create() |
Instant |
now()
Returns the current time as an
Instant. |