Home » xmlbeans-2.5.0-src » org.apache » xmlbeans » [javadoc | source]
org.apache.xmlbeans
public interface: XmlGYear [javadoc | source]

All Implemented Interfaces:
    XmlAnySimpleType

All Known Implementing Classes:
    XmlGYearImpl

Corresponds to the XML Schema xs:gYear type. A gYear specifies a Gregorian year (AD).

Convertible to Calendar , GDate , or an int.

Nested Class Summary:
public static final class  XmlGYear.Factory  A class with methods for creating instances of {@link XmlGYear}. 
Field Summary
public static final  SchemaType type    The constant SchemaType object representing this schema type. 
Method from org.apache.xmlbeans.XmlGYear Summary:
calendarValue,   gDateValue,   getCalendarValue,   getGDateValue,   getIntValue,   intValue,   set,   set,   set,   setCalendarValue,   setGDateValue,   setIntValue
Method from org.apache.xmlbeans.XmlGYear Detail:
 public Calendar calendarValue()Deprecated! replaced -  with #getCalendarValue 

 public GDate gDateValue()Deprecated! replaced -  with #getGDateValue 
     *

    Returns this value as a GDate
 public Calendar getCalendarValue()
 public GDate getGDateValue()
    Returns this value as a GDate
 public int getIntValue()
    Returns this value as an int from 1-31
 public int intValue()Deprecated! replaced -  with #getIntValue 
     *

    Returns this value as an int from 1-31
 public  void set(Calendar c)Deprecated! replaced -  with #setCalendarValue 

 public  void set(GDateSpecification gd)Deprecated! replaced -  with #setGDateValue 

 public  void set(int v)Deprecated! replaced -  with #setIntValue 
     *

    Sets this value as an int from 1-31
 public  void setCalendarValue(Calendar c)
 public  void setGDateValue(GDate gd)
 public  void setIntValue(int v)
    Sets this value as an int from 1-31