Package org.geotools.api.temporal
Interface Calendar
- All Superinterfaces:
IdentifiedObject
,ReferenceSystem
,TemporalReferenceSystem
- All Known Implementing Classes:
DefaultCalendar
A discrete temporal reference system that provides a basis for defining temporal position to a resolution of one day.
- Author:
- Alexander Petkov
-
Field Summary
Fields inherited from interface IdentifiedObject
ALIAS_KEY, IDENTIFIERS_KEY, NAME_KEY, REMARKS_KEY
Fields inherited from interface ReferenceSystem
DOMAIN_OF_VALIDITY_KEY, SCOPE_KEY
-
Method Summary
Modifier and TypeMethodDescriptiondateTrans
(CalendarDate date, ClockTime time) Converts a date in this calendar to a julian date.getBasis()
links this calendar to the calendar eras that it uses as a reference for dating.getClock()
Links this calendar to the clock that is used for specifying temporal positions within the smallest calendar interval.julTrans
(JulianDate julian) Converts a julian date to a date in this calendar.Methods inherited from interface IdentifiedObject
getAlias, getIdentifiers, getRemarks, toWKT
Methods inherited from interface ReferenceSystem
getScope
Methods inherited from interface TemporalReferenceSystem
getDomainOfValidity, getName
-
Method Details
-
dateTrans
Converts a date in this calendar to a julian date. -
julTrans
Converts a julian date to a date in this calendar. -
getBasis
Collection<CalendarEra> getBasis()links this calendar to the calendar eras that it uses as a reference for dating. -
getClock
Clock getClock()Links this calendar to the clock that is used for specifying temporal positions within the smallest calendar interval.
-