public class DefaultCalendarDate extends DefaultTemporalPosition implements CalendarDate
| Constructor and Description |
|---|
DefaultCalendarDate(TemporalReferenceSystem frame,
IndeterminateValue indeterminatePosition,
InternationalString calendarEraName,
int[] calendarDate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(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.
|
InternationalString |
getCalendarEraName()
Provides the name of the calendar era to which the date is
referenced.
|
int |
hashCode() |
void |
setCalendarDate(int[] calendarDate) |
void |
setCalendarEraName(InternationalString calendarEraName) |
String |
toString() |
getFrame, getIndeterminatePosition, setFrame, setIndeterminatePositiongetIndeterminatePositionpublic DefaultCalendarDate(TemporalReferenceSystem frame, IndeterminateValue indeterminatePosition, InternationalString calendarEraName, int[] calendarDate)
public InternationalString getCalendarEraName()
getCalendarEraName in interface CalendarDatepublic int[] getCalendarDate()
getCalendarDate in interface CalendarDatepublic void setCalendarEraName(InternationalString calendarEraName)
public void setCalendarDate(int[] calendarDate)
public boolean equals(Object object)
equals in class DefaultTemporalPositionpublic int hashCode()
hashCode in class DefaultTemporalPositionpublic String toString()
toString in class DefaultTemporalPositionCopyright © 1996–2019 Geotools. All rights reserved.