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 TypeMethodDescriptionboolean
Verify 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.int
hashCode()
void
setBegining
(Date date) void
setBegining
(Instant begining) void
void
toString()
Methods inherited from class DefaultTemporalGeometricPrimitive
distance, length
Methods inherited from class DefaultTemporalPrimitive
compareTo, relativePosition
Methods inherited from interface Separation
distance, length
Methods inherited from interface TemporalOrder
relativePosition
-
Constructor Details
-
DefaultPeriod
-
-
Method Details
-
getBeginning
Links this period to the instant at which it starts.- Specified by:
getBeginning
in 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
-