Uses of Class
net.time4j.clock.AdjustableClock
-
Uses of AdjustableClock in net.time4j.clock
Modifier and TypeMethodDescriptionstatic 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.withOffset(int offset, TimeUnit unit)
Creates an adjusted clock which displays the current time with given time shift.Creates a pulsed clock which only displays the current time in given pulse unit.