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 int
compare(XMLCalendar other)
int
getDay()
java.math.BigDecimal
getFractionalSecond()
int
getHour()
int
getMillisecond()
int
getMinute()
int
getMonth()
int
getSecond()
int
getTimezone()
int
getYear()
boolean
isInlined()
java.lang.String
toXMLFormat()
javax.xml.datatype.XMLGregorianCalendar
unwrap()
Get underlying calendar object.
-
-
-
Method Detail
-
getYear
public int getYear()
- Specified by:
getYear
in interfaceXMLCalendar
-
getMonth
public int getMonth()
- Specified by:
getMonth
in interfaceXMLCalendar
-
getDay
public int getDay()
- Specified by:
getDay
in interfaceXMLCalendar
-
getHour
public int getHour()
- Specified by:
getHour
in interfaceXMLCalendar
-
getMinute
public int getMinute()
- Specified by:
getMinute
in interfaceXMLCalendar
-
getSecond
public int getSecond()
- Specified by:
getSecond
in interfaceXMLCalendar
-
getMillisecond
public int getMillisecond()
- Specified by:
getMillisecond
in interfaceXMLCalendar
-
getFractionalSecond
public java.math.BigDecimal getFractionalSecond()
- Specified by:
getFractionalSecond
in interfaceXMLCalendar
-
getTimezone
public int getTimezone()
- Specified by:
getTimezone
in interfaceXMLCalendar
-
toXMLFormat
public java.lang.String toXMLFormat()
- Specified by:
toXMLFormat
in interfaceXMLCalendar
-
isInlined
public boolean isInlined()
- Specified by:
isInlined
in interfaceXMLCalendar
-
compare
public int compare(XMLCalendar other)
- Specified by:
compare
in interfaceXMLCalendar
- See Also:
XMLGregorianCalendar.compare(XMLGregorianCalendar)
-
unwrap
public javax.xml.datatype.XMLGregorianCalendar unwrap()
Description copied from interface:XMLCalendar
Get underlying calendar object. Might be created lazily.- Specified by:
unwrap
in interfaceXMLCalendar
- Returns:
-
-