| Package | Description |
|---|---|
| no.digipost.time |
| Modifier and Type | Method and Description |
|---|---|
static ControllableClock |
ControllableClock.control(Clock clock)
Create a controllable clock based on an existing clock.
|
static ControllableClock |
ControllableClock.freezedAt(Instant instant)
Create a new controllable clock freezed at a given instant,
and with the
default time zone. |
static ControllableClock |
ControllableClock.freezedAt(Instant instant,
ZoneId zone)
|
static ControllableClock |
ControllableClock.freezedAt(LocalDateTime dateTime)
Create a new controllable clock freezed at the instant resolved from a given
LocalDateTime and the default time zone. |
static ControllableClock |
ControllableClock.freezedAt(ZonedDateTime dateTime)
Create a new controllable clock freezed at the instant of a given
ZonedDateTime. |
ControllableClock |
ControllableClock.withZone(ZoneId zone) |
Copyright © 2019 Digipost. All rights reserved.