of

open fun of(instant: Instant, zone: ZoneId): MutableClock

Obtains a new MutableClock set to the specified instant, converting to date and time using the specified time-zone.

Return

a new MutableClock, not null

Parameters

instant

the initial value for the clock, not null

zone

the time-zone to use, not null