|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.odftoolkit.odfdom.type.TimeOrDateTime
public class TimeOrDateTime
This class represents the in OpenDocument format used data type
| Constructor Summary | |
|---|---|
TimeOrDateTime(javax.xml.datatype.XMLGregorianCalendar timeOrDateTime)
Construct an newly TimeOrDateTime object that represents the specified XMLGregorianCalendar value |
|
| Method Summary | |
|---|---|
javax.xml.datatype.XMLGregorianCalendar |
getXMLGregorianCalendar()
Returns the value of this TimeOrDateTime object as an XMLGregorianCalendar |
static boolean |
isValid(javax.xml.datatype.XMLGregorianCalendar timeOrDateTime)
check if the specified XMLGregorianCalendar instance is a valid data type |
java.lang.String |
toString()
Returns a String Object representing this TimeOrDateTime value |
static TimeOrDateTime |
valueOf(java.lang.String stringValue)
Returns a TimeOrDateTime instance representing the specified String value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TimeOrDateTime(javax.xml.datatype.XMLGregorianCalendar timeOrDateTime)
throws java.lang.IllegalArgumentException
timeOrDateTime - the value to be represented by the TimeOrDateTime Object
java.lang.IllegalArgumentException - if the given argument is not a valid TimeOrDateTime| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Object
public static TimeOrDateTime valueOf(java.lang.String stringValue)
throws java.lang.IllegalArgumentException
stringValue - a String value
java.lang.IllegalArgumentException - if the given argument is not a valid TimeOrDateTimepublic javax.xml.datatype.XMLGregorianCalendar getXMLGregorianCalendar()
public static boolean isValid(javax.xml.datatype.XMLGregorianCalendar timeOrDateTime)
timeOrDateTime - the value to be tested
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||