|
||||||||||
| 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 ClockdurationInMillis - The point in the future, in milliseconds relative
to the current time.
public boolean isNowBefore(long endInMillis)
Clockcurrent time.
isNowBefore in interface ClockendInMillis - The timestamnp to check.
public long now()
now in interface ClockSystem.currentTimeMillis()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||