Interface XMLCalendar

  • All Known Implementing Classes:
    XMLCalendar.Delegate

    public interface XMLCalendar
    Read-only access interface to underlying calendar value
    See Also:
    XMLGregorianCalendar
    • Method Detail

      • getEon

        java.math.BigInteger getEon()
        Returns the high order component for XML Schema 1.0 dateTime datatype field for year. Should always be null for inlined values
        Returns:
        Null if this optional part of the year field is not defined.
        See Also:
        XMLGregorianCalendar
      • getYear

        int getYear()
      • getMonth

        int getMonth()
      • getDay

        int getDay()
      • getHour

        int getHour()
      • getMinute

        int getMinute()
      • getSecond

        int getSecond()
      • getMillisecond

        int getMillisecond()
      • getFractionalSecond

        java.math.BigDecimal getFractionalSecond()
      • getTimezone

        int getTimezone()
      • toXMLFormat

        java.lang.String toXMLFormat()
      • compare

        int compare​(XMLCalendar other)
        See Also:
        XMLGregorianCalendar.compare(XMLGregorianCalendar)
      • unwrap

        javax.xml.datatype.XMLGregorianCalendar unwrap()
        Get underlying calendar object. Might be created lazily.
        Returns: