XmlGYear Interface
- public interface XmlGYear
extends XmlAnySimpleType
Corresponds to the XML Schema
xs:gYear type.
A gYear specifies a Gregorian year (AD).
Convertible to Calendar
, GDate
, or an int.
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.XmlGYear.getCalendarValue()
public Calendar
calendarValue()
Returns this value as a Calendar
gDateValue() Method
DEPRECATED replaced with com.bea.xml.XmlGYear.getGDateValue()
public GDate
gDateValue()
Returns this value as a GDate
getCalendarValue() Method
public Calendar
getCalendarValue()
Returns this value as a Calendar
getGDateValue() Method
public GDate
getGDateValue()
Returns this value as a GDate
getIntValue() Method
public int getIntValue()
Returns this value as an int from 1-31
intValue() Method
DEPRECATED replaced with com.bea.xml.XmlGYear.getIntValue()
public int intValue()
Returns this value as an int from 1-31
set(Calendar) Method
DEPRECATED replaced with com.bea.xml.XmlGYear.setCalendarValue(java.util.Calendar)
public void set(Calendar
c)
Sets this value as a Calendar
set(GDateSpecification) Method
DEPRECATED replaced with com.bea.xml.XmlGYear.setGDateValue(com.bea.xml.GDate)
public void set(GDateSpecification
gd)
Sets this value as a GDateSpecification
set(int) Method
DEPRECATED replaced with com.bea.xml.XmlGYear.setIntValue(int)
public void set(int v)
Sets this value as an int from 1-31
setCalendarValue(Calendar) Method
public void setCalendarValue(Calendar
c)
Sets this value as a Calendar
setGDateValue(GDate) Method
public void setGDateValue(GDate
gd)
Sets this value as a GDateSpecification
setIntValue(int) Method
public void setIntValue(int v)
Sets this value as an int from 1-31