io.selendroid.android.internal
Class AndroidSystemClock

java.lang.Object
  extended by io.selendroid.android.internal.AndroidSystemClock
All Implemented Interfaces:
Clock

public class AndroidSystemClock
extends Object
implements Clock


Constructor Summary
AndroidSystemClock()
           
 
Method Summary
 boolean isNowBefore(long endInMillis)
           
 long laterBy(long durationInMillis)
           
 long now()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AndroidSystemClock

public AndroidSystemClock()
Method Detail

now

public long now()
Specified by:
now in interface Clock

laterBy

public long laterBy(long durationInMillis)
Specified by:
laterBy in interface Clock

isNowBefore

public boolean isNowBefore(long endInMillis)
Specified by:
isNowBefore in interface Clock


Copyright © 2014. All rights reserved.