public class InternalSystemClock extends 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.
|
protected void |
sleepFor(long timeInMilliseconds) |
public void pauseFor(long timeInMilliseconds)
pauseFor in interface SystemClockprotected void sleepFor(long timeInMilliseconds)
throws InterruptedException
InterruptedExceptionpublic org.joda.time.DateTime getCurrentTime()
getCurrentTime in interface SystemClockCopyright © 2011-2013 Wakaleo Consulting. All Rights Reserved.