Interface XmlGYear

All Superinterfaces:
XmlAnySimpleType, XmlObject, XmlTokenSource
All Known Implementing Classes:
XmlGYearImpl

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.

See Also:
  • Field Details

  • Method Details

    • getCalendarValue

      Calendar getCalendarValue()
      Returns this value as a Calendar
    • setCalendarValue

      void setCalendarValue(Calendar c)
      Sets this value as a Calendar
    • getGDateValue

      GDate getGDateValue()
      Returns this value as a GDate
    • setGDateValue

      void setGDateValue(GDate gd)
      Sets this value as a GDateSpecification
    • getIntValue

      int getIntValue()
      Returns this value as an int from 1-31
    • setIntValue

      void setIntValue(int v)
      Sets this value as an int from 1-31