Package org.apache.xmlbeans
Interface XmlDateTime
-
- All Superinterfaces:
XmlAnySimpleType,XmlObject,XmlTokenSource
- All Known Subinterfaces:
STDateTime
- All Known Implementing Classes:
XmlDateTimeImpl
public interface XmlDateTime extends XmlAnySimpleType
Corresponds to the XML Schema xs:dateTime type.Convertible to
Calendar,Date, andGDate.The XmlDateTime class only encapsulates a schema DateTime value, if you need to perform operations on dates, see the GDate class
- See Also:
XmlCalendar,GDate,GDuration
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classXmlDateTime.FactoryA class with methods for creating instances ofXmlDateTime.
-
Field Summary
Fields Modifier and Type Field Description static SchemaTypetypeThe constantSchemaTypeobject representing this schema type.-
Fields inherited from interface org.apache.xmlbeans.XmlObject
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description CalendarcalendarValue()Deprecated.replaced withgetCalendarValue()DatedateValue()Deprecated.replaced withgetDateValue()GDategDateValue()Deprecated.replaced withgetGDateValue()CalendargetCalendarValue()Returns this value as aCalendarDategetDateValue()Returns this value as aDateGDategetGDateValue()Returns this value as aGDatevoidset(Calendar c)Deprecated.replaced withsetCalendarValue(java.util.Calendar)voidset(Date d)Deprecated.replaced withsetDateValue(java.util.Date)voidset(GDateSpecification gd)Deprecated.replaced withsetGDateValue(org.apache.xmlbeans.GDate)voidsetCalendarValue(Calendar c)Sets this value as aCalendarvoidsetDateValue(Date d)Sets this value as aDatevoidsetGDateValue(GDate gd)Sets this value as aGDateSpecification-
Methods inherited from interface org.apache.xmlbeans.XmlAnySimpleType
getStringValue, set, setStringValue, stringValue
-
Methods inherited from interface org.apache.xmlbeans.XmlObject
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
-
Methods inherited from interface org.apache.xmlbeans.XmlTokenSource
documentProperties, dump, getDomNode, monitor, newCursor, newDomNode, newDomNode, newInputStream, newInputStream, newReader, newReader, newXMLInputStream, newXMLInputStream, newXMLStreamReader, newXMLStreamReader, save, save, save, save, save, save, save, save, xmlText, xmlText
-
-
-
-
Field Detail
-
type
static final SchemaType type
The constantSchemaTypeobject representing this schema type.
-
-
Method Detail
-
calendarValue
Calendar calendarValue()
Deprecated.replaced withgetCalendarValue()Returns this value as aCalendar
-
set
void set(Calendar c)
Deprecated.replaced withsetCalendarValue(java.util.Calendar)Sets this value as aCalendar
-
gDateValue
GDate gDateValue()
Deprecated.replaced withgetGDateValue()Returns this value as aGDate
-
set
void set(GDateSpecification gd)
Deprecated.replaced withsetGDateValue(org.apache.xmlbeans.GDate)Sets this value as aGDateSpecification
-
dateValue
Date dateValue()
Deprecated.replaced withgetDateValue()Returns this value as aDate
-
set
void set(Date d)
Deprecated.replaced withsetDateValue(java.util.Date)Sets this value as aDate
-
setGDateValue
void setGDateValue(GDate gd)
Sets this value as aGDateSpecification
-
-