public class InternalSystemClock extends java.lang.Object implements SystemClock
Constructor and Description |
---|
InternalSystemClock() |
Modifier and Type | Method and Description |
---|---|
java.time.ZonedDateTime |
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 java.time.ZonedDateTime getCurrentTime()
getCurrentTime
in interface SystemClock