org.opengis.temporal.Period Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gt-opengis Show documentation
Show all versions of gt-opengis Show documentation
Standard interfaces implemented throughout the library.
/*
* 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 static org.opengis.annotation.Obligation.*;
import static org.opengis.annotation.Specification.*;
import org.opengis.annotation.UML;
/**
* A one-dimensional geometric primitive that represent extent in time.
*
* @author Stephane Fellah (Image Matters)
* @author Alexander Petkov
*/
@UML(identifier = "TM_Period", specification = ISO_19108)
public interface Period extends TemporalGeometricPrimitive {
/** Links this period to the instant at which it starts. */
@UML(identifier = "Beginning", obligation = MANDATORY, specification = ISO_19108)
Instant getBeginning();
/** Links this period to the instant at which it ends. */
@UML(identifier = "Ending", obligation = MANDATORY, specification = ISO_19108)
Instant getEnding();
}