Package com.stardog.stark
Interface XMLCalendar
- All Known Implementing Classes:
XMLCalendar.Delegate
public interface XMLCalendar
Read-only access interface to underlying calendar value
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionintcompare(XMLCalendar other) intgetDay()getEon()Returns the high order component for XML Schema 1.0 dateTime datatype field for year.intgetHour()intintintgetMonth()intintintgetYear()default OffsetDateTimeunwrap()Get underlying calendar object.
-
Field Details
-
FIELD_UNDEFINED
static final int FIELD_UNDEFINED- See Also:
-
-
Method Details
-
getEon
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:
-
getYear
int getYear() -
getMonth
int getMonth() -
getDay
int getDay() -
getHour
int getHour() -
getMinute
int getMinute() -
getSecond
int getSecond() -
getMillisecond
int getMillisecond() -
getFractionalSecond
BigDecimal getFractionalSecond() -
getTimezone
int getTimezone() -
toXMLFormat
String toXMLFormat() -
compare
- See Also:
-
unwrap
XMLGregorianCalendar unwrap()Get underlying calendar object. Might be created lazily.- Returns:
-
toOffsetDateTime
-