Package com.spun.util.timers
Class LapTime
java.lang.Object
com.spun.util.timers.LapTime
public class LapTime extends Object
A Utility for timing things. this is multi-thread safe.
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description StringgetLabel()longgetLapTime()DateDifferencegetLapTimeAsDateDifference()static LapTime[]toArray(ArrayList<LapTime> ArrayListOf)A convenience function to turn a ArrayList of LapTime objects into an Array of the LapTime objects.StringtoString()
-
Constructor Details
-
LapTime
-
-
Method Details
-
getLapTime
public long getLapTime() -
getLabel
-
getLapTimeAsDateDifference
-
toArray
A convenience function to turn a ArrayList of LapTime objects into an Array of the LapTime objects.- Parameters:
ArrayListOf- a ArrayList of LapTime objects- Returns:
- the array of LapTime.
- Throws:
Error- if an element of ArrayListOf is not a LapTime object.
-
toString
-