Class Timer
java.lang.Object
org.antublue.test.engine.internal.util.Timer
Class to implement a Timer
-
Constructor Details
-
Timer
public Timer()Constructor (autostarted) -
Timer
public Timer(boolean autoStart) Constructor- Parameters:
autoStart- autoStart
-
-
Method Details
-
start
Method to start the Timer- Returns:
- the return value
-
stop
Method to stop the Timer- Returns:
- the return value
-
elapsedTime
public long elapsedTime()Method to get the Timer's elapsed time- Returns:
- the return value
-