Package org.geotools.temporal.reference
Class DefaultOrdinalEra
Object
DefaultOrdinalEra
- All Implemented Interfaces:
OrdinalEra
- Author:
- Mehdi Sidhoum (Geomatys)
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultOrdinalEra
(InternationalString name, Date beginning, Date end) DefaultOrdinalEra
(InternationalString name, Date beginning, Date end, Collection<OrdinalEra> composition) -
Method Summary
Modifier and TypeMethodDescriptionboolean
The beginning at which the ordinal era began if it's known.Ordinal eras that subdivide this ordinal era.getEnd()
The end at which the ordinal era began if it's known.getGroup()
getName()
The unique name of the ordinal era within the ordinal reference system.int
hashCode()
void
setBeginning
(Date beginning) void
void
setGroup
(DefaultOrdinalEra group) void
setName
(InternationalString name) toString()
-
Constructor Details
-
DefaultOrdinalEra
-
DefaultOrdinalEra
public DefaultOrdinalEra(InternationalString name, Date beginning, Date end, Collection<OrdinalEra> composition)
-
-
Method Details
-
getName
Description copied from interface:OrdinalEra
The unique name of the ordinal era within the ordinal reference system.- Specified by:
getName
in interfaceOrdinalEra
-
getBeginning
Description copied from interface:OrdinalEra
The beginning at which the ordinal era began if it's known.- Specified by:
getBeginning
in interfaceOrdinalEra
-
getEnd
Description copied from interface:OrdinalEra
The end at which the ordinal era began if it's known.- Specified by:
getEnd
in interfaceOrdinalEra
-
getComposition
Description copied from interface:OrdinalEra
Ordinal eras that subdivide this ordinal era.- Specified by:
getComposition
in interfaceOrdinalEra
-
setName
-
setBeginning
-
setEnd
-
getGroup
-
setGroup
-
equals
-
hashCode
public int hashCode() -
toString
-