opale.tools
Class Chronometer
java.lang.Object
|
+--opale.tools.Chronometer
- public class Chronometer
- extends java.lang.Object
The class Chronometer
permits to measure the time, with millisecond precision.
- Since:
- Opale-Tools 0.11
Method Summary |
static void |
main(java.lang.String[] arg)
|
static void |
resume()
Resume the timer, that is stopped by stop() . |
static void |
start()
Start the timer. |
static void |
stop()
Stop the timer. |
static long |
time()
Return the elapsed time in milliseconds. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Chronometer
public Chronometer()
start
public static void start()
- Start the timer.
stop
public static void stop()
- Stop the timer.
resume
public static void resume()
- Resume the timer, that is stopped by
stop()
.
time
public static long time()
- Return the elapsed time in milliseconds.
- Returns:
- int long, the time.
main
public static void main(java.lang.String[] arg)