|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.odftoolkit.odfdom.type.Time
public class Time
This class represents the in OpenDocument format used data type time
| Constructor Summary | |
|---|---|
Time(XMLGregorianCalendar time)
Construct an newly Time object that represents the specified XMLGregorianCalendar value |
|
| Method Summary | |
|---|---|
XMLGregorianCalendar |
getXMLGregorianCalendar()
Returns the value of this Time object as an XMLGregorianCalendar |
static boolean |
isValid(XMLGregorianCalendar time)
check if the specified XMLGregorianCalendar instance is a valid time data type |
String |
toString()
Returns a String Object representing this Time value |
static Time |
valueOf(String stringValue)
Returns a Time 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 Time(XMLGregorianCalendar time)
throws IllegalArgumentException
time - the value to be represented by the Time Object
IllegalArgumentException - if the given argument is not a valid Time| Method Detail |
|---|
public String toString()
toString in class Object
public static Time valueOf(String stringValue)
throws IllegalArgumentException
stringValue - a String value
IllegalArgumentException - if the given argument is not a valid Timepublic XMLGregorianCalendar getXMLGregorianCalendar()
public static boolean isValid(XMLGregorianCalendar time)
time - the value to be tested
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||