|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.workflow.definer.TimeToElapse
public class TimeToElapse
Models elapsed time in workflows.
Supported API: true
Extendable: false
| Constructor Summary | |
|---|---|
TimeToElapse(long duration)
Constructs a TimeToElapse object from the time given
in milliseconds. |
|
| Method Summary | |
|---|---|
long |
getTimeToElapse()
Retrieves the time to elapse in milliseconds. |
long |
longValue()
Retrieves the time to elapse in milliseconds. |
void |
setTimeToElapse(int days)
Sets the time to elapse given the number of days. |
void |
setTimeToElapse(int days,
int hours,
int minutes,
int seconds)
Sets the time to elapse given the number of days, hours, minutes and seconds. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TimeToElapse(long duration)
TimeToElapse object from the time given
in milliseconds.
duration - | Method Detail |
|---|
public void setTimeToElapse(int days,
int hours,
int minutes,
int seconds)
days - hours - minutes - seconds - public void setTimeToElapse(int days)
days - public long getTimeToElapse()
public long longValue()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||