public abstract class Clock extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Clock.UserTimeClock
A clock implementation which returns the current millis.
|
| Constructor and Description |
|---|
Clock() |
| Modifier and Type | Method and Description |
|---|---|
static Clock |
defaultClock()
The default clock to use.
|
long |
duration(long startTick) |
abstract long |
getTick()
Returns the current time tick.
|
public abstract long getTick()
public long duration(long startTick)
public static Clock defaultClock()
Clock instanceClock.UserTimeClockCopyright © 2023. All rights reserved.