XmlDateTime Interface
- public interface XmlDateTime
extends XmlAnySimpleType
Corresponds to the XML Schema
xs:dateTime type.
Convertible to Calendar
, Date
, and GDate
.
Related Topics
XmlCalendar
GDate
-
All Superinterfaces
-
XmlAnySimpleType
, XmlObject
, XmlTokenSource
Methods from interface com.bea.xml.XmlObject |
changeType , compareTo , compareValue , copy , execQuery , execQuery , isImmutable , isNil , schemaType , selectPath , selectPath , set , setNil , toString , validate , validate , valueEquals , valueHashCode
|
Methods from interface com.bea.xml.XmlTokenSource |
documentProperties , monitor , newCursor , newDomNode , newDomNode , newInputStream , newInputStream , newReader , newReader , newXMLInputStream , newXMLInputStream , save , save , save , save , save , save , save , save , xmlText , xmlText
|
type
public static final SchemaType
type
- The constant
SchemaType
object representing this schema type.
calendarValue() Method
DEPRECATED replaced with com.bea.xml.XmlDateTime.getCalendarValue()
public Calendar
calendarValue()
Returns this value as a Calendar
dateValue() Method
DEPRECATED replaced with com.bea.xml.XmlDateTime.getDateValue()
public Date
dateValue()
Returns this value as a Date
gDateValue() Method
DEPRECATED replaced with com.bea.xml.XmlDateTime.getGDateValue()
public GDate
gDateValue()
Returns this value as a GDate
getCalendarValue() Method
public Calendar
getCalendarValue()
Returns this value as a Calendar
getDateValue() Method
public Date
getDateValue()
Returns this value as a Date
getGDateValue() Method
public GDate
getGDateValue()
Returns this value as a GDate
set(Calendar) Method
DEPRECATED replaced with com.bea.xml.XmlDateTime.setCalendarValue(java.util.Calendar)
public void set(Calendar
c)
Sets this value as a Calendar
set(GDateSpecification) Method
DEPRECATED replaced with com.bea.xml.XmlDateTime.setGDateValue(com.bea.xml.GDate)
public void set(GDateSpecification
gd)
Sets this value as a GDateSpecification
set(Date) Method
DEPRECATED replaced with com.bea.xml.XmlDateTime.setDateValue(java.util.Date)
public void set(Date
d)
Sets this value as a Date
setCalendarValue(Calendar) Method
public void setCalendarValue(Calendar
c)
Sets this value as a Calendar
setDateValue(Date) Method
public void setDateValue(Date
d)
Sets this value as a Date
setGDateValue(GDate) Method
public void setGDateValue(GDate
gd)
Sets this value as a GDateSpecification