/*
* GeoTools - The Open Source Java GIS Toolkit
* http://geotools.org
*
* (C) 2011, Open Source Geospatial Foundation (OSGeo)
* (C) 2005, Open Geospatial Consortium Inc.
*
* All Rights Reserved. http://www.opengis.org/legal/
*/
package org.opengis.temporal;
import org.opengis.util.InternationalString;
import org.opengis.annotation.UML;
import static org.opengis.annotation.Obligation.*;
import static org.opengis.annotation.Specification.*;
/**
* Characteristics of each calendar era.
*
* @author Stephane Fellah (Image Matters)
* @author Alexander Petkov
*
* @source $URL: http://svn.osgeo.org/geotools/trunk/modules/library/opengis/src/main/java/org/opengis/temporal/CalendarEra.java $
*/
@UML(identifier="TM_CalendarEra", specification=ISO_19108)
public interface CalendarEra {
/**
* Uniquely identifies the calendar era within this calendar.
*/
@UML(identifier="name", obligation=MANDATORY, specification=ISO_19108)
InternationalString getName();
/**
* Provides the name or description of a mythical or historic event which fixes the position
* of the base scale of the calendar era.
*/
@UML(identifier="referenceEvent", obligation=OPTIONAL, specification=ISO_19108)
InternationalString getReferenceEvent();
/**
* Provides the date of the reference event expressed as a date in the given calendar.
*/
@UML(identifier="referenceDate", obligation=OPTIONAL, specification=ISO_19108)
CalendarDate getReferenceDate();
/**
* Provides the {@linkplain JulianDate julian date} that corresponds to the reference date.
*/
@UML(identifier="julianReference", specification=ISO_19108)
JulianDate getJulianReference();
/**
* Identifies the {@linkplain Period period} for which the calendar era
* was used as a reference fro dating.
*
*
* @return The period, where the data type for {@linkplain Period#getBegin begin}
* and {@link Period#getEnd end} is {@link JulianDate}.
*/
@UML(identifier="epochOfUse", specification=ISO_19108)
Period getEpochOfUse();
}