public class InternalSystemClock extends java.lang.Object implements SystemClock
Constructor and Description |
---|
InternalSystemClock() |
Modifier and Type | Method and Description |
---|---|
org.joda.time.DateTime |
getCurrentTime()
Find the current system time.
|
void |
pauseFor(long timeInMilliseconds)
Pause execution for the requested delay.
|
public void pauseFor(long timeInMilliseconds)
pauseFor
in interface SystemClock
public org.joda.time.DateTime getCurrentTime()
getCurrentTime
in interface SystemClock