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 TypeMethodDescriptionbooleanThe 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.inthashCode()voidsetBeginning(Date beginning) voidvoidsetGroup(DefaultOrdinalEra group) voidsetName(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:OrdinalEraThe unique name of the ordinal era within the ordinal reference system.- Specified by:
getNamein interfaceOrdinalEra
-
getBeginning
Description copied from interface:OrdinalEraThe beginning at which the ordinal era began if it's known.- Specified by:
getBeginningin interfaceOrdinalEra
-
getEnd
Description copied from interface:OrdinalEraThe end at which the ordinal era began if it's known.- Specified by:
getEndin interfaceOrdinalEra
-
getComposition
Description copied from interface:OrdinalEraOrdinal eras that subdivide this ordinal era.- Specified by:
getCompositionin interfaceOrdinalEra
-
setName
-
setBeginning
-
setEnd
-
getGroup
-
setGroup
-
equals
-
hashCode
public int hashCode() -
toString
-