|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jbpm.calendar.Duration
public class Duration
interpretes textual descriptions of a duration.
Syntax: <quantity> [business] <unit>
Where
Double.parseDouble(quantity)
.
business
means that
only business hours should be taken into account for this duration.
Constructor Summary | |
---|---|
Duration(Duration duration)
|
|
Duration(long milliseconds)
|
|
Duration(java.lang.String duration)
creates a duration from a textual description. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Duration(long milliseconds)
public Duration(Duration duration)
public Duration(java.lang.String duration)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |