watij.time
Class TimerImpl

java.lang.Object
  extended by watij.time.TimerImpl
All Implemented Interfaces:
Timer

public class TimerImpl
extends java.lang.Object
implements Timer


Constructor Summary
TimerImpl()
           
 
Method Summary
 long elapsed()
           
 boolean isElapsed(long millis)
           
 void outputElapsedTime(java.lang.String prefix, Output output)
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimerImpl

public TimerImpl()
Method Detail

start

public void start()
Specified by:
start in interface Timer

elapsed

public long elapsed()
Specified by:
elapsed in interface Timer

isElapsed

public boolean isElapsed(long millis)
Specified by:
isElapsed in interface Timer

outputElapsedTime

public void outputElapsedTime(java.lang.String prefix,
                              Output output)
Specified by:
outputElapsedTime in interface Timer