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 |
---|---|
Calendar |
getCalendarValue()
Returns this value as a
Calendar |
Date |
getDateValue()
Returns this value as a
Date |
GDate |
getGDateValue()
Returns this value as a
GDate |
void |
setCalendarValue(Calendar c)
Sets this value as a
Calendar |
void |
setDateValue(Date d)
Sets this value as a
Date |
void |
setGDateValue(GDate gd)
Sets this value as a
GDateSpecification |
getStringValue, setStringValue
changeType, compareTo, compareValue, copy, copy, execQuery, execQuery, isImmutable, isNil, schemaType, selectAttribute, selectAttribute, selectAttributes, selectChildren, selectChildren, selectChildren, selectPath, selectPath, set, setNil, substitute, toString, validate, validate, valueEquals, valueHashCode
documentProperties, dump, getDomNode, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, xmlText, xmlText
static final SchemaType type
SchemaType
object representing this schema type.void setGDateValue(GDate gd)
GDateSpecification