Package org.geotools.api.temporal
Interface CalendarDate
-
- All Superinterfaces:
TemporalPosition
- All Known Subinterfaces:
DateAndTime
- All Known Implementing Classes:
DefaultCalendarDate
,DefaultDateAndTime
public interface CalendarDate extends TemporalPosition
A data type that shall be used to identify temporal position within a calendar.- Author:
- Stephane Fellah (Image Matters), Alexander Petkov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int[]
getCalendarDate()
Provides a sequence of integers in which the first integer identifies a specific instance of the unit used at the highest level of the calendar hierarchy, the second integer identifies a specific instance of the unit used at the next lower level in the hierarchy, and so on.InternationalString
getCalendarEraName()
Provides the name of the calendar era to which the date is referenced.-
Methods inherited from interface TemporalPosition
getIndeterminatePosition
-
-
-
-
Method Detail
-
getCalendarEraName
InternationalString getCalendarEraName()
Provides the name of the calendar era to which the date is referenced.
-
getCalendarDate
int[] getCalendarDate()
Provides a sequence of integers in which the first integer identifies a specific instance of the unit used at the highest level of the calendar hierarchy, the second integer identifies a specific instance of the unit used at the next lower level in the hierarchy, and so on. The format defined in ISO 8601 for dates in the Gregorian calendar may be used for any date that is composed of values for year, month and day.
-
-