Package org.geotools.api.temporal
Interface Instant
-
- All Superinterfaces:
Separation
,TemporalGeometricPrimitive
,TemporalObject
,TemporalOrder
,TemporalPrimitive
- All Known Implementing Classes:
DefaultInstant
public interface Instant extends TemporalGeometricPrimitive
A zero-dimensional geometric primitive that represents position in time, equivalent to a point in space.- Author:
- Stephane Fellah (Image Matters), Alexander Petkov TODO There is a bit of a conflict in the spec document as to what should be returned for "position." The diagram shows that Position should be returned, while the text in the document demands that TemporalPosition should represent position in time.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<Period>
getBegunBy()
Get the Collection of temporalPeriod
s, for which this Instant is the beginning.Collection<Period>
getEndedBy()
Get the Collection of temporalPeriod
s, for which this Instant is the end.Position
getPosition()
Get the position of this instant.-
Methods inherited from interface Separation
distance, length
-
Methods inherited from interface TemporalOrder
relativePosition
-
-
-
-
Method Detail
-
getPosition
Position getPosition()
Get the position of this instant.
-
getBegunBy
Collection<Period> getBegunBy()
Get the Collection of temporalPeriod
s, for which this Instant is the beginning. The collection may be empty.- See Also:
Period.getBeginning()
-
getEndedBy
Collection<Period> getEndedBy()
Get the Collection of temporalPeriod
s, for which this Instant is the end. The collection may be empty.- See Also:
Period.getEnding()
-
-