Constructor and Description |
---|
ManualClock() |
Modifier and Type | Method and Description |
---|---|
void |
addToTime(long timeToAdd) |
long |
currentTime() |
void |
setTime(long timeToSet) |
long |
time() |
long |
waitTillTime(long targetTime) |
public long time()
public long currentTime()
currentTime
in interface Clock
public void setTime(long timeToSet)
public void addToTime(long timeToAdd)
public long waitTillTime(long targetTime)
waitTillTime
in interface Clock