com.quadrique.jbuildingblocks.core.time
Class JbbChronometer

java.lang.Object
  extended by com.quadrique.jbuildingblocks.core.time.JbbChronometer

public class JbbChronometer
extends Object

This class is used to perform time measurements and mimics the behavior of a chronometer.


Method Summary
 long GetElapsedTime()
          This method returns the elapsed time between the start() and stop() calls.
 long GetElapsedTimeInMilliseconds()
          This method returns the elapsed time in milliseconds between the start() and stop() calls.
static JbbChronometer newInstance()
           
 void start()
          This method starts the chronometer.
 void stop()
          This method stops the chronometer.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newInstance

public static JbbChronometer newInstance()

start

public void start()
This method starts the chronometer.


stop

public void stop()
This method stops the chronometer.


GetElapsedTime

public long GetElapsedTime()
This method returns the elapsed time between the start() and stop() calls.


GetElapsedTimeInMilliseconds

public long GetElapsedTimeInMilliseconds()
This method returns the elapsed time in milliseconds between the start() and stop() calls.



Copyright © 2001-2008 Quadrique Corporation. All Rights Reserved.