|
Oracle Fusion Middleware Java API Reference for Oracle BPM Suite 11g Release 1 (11.1.1.7.0) E25378-07 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.bpel.services.workflow.task.impl.Duration
public class Duration
Constructor Summary | |
---|---|
Duration(long l)
Creates a new Duration instance. |
|
Duration(java.lang.String str)
Creates a new Duration instance. |
Method Summary | |
---|---|
javax.xml.datatype.Duration |
getJavaxXMLDatatypeDuration()
Get this duration as a javax.xml.datatype.Duration object |
long |
toLong()
Convert a duration into a long representing the duration in milliseconds. |
java.lang.String |
toString()
Convert a duration into a String conforming to ISO8601 and XML Schema specs |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Duration(java.lang.String str) throws java.lang.IllegalArgumentException
Duration
instance.
str
- a String
value conforming to ISO8601 and XML Schema specs
java.lang.IllegalArgumentException
- if an error occurspublic Duration(long l) throws java.lang.IllegalArgumentException
Duration
instance.
l
- a long
value representing the duration in milliseconds.
java.lang.IllegalArgumentException
- if an error occursMethod Detail |
---|
public long toLong()
public java.lang.String toString()
toString
in class java.lang.Object
public javax.xml.datatype.Duration getJavaxXMLDatatypeDuration()
javax.xml.datatype.Duration
value
|
Oracle Fusion Middleware Java API Reference for Oracle BPM Suite 11g Release 1 (11.1.1.7.0) E25378-07 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |