Class DateRange
java.lang.Object
org.gbif.api.model.registry.eml.temporal.TemporalCoverage
org.gbif.api.model.registry.eml.temporal.DateRange
- All Implemented Interfaces:
Serializable
,Keywords
A period of time.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceptFormatter
(TemporalCoverageFormatterVisitor formatter) Accept a TemporalCoverageFormatterVisitor for formatting purpose.boolean
getEnd()
getStart()
int
hashCode()
void
void
toString()
-
Constructor Details
-
DateRange
public DateRange() -
DateRange
-
-
Method Details
-
getEnd
-
setEnd
-
getStart
-
setStart
-
toKeywords
- Specified by:
toKeywords
in interfaceKeywords
-
equals
-
hashCode
-
toString
-
acceptFormatter
Description copied from class:TemporalCoverage
Accept a TemporalCoverageFormatterVisitor for formatting purpose. The concrete class should simply returns formatter.format(this);- Specified by:
acceptFormatter
in classTemporalCoverage
-