public class Timer extends Object
| Constructor and Description |
|---|
Timer() |
| Modifier and Type | Method and Description |
|---|---|
long |
nanos() |
String |
startAsShortString()
return the start time of this timer.
|
String |
startAsString()
return the start time of this timer.
|
long |
time()
Return the difference between when the timer was created and the current time.
|
String |
toString()
Return the difference between when the timer was created and the current time as a
string along with the time of creation in date format.
|
public long time()
public long nanos()
public String toString()
public String startAsString()
public String startAsShortString()
Copyright © 2013–2014 0xdata. All rights reserved.