Gets the time-zone being used to create dates and times.
Gets the current instant of the clock.
Gets the current millisecond instant of the clock.
Static
fixedStatic
offsetStatic
systemStatic
systemObtains a clock that returns the current instant using the best available system clock, converting to date and time using the default time-zone.
Static
systemUTCObtains a clock that returns the current instant using the best available system clock, converting to date and time using the UTC time-zone.
Static
tickStatic
tickStatic
tickStatic
tick
A clock providing access to the current instant, date and time using a time-zone.
See java.time.Clock for full documentation