Obtains a Clock from the current instant at the specified time zone from the best available system clock.
Obtains a Clock from the current instant at UTC from the best available system clock.
Obtains a Clock fixed to a specific instant
Obtains a Clock fixed to a specific instant, at a specific time zone
Obtains a Clock from the current instant at the system time zone from the best available system clock.
Factory object for obtaining instances of Clock.
The default no-argument
apply
method differs from the underlying library no-argument constructor in that it explicitly returns the UTC Zone Clock from the current system time. Useapply(ZoneId)
to specify an alternative zone, or Clock.systemZone to obtain a Clock from the current system time and zone.