Package org.geotools.temporal.object
Class DefaultPeriod
- All Implemented Interfaces:
Comparable<TemporalPrimitive>,Period,Separation,TemporalGeometricPrimitive,TemporalObject,TemporalOrder,TemporalPrimitive
A one-dimensional geometric primitive that represent extent in time.
- Author:
- Mehdi Sidhoum (Geomatys)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanVerify if this entry is identical to the specified object.Links this period to the instant at which it starts.Links this period to the instant at which it ends.inthashCode()voidsetBegining(Date date) voidsetBegining(Instant begining) voidvoidtoString()Methods inherited from class DefaultTemporalGeometricPrimitive
distance, lengthMethods inherited from class DefaultTemporalPrimitive
compareTo, relativePositionMethods inherited from interface Separation
distance, lengthMethods inherited from interface TemporalOrder
relativePosition
-
Constructor Details
-
DefaultPeriod
-
-
Method Details
-
getBeginning
Links this period to the instant at which it starts.- Specified by:
getBeginningin interfacePeriod
-
setBegining
-
setBegining
-
getEnding
Links this period to the instant at which it ends. -
setEnding
-
setEnding
-
equals
Verify if this entry is identical to the specified object. -
hashCode
public int hashCode() -
toString
-