public class Timer
extends java.lang.Object
Constructor and Description |
---|
Timer() |
Modifier and Type | Method and Description |
---|---|
long |
getElapsed() |
double |
getProgress() |
long |
getRemaining(double progress) |
java.util.Date |
getStart() |
java.util.Date |
getStop() |
void |
setProgress(double progress) |
void |
start() |
void |
stop() |
public long getElapsed()
public long getRemaining(double progress)
public double getProgress()
public void setProgress(double progress)
public void start()
public java.util.Date getStart()
public void stop()
public java.util.Date getStop()