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, setIndeterminatePosition
getIndeterminatePosition
public DefaultCalendarDate(TemporalReferenceSystem frame, IndeterminateValue indeterminatePosition, InternationalString calendarEraName, int[] calendarDate)
public InternationalString getCalendarEraName()
getCalendarEraName
in interface CalendarDate
public int[] getCalendarDate()
getCalendarDate
in interface CalendarDate
public void setCalendarEraName(InternationalString calendarEraName)
public void setCalendarDate(int[] calendarDate)
public boolean equals(Object object)
equals
in class DefaultTemporalPosition
public int hashCode()
hashCode
in class DefaultTemporalPosition
public String toString()
toString
in class DefaultTemporalPosition
Copyright © 1996–2019 Geotools. All rights reserved.