|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.openrdf.util.xml.datatypes.DateTime
This class provides utility functions for comparisons operating on
xml:dateTime datatypes as specified in
W3C, XML Schema Part 2:
Datatypes Second Edition
| Constructor Summary | |
DateTime(String dateTimeString)
Creates a new DateTime object for the supplied xsd:dateTime string value. |
|
| Method Summary | |
Object |
clone()
|
int |
compareTo(Object other)
Compares this DateTime object to another DateTime object. |
boolean |
isNormalized()
Checks whether this object has already been normalized. |
void |
normalize()
Normalizes this dateTime object. |
String |
toString()
Returns the xsd:dateTime string-representation of this object. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DateTime(String dateTimeString)
dateTimeString - An xsd:dateTime value, for example
1999-05-31T13:20:00-05:00.| Method Detail |
public boolean isNormalized()
public void normalize()
public String toString()
public int compareTo(Object other)
compareTo in interface ComparableClassCastException - If other is not a DateTime object.public Object clone()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||