|
|||||||||
| Home >> All >> org >> apache >> [ xmlbeans overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.xmlbeans
Interface XmlDateTime

- All Superinterfaces:
- XmlAnySimpleType, XmlObject, XmlTokenSource
- public interface XmlDateTime
- extends XmlAnySimpleType
Corresponds to the XML Schema xs:dateTime type.
Convertible to java.util.Calendar, java.util.Date, and GDate.
The XmlDateTime class only encapsulates a schema DateTime value, if you need to perform operations on dates, see the GDate class
| 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() 55 |
java.util.Date |
dateValue()
Deprecated. replaced with getDateValue() 55 |
GDate |
gDateValue()
Deprecated. replaced with getGDateValue() 55 |
java.util.Calendar |
getCalendarValue()
Returns this value as a java.util.Calendar |
java.util.Date |
getDateValue()
Returns this value as a java.util.Date |
GDate |
getGDateValue()
Returns this value as a GDate |
void |
set(java.util.Calendar c)
Deprecated. replaced with setCalendarValue(java.util.Calendar) 55 |
void |
set(java.util.Date d)
Deprecated. replaced with setDateValue(java.util.Date) 55 |
void |
set(GDateSpecification gd)
Deprecated. replaced with setGDateValue(org.apache.xmlbeans.GDate) 55 |
void |
setCalendarValue(java.util.Calendar c)
Sets this value as a java.util.Calendar |
void |
setDateValue(java.util.Date d)
Sets this value as a java.util.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, 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
public static final SchemaType type
- The constant SchemaType object representing this schema type.
| Method Detail |
calendarValue
public java.util.Calendar calendarValue()
- Deprecated. replaced with
getCalendarValue()55- Returns this value as a java.util.Calendar
- Returns this value as a java.util.Calendar
set
public void set(java.util.Calendar c)
- Deprecated. replaced with
setCalendarValue(java.util.Calendar)55- Sets this value as a java.util.Calendar
- Sets this value as a java.util.Calendar
gDateValue
public GDate gDateValue()
- Deprecated. replaced with
getGDateValue()55- Returns this value as a GDate
- Returns this value as a GDate
set
public void set(GDateSpecification gd)
- Deprecated. replaced with
setGDateValue(org.apache.xmlbeans.GDate)55- Sets this value as a GDateSpecification
- Sets this value as a GDateSpecification
dateValue
public java.util.Date dateValue()
- Deprecated. replaced with
getDateValue()55- Returns this value as a java.util.Date
- Returns this value as a java.util.Date
set
public void set(java.util.Date d)
- Deprecated. replaced with
setDateValue(java.util.Date)55- Sets this value as a java.util.Date
- Sets this value as a java.util.Date
getCalendarValue
public java.util.Calendar getCalendarValue()
- Returns this value as a java.util.Calendar
setCalendarValue
public void setCalendarValue(java.util.Calendar c)
- Sets this value as a java.util.Calendar
getGDateValue
public GDate getGDateValue()
- Returns this value as a GDate
setGDateValue
public void setGDateValue(GDate gd)
- Sets this value as a GDateSpecification
getDateValue
public java.util.Date getDateValue()
- Returns this value as a java.util.Date
setDateValue
public void setDateValue(java.util.Date d)
- Sets this value as a java.util.Date
|
|||||||||
| Home >> All >> org >> apache >> [ xmlbeans overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC