com.atlassian.pageobjects.elements.query.util
Class SystemClock

java.lang.Object
  extended by com.atlassian.pageobjects.elements.query.util.SystemClock
All Implemented Interfaces:
Clock

public final class SystemClock
extends Object
implements Clock

Real-world clock returning system time.


Field Summary
static SystemClock INSTANCE
           
 
Constructor Summary
SystemClock()
           
 
Method Summary
 long currentTime()
          Current time according to this clock.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final SystemClock INSTANCE
Constructor Detail

SystemClock

public SystemClock()
Method Detail

currentTime

public long currentTime()
Description copied from interface: Clock
Current time according to this clock.

Specified by:
currentTime in interface Clock
Returns:
current time


Copyright © 2014 Atlassian. All rights reserved.