public class Timer extends Object
Constructor and Description |
---|
Timer() |
Modifier and Type | Method and Description |
---|---|
void |
start()
Starts the timer.
|
long |
stop()
Stops the timer and returns
NOW - startTime . |
Copyright © 2021. All rights reserved.