public class DefaultPeriod extends DefaultTemporalGeometricPrimitive implements Period
Constructor and Description |
---|
DefaultPeriod(Instant begining,
Instant ending) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object)
Verify if this entry is identical to the specified object.
|
Instant |
getBeginning()
Links this period to the instant at which it starts.
|
Instant |
getEnding()
Links this period to the instant at which it ends.
|
int |
hashCode() |
void |
setBegining(Date date) |
void |
setBegining(Instant begining) |
void |
setEnding(Date date) |
void |
setEnding(Instant ending) |
String |
toString() |
distance, length
compareTo, relativePosition
relativePosition
distance, length
public Instant getBeginning()
getBeginning
in interface Period
public void setBegining(Instant begining)
public void setBegining(Date date)
public Instant getEnding()
public void setEnding(Instant ending)
public void setEnding(Date date)
public boolean equals(Object object)
Copyright © 1996–2019 Geotools. All rights reserved.