to String
Get the elapsed time of this stopwatch, formatted using %2dh:%02dm:%02ds:%04dms
.
The stopwatch must be started and stopped before calling this method, .getTime, or .getTime. If any of the aforementioned methods are called, but the stopwatch was not started and stopped yet first, an IllegalStateException will be thrown.
Return
The elapsed time of a stopwatch run, formatted using %2d:%02d:%02d
.
Author
Griefed
Throws
if the watch was not started.