Module dev.metaschema.core
Interface ICalendarTemporalItem
- All Superinterfaces:
IAnyAtomicItem,IAtomicValuedItem,ICollectionValue,IItem,ITemporalItem
- All Known Subinterfaces:
IDateItem,IDateTimeItem,IDateTimeWithTimeZoneItem,IDateWithTimeZoneItem
A temporal valued item related to a
ZonedDateTime.
This may represent a specific point in time or a 24 hour period in time.
-
Method Summary
Modifier and TypeMethodDescriptionGet the temporal value as aZonedDateTime.default ZoneOffsetGet the timezone offset for this temporal.Methods inherited from interface dev.metaschema.core.metapath.item.atomic.IAnyAtomicItem
accept, asMapKey, asString, asStringItem, atomize, castAsType, deepEquals, getJavaTypeAdapter, getValue, toAtomicItemMethods inherited from interface dev.metaschema.core.metapath.item.ICollectionValue
deepEquals, toSignatureMethods inherited from interface dev.metaschema.core.metapath.item.IItem
contentsAsSequence, flatten, getType, hasValue, toSequenceMethods inherited from interface dev.metaschema.core.metapath.item.atomic.ITemporalItem
getDay, getHour, getMinute, getMonth, getNano, getOffset, getSecond, getYear, hasDate, hasTime, hasTimezone, replaceTimezone
-
Method Details
-
asZonedDateTime
Get the temporal value as aZonedDateTime.- Returns:
- the date/time value
-
getZoneOffset
Description copied from interface:ITemporalItemGet the timezone offset for this temporal.- Specified by:
getZoneOffsetin interfaceITemporalItem- Returns:
- the timezone offset if specified or
nullif the timezone is not known - See Also:
-