|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openqa.selenium.support.ui.SystemClock
public class SystemClock
Constructor Summary | |
---|---|
SystemClock()
|
Method Summary | |
---|---|
boolean |
isNowBefore(long endInMillis)
Tests if a point in time occurs before the current time . |
long |
laterBy(long durationInMillis)
Computes a point of time in the future. |
long |
now()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SystemClock()
Method Detail |
---|
public long laterBy(long durationInMillis)
Clock
laterBy
in interface Clock
durationInMillis
- The point in the future, in milliseconds relative to the current time
.
public boolean isNowBefore(long endInMillis)
Clock
current time
.
isNowBefore
in interface Clock
endInMillis
- The timestamnp to check.
public long now()
now
in interface Clock
System.currentTimeMillis()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |