Package org.geotools.temporal.object
Class DefaultCalendarDate
- Object
- 
- DefaultTemporalPosition
- 
- DefaultCalendarDate
 
 
- 
- All Implemented Interfaces:
- CalendarDate,- TemporalPosition
 
 public class DefaultCalendarDate extends DefaultTemporalPosition implements CalendarDate A data type that shall be used to identify temporal position within a calendar.- Author:
- Mehdi Sidhoum (Geomatys)
 
- 
- 
Constructor SummaryConstructors Constructor Description DefaultCalendarDate(TemporalReferenceSystem frame, IndeterminateValue indeterminatePosition, InternationalString calendarEraName, int[] calendarDate)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)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.InternationalStringgetCalendarEraName()Provides the name of the calendar era to which the date is referenced.inthashCode()voidsetCalendarDate(int[] calendarDate)voidsetCalendarEraName(InternationalString calendarEraName)StringtoString()- 
Methods inherited from class DefaultTemporalPositiongetFrame, getIndeterminatePosition, setFrame, setIndeterminatePosition
 - 
Methods inherited from interface TemporalPositiongetIndeterminatePosition
 
- 
 
- 
- 
- 
Constructor Detail- 
DefaultCalendarDatepublic DefaultCalendarDate(TemporalReferenceSystem frame, IndeterminateValue indeterminatePosition, InternationalString calendarEraName, int[] calendarDate) 
 
- 
 - 
Method Detail- 
getCalendarEraNamepublic InternationalString getCalendarEraName() Provides the name of the calendar era to which the date is referenced.- Specified by:
- getCalendarEraNamein interface- CalendarDate
 
 - 
getCalendarDatepublic 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.- Specified by:
- getCalendarDatein interface- CalendarDate
 
 - 
setCalendarEraNamepublic void setCalendarEraName(InternationalString calendarEraName) 
 - 
setCalendarDatepublic void setCalendarDate(int[] calendarDate) 
 - 
equalspublic boolean equals(Object object) - Overrides:
- equalsin class- DefaultTemporalPosition
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- DefaultTemporalPosition
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- DefaultTemporalPosition
 
 
- 
 
-