You will be redirected to our new website in 5 seconds...
If you are not automatically taken to our new web site,
please click on the hyperlink :
http://jodd.org
Jodd
build: 309
updated: Jun 17 2008
 

SourceForge.net Logo

freebsd  Support this project

home Home | download | home Contact | SourceForge | File Releases releases | News news |  
JStopWatch

JStopWatch is a nice timer class for measuring elapsed times. It supports starting, stopping and resuming. However, it can be used for more complicated time measuring, since it supports laps.

JStopWatch stopWatch = new JStopWatch();
stopWatch.start();
...
stopWatch.lap();
...
stopWatch.stop();
System.out.println(stopWatch);