T - generic type of current timepublic interface TimeSource<T extends UnixTime>
Represents any kind of clock as source of current world time.
| Modifier and Type | Method and Description |
|---|---|
default Instant |
currentInstant()
Obtains the current instant.
|
T |
currentTime()
Yields the current time.
|
Copyright © 2014–2021. All rights reserved.