Lap
class Lap
Stopwatch lap.
Properties
protected float | $started | Start time. | |
protected float | $stopped | Stop time. |
Methods
float
getStartTime()
Returns the lap start time.
float
getStopTime()
Returns the lap stop time.
bool
isRunning()
Returns TRUE if the lap is still running and FALSE if not.
float
stop()
Stops the lap and returns the elapsed time.
Details
at line 36
float
getStartTime()
Returns the lap start time.
at line 46
float
getStopTime()
Returns the lap stop time.
at line 56
bool
isRunning()
Returns TRUE if the lap is still running and FALSE if not.
at line 66
Lap
start()
Starts the lap.
at line 78
float
stop()
Stops the lap and returns the elapsed time.