|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsystemic.sif.sbpframework.common.utils.Timer
public class Timer
Constructor Summary | |
---|---|
Timer()
|
Method Summary | |
---|---|
void |
finish()
Stops the timer |
long |
getFinishTime()
Returns the number of milliseconds since January 1, 1970, 00:00:00 GMT when finish() was called last. |
long |
getStartTime()
Returns the number of milliseconds since January 1, 1970, 00:00:00 GMT when start() was called last. |
void |
start()
Starts the timer |
long |
timeTaken()
Returns the number of milliseconds passed between the last call of start() and finish(). |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Timer()
Method Detail |
---|
public void start()
public void finish()
public long getStartTime()
public long getFinishTime()
public long timeTaken()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |