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 38
float
getStartTime()
Returns the lap start time.
at line 48
float
getStopTime()
Returns the lap stop time.
at line 58
bool
isRunning()
Returns TRUE if the lap is still running and FALSE if not.
at line 68
Lap
start()
Starts the lap.
at line 80
float
stop()
Stops the lap and returns the elapsed time.