|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XmlDateTime
Corresponds to the XML Schema xs:dateTime type.
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
Nested Class Summary | |
---|---|
static class |
XmlDateTime.Factory
A class with methods for creating instances of XmlDateTime . |
Field Summary | |
---|---|
static SchemaType |
type
The constant SchemaType object representing this schema type. |
Fields inherited from interface org.apache.xmlbeans.XmlObject |
---|
EQUAL, GREATER_THAN, LESS_THAN, NOT_EQUAL |
Method Summary | |
---|---|
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 |
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 |
---|
static final SchemaType type
SchemaType
object representing this schema type.
Method Detail |
---|
java.util.Calendar calendarValue()
getCalendarValue()
Calendar
void set(java.util.Calendar c)
setCalendarValue(java.util.Calendar)
Calendar
GDate gDateValue()
getGDateValue()
GDate
void set(GDateSpecification gd)
setGDateValue(org.apache.xmlbeans.GDate)
GDateSpecification
java.util.Date dateValue()
getDateValue()
Date
void set(java.util.Date d)
setDateValue(java.util.Date)
Date
java.util.Calendar getCalendarValue()
Calendar
void setCalendarValue(java.util.Calendar c)
Calendar
GDate getGDateValue()
GDate
void setGDateValue(GDate gd)
GDateSpecification
java.util.Date getDateValue()
Date
void setDateValue(java.util.Date d)
Date
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |