Methods
getZone
- getZone(): ZoneId
instant
- instant(): Instant
millis
- millis(): number
Returns number
withZone
- withZone(zone): Clock
Static
fixed
- fixed(fixedInstant, zone): Clock
Static
offset
- offset(baseClock, offsetDuration): Clock
Static
system
- system(zone): Clock
Static
systemDefaultZone
- systemDefaultZone(): Clock
Static
systemUTC
- systemUTC(): Clock
Static
tick
- tick(baseClock, tickDuration): Clock
Static
tickMillis
- tickMillis(zone): Clock
Static
tickMinutes
- tickMinutes(zone): Clock
Static
tickSeconds
- tickSeconds(zone): Clock
A clock providing access to the current instant, date and time using a time-zone.
See java.time.Clock for full documentation