Builder to construct an Indexable
for a stopwatch.
Constant Summary
String | PAUSED | |
String | STARTED | |
String | UNKNOWN |
Public Method Summary
StopwatchBuilder |
setElapsedTime(long elapsedTimeInMilliseconds)
Sets the total time accumulated when the stopwatch was last paused, in
milliseconds.
|
StopwatchBuilder | |
StopwatchBuilder | |
StopwatchBuilder |
Inherited Method Summary
Constants
public static final String PAUSED
Constant Value: "Paused"
public static final String STARTED
Constant Value: "Started"
public static final String UNKNOWN
Constant Value: "Unknown"
Public Methods
public StopwatchBuilder setElapsedTime (long elapsedTimeInMilliseconds)
Sets the total time accumulated when the stopwatch was last paused, in milliseconds.
public StopwatchBuilder setLaps (StopwatchLapBuilder... laps)
Sets the current laps, if any, associated with this stopwatch.
public StopwatchBuilder setStartTime (Calendar startTime)
Sets the time when the stopwatch last began running.