public class Countdown extends Iced<Countdown>
Constructor and Description |
---|
Countdown(long time_limit_millis) |
Countdown(long _time_limit_millis,
boolean start) |
Modifier and Type | Method and Description |
---|---|
long |
duration() |
long |
elapsedTime() |
boolean |
ended() |
static Countdown |
fromSeconds(double seconds) |
long |
remainingTime() |
void |
reset() |
boolean |
running() |
java.util.Date |
start_time() |
void |
start() |
java.util.Date |
stop_time() |
long |
stop() |
boolean |
timedOut() |
asBytes, clone, copyOver, frozenType, read, readExternal, readJSON, reloadFromBytes, toJsonString, write, writeExternal, writeJSON
public Countdown(long time_limit_millis)
public Countdown(long _time_limit_millis, boolean start)
public static Countdown fromSeconds(double seconds)
public java.util.Date start_time()
public java.util.Date stop_time()
public long duration()
public void start()
public boolean running()
public boolean ended()
public long stop()
public long elapsedTime()
public long remainingTime()
public void reset()
public boolean timedOut()