public final class FixedClock extends AbstractClock
Represents a fixed clock which always display the same current time.
| Modifier and Type | Method and Description |
|---|---|
Moment |
currentTime() |
boolean |
equals(Object obj) |
int |
hashCode() |
static FixedClock |
of(UnixTime ut)
Creates a new fixed clock.
|
String |
toString()
For debugging purposes.
|
inLocalView, inPlatformView, inZonalView, inZonalViewpublic static FixedClock of(UnixTime ut)
Creates a new fixed clock.
ut - fixed clock timepublic Moment currentTime()
Copyright © 2014–2016. All rights reserved.