| Package | Description |
|---|---|
| net.time4j.clock |
Contains miscellaneous clock implementations.
|
| Modifier and Type | Method and Description |
|---|---|
static AdjustableClock |
AdjustableClock.of(TimeSource<?> source)
Creates a new adjustable clock for given time source.
|
static AdjustableClock |
AdjustableClock.ofSystem()
Yields an adjustable clock around the standard system clock.
|
AdjustableClock |
AdjustableClock.withOffset(int offset,
TimeUnit unit)
Creates an adjusted clock which displays the current time with
given time shift.
|
AdjustableClock |
AdjustableClock.withPulse(TimeUnit pulse)
Creates a pulsed clock which only displays the current time in
given pulse unit.
|
Copyright © 2014–2016. All rights reserved.