public interface XmlDateTime extends XmlAnySimpleType
Convertible to Calendar, Date, and GDate.
The XmlDateTime class only encapsulates a schema DateTime value, if you need to perform operations on dates, see the GDate class
XmlCalendar,
GDate,
GDuration| Modifier and Type | Interface and Description |
|---|---|
static class |
XmlDateTime.Factory
A class with methods for creating instances
of
XmlDateTime. |
| Modifier and Type | Field and Description |
|---|---|
static SchemaType |
type
The constant
SchemaType object representing this schema type. |
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL| Modifier and Type | Method and Description |
|---|---|
java.util.Calendar |
calendarValue()
Deprecated.
replaced with
getCalendarValue() |
java.util.Date |
dateValue()
Deprecated.
replaced with
getDateValue() |
GDate |
gDateValue()
Deprecated.
replaced with
getGDateValue() |
java.util.Calendar |
getCalendarValue()
Returns this value as a
Calendar |
java.util.Date |
getDateValue()
Returns this value as a
Date |
GDate |
getGDateValue()
Returns this value as a
GDate |
void |
set(java.util.Calendar c)
Deprecated.
replaced with
setCalendarValue(java.util.Calendar) |
void |
set(java.util.Date d)
Deprecated.
replaced with
setDateValue(java.util.Date) |
void |
set(GDateSpecification gd)
Deprecated.
replaced with
setGDateValue(org.apache.xmlbeans.GDate) |
void |
setCalendarValue(java.util.Calendar c)
Sets this value as a
Calendar |
void |
setDateValue(java.util.Date d)
Sets this value as a
Date |
void |
setGDateValue(GDate gd)
Sets this value as a
GDateSpecification |
getStringValue, set, setStringValue, stringValuechangeType, compareTo, compareValue, copy, copy, execQuery, execQuery, isImmutable, isNil, schemaType, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, setNil, substitute, toString, validate, validate, valueEquals, valueHashCodedocumentProperties, dump, getDomNode, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, xmlText, xmlTextstatic final SchemaType type
SchemaType object representing this schema type.java.util.Calendar calendarValue()
getCalendarValue()Calendarvoid set(java.util.Calendar c)
setCalendarValue(java.util.Calendar)CalendarGDate gDateValue()
getGDateValue()GDatevoid set(GDateSpecification gd)
setGDateValue(org.apache.xmlbeans.GDate)GDateSpecificationjava.util.Date dateValue()
getDateValue()Datevoid set(java.util.Date d)
setDateValue(java.util.Date)Datejava.util.Calendar getCalendarValue()
Calendarvoid setCalendarValue(java.util.Calendar c)
Calendarvoid setGDateValue(GDate gd)
GDateSpecificationjava.util.Date getDateValue()
Datevoid setDateValue(java.util.Date d)
Date