public class TimeKeeper
extends java.lang.Object
| Constructor and Description |
|---|
TimeKeeper() |
| Modifier and Type | Method and Description |
|---|---|
long |
getCurrentTimeMillis()
Get the current time in milliseconds.
|
void |
timeTravel(long addTime)
Throws a RuntimeException by default.
|
public long getCurrentTimeMillis()
public void timeTravel(long addTime)
addTime - The amount of time to travel by.