Package | Description |
---|---|
org.threeten.extra |
Modifier and Type | Method | Description |
---|---|---|
static MutableClock |
MutableClock.epochUTC() |
Obtains a new
MutableClock set to the epoch of
1970-01-01T00:00:00Z, converting to date and time using the UTC
time-zone. |
static MutableClock |
MutableClock.of(java.time.Instant instant,
java.time.ZoneId zone) |
Obtains a new
MutableClock set to the specified instant,
converting to date and time using the specified time-zone. |
MutableClock |
MutableClock.withZone(java.time.ZoneId zone) |
Returns a
MutableClock that uses the specified time-zone and that
has shared updates with this clock. |
Copyright © 2010–2018 ThreeTen.org. All rights reserved.