Clock.withZone

Returns a copy of this clock with a different time-zone. !(p) A clock will typically obtain the current _instant and then convert that to a date or time using a time-zone. This method returns a clock with similar properties but using a different time-zone.

@param zone the time-zone to change to, not null @return a clock based on this clock with the specified time-zone, not null

class Clock
abstract
withZone

Meta