|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.aeonscope.lang.time.Chrono
public class Chrono
Records a duration of time including multiple stops and starts.
| Field Summary | |
|---|---|
static String |
DEFAULT_PATTERN
The default time pattern. |
| Constructor Summary | |
|---|---|
Chrono()
Constructs a new chrono. |
|
| Method Summary | |
|---|---|
String |
getFormattedTime()
The formatted time. |
long |
getTime()
The total duration of time that the chrono has been running. |
void |
reset()
Resets time duration to zero. |
void |
start()
Starts recording time. |
void |
stop()
Stops recording time. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_PATTERN
| Constructor Detail |
|---|
public Chrono()
| Method Detail |
|---|
public void reset()
public void start()
public void stop()
public long getTime()
public String getFormattedTime()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||