br.org.agilcoop.cursos.testes.unidade.timer
Class Timer
java.lang.Object
br.org.agilcoop.cursos.testes.unidade.timer.Timer
public class Timer
- extends java.lang.Object
|
Constructor Summary |
Timer()
|
Timer(int hours,
int minutes,
int seconds)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Timer
public Timer(int hours,
int minutes,
int seconds)
Timer
public Timer()
adjust
public void adjust(int hours,
int minutes,
int seconds)
metodoDaRefatoracao
public long metodoDaRefatoracao(int hours,
int minutes,
int seconds)
start
public void start()
pause
public void pause()
stop
public void stop()
total
public long total()
elapsed
public long elapsed()
elapsedFormatted
public java.lang.String elapsedFormatted()
totalFormatted
public java.lang.String totalFormatted()
timerDefaultFormat
public static java.lang.String timerDefaultFormat(int totalOfSeconds)
state
public Timer.TimerState state()
running
public boolean running()
stopped
public boolean stopped()
finished
public boolean finished()
addEvent
public void addEvent(Event event)
removeEvent
public void removeEvent(Event event)
Copyright © 2009. All Rights Reserved.