Package org.geotools.api.temporal
Interface Calendar
-
- All Superinterfaces:
IdentifiedObject
,ReferenceSystem
,TemporalReferenceSystem
- All Known Implementing Classes:
DefaultCalendar
public interface Calendar extends TemporalReferenceSystem
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JulianDate
dateTrans(CalendarDate date, ClockTime time)
Converts a date in this calendar to a julian date.Collection<CalendarEra>
getBasis()
links this calendar to the calendar eras that it uses as a reference for dating.Clock
getClock()
Links this calendar to the clock that is used for specifying temporal positions within the smallest calendar interval.CalendarDate
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 Detail
-
dateTrans
JulianDate dateTrans(CalendarDate date, ClockTime time)
Converts a date in this calendar to a julian date.
-
julTrans
CalendarDate julTrans(JulianDate julian)
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.
-
-