Package com.stardog.stark
Class XMLCalendar.Delegate
- java.lang.Object
-
- com.stardog.stark.XMLCalendar.Delegate
-
- All Implemented Interfaces:
XMLCalendar
- Enclosing interface:
- XMLCalendar
public static class XMLCalendar.Delegate extends java.lang.Object implements XMLCalendar
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.stardog.stark.XMLCalendar
XMLCalendar.Delegate
-
-
Constructor Summary
Constructors Constructor Description Delegate(javax.xml.datatype.XMLGregorianCalendar xc)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(XMLCalendar other)intgetDay()java.math.BigIntegergetEon()Returns the high order component for XML Schema 1.0 dateTime datatype field for year.java.math.BigDecimalgetFractionalSecond()intgetHour()intgetMillisecond()intgetMinute()intgetMonth()intgetSecond()intgetTimezone()intgetYear()java.lang.StringtoXMLFormat()javax.xml.datatype.XMLGregorianCalendarunwrap()Get underlying calendar object.
-
-
-
Method Detail
-
getEon
public java.math.BigInteger getEon()
Description copied from interface:XMLCalendarReturns the high order component for XML Schema 1.0 dateTime datatype field for year. Should always be null for inlined values- Specified by:
getEonin interfaceXMLCalendar- Returns:
- Null if this optional part of the year field is not defined.
- See Also:
XMLGregorianCalendar
-
getYear
public int getYear()
- Specified by:
getYearin interfaceXMLCalendar
-
getMonth
public int getMonth()
- Specified by:
getMonthin interfaceXMLCalendar
-
getDay
public int getDay()
- Specified by:
getDayin interfaceXMLCalendar
-
getHour
public int getHour()
- Specified by:
getHourin interfaceXMLCalendar
-
getMinute
public int getMinute()
- Specified by:
getMinutein interfaceXMLCalendar
-
getSecond
public int getSecond()
- Specified by:
getSecondin interfaceXMLCalendar
-
getMillisecond
public int getMillisecond()
- Specified by:
getMillisecondin interfaceXMLCalendar
-
getFractionalSecond
public java.math.BigDecimal getFractionalSecond()
- Specified by:
getFractionalSecondin interfaceXMLCalendar
-
getTimezone
public int getTimezone()
- Specified by:
getTimezonein interfaceXMLCalendar
-
toXMLFormat
public java.lang.String toXMLFormat()
- Specified by:
toXMLFormatin interfaceXMLCalendar
-
compare
public int compare(XMLCalendar other)
- Specified by:
comparein interfaceXMLCalendar- See Also:
XMLGregorianCalendar.compare(XMLGregorianCalendar)
-
unwrap
public javax.xml.datatype.XMLGregorianCalendar unwrap()
Description copied from interface:XMLCalendarGet underlying calendar object. Might be created lazily.- Specified by:
unwrapin interfaceXMLCalendar- Returns:
-
-