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 SystemClock
protected void sleepFor(long timeInMilliseconds) throws InterruptedException
InterruptedException
public org.joda.time.DateTime getCurrentTime()
getCurrentTime
in interface SystemClock
Copyright © 2011–2014 Wakaleo Consulting. All rights reserved.