public class StopWatch extends Object
| Constructor and Description |
|---|
StopWatch()
Initializes a new instance of the StopWatch class.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getElapsedTimeHour()
Elapsed time in hours.
|
long |
getElapsedTimeMili()
Elapsed time in milliseconds.
|
long |
getElapsedTimeMin()
Elapsed time in minutes.
|
long |
getElapsedTimeSecs()
Elapsed time in seconds.
|
void |
pause() |
void |
reStart() |
void |
resume() |
StopWatch |
stop() |
public void reStart()
public StopWatch stop()
public void pause()
public void resume()
public long getElapsedTimeMili()
public long getElapsedTimeSecs()
public long getElapsedTimeMin()
public long getElapsedTimeHour()
Copyright © 2019. All rights reserved.