public class DefaultCalendarEra extends Object implements CalendarEra
Constructor and Description |
---|
DefaultCalendarEra(InternationalString name,
InternationalString referenceEvent,
CalendarDate referenceDate,
JulianDate julianReference,
Period epochOfUse) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
Collection<Calendar> |
getDatingSystem() |
Period |
getEpochOfUse()
Identifies the period for which the calendar era was used as a reference
fro dating.
|
JulianDate |
getJulianReference()
Provides the julian date that corresponds to the reference date.
|
InternationalString |
getName()
Uniquely identifies the calendar era within this calendar.
|
CalendarDate |
getReferenceDate()
Provides the date of the reference event expressed as a date in the given calendar.
|
InternationalString |
getReferenceEvent()
Provides the name or description of a mythical or historic event which fixes the position of
the base scale of the calendar era.
|
int |
hashCode() |
void |
setEpochOfUse(Period epochOfUse) |
void |
setJulianReference(JulianDate julianReference) |
void |
setName(InternationalString name) |
void |
setReferenceDate(CalendarDate referenceDate) |
void |
setReferenceEvent(InternationalString referenceEvent) |
String |
toString() |
public DefaultCalendarEra(InternationalString name, InternationalString referenceEvent, CalendarDate referenceDate, JulianDate julianReference, Period epochOfUse)
public InternationalString getName()
CalendarEra
getName
in interface CalendarEra
public InternationalString getReferenceEvent()
CalendarEra
getReferenceEvent
in interface CalendarEra
public CalendarDate getReferenceDate()
CalendarEra
getReferenceDate
in interface CalendarEra
public JulianDate getJulianReference()
CalendarEra
getJulianReference
in interface CalendarEra
public Period getEpochOfUse()
CalendarEra
getEpochOfUse
in interface CalendarEra
end
is JulianDate
.public void setName(InternationalString name)
public void setReferenceEvent(InternationalString referenceEvent)
public void setReferenceDate(CalendarDate referenceDate)
public void setJulianReference(JulianDate julianReference)
public void setEpochOfUse(Period epochOfUse)
public Collection<Calendar> getDatingSystem()
Copyright © 1996–2019 Geotools. All rights reserved.