@Classifier(DATATYPE)
@UML(identifier="CI_Date",
specification=ISO_19115)
public interface CitationDate
Reference date and event used to describe it.
- Since:
- 2.0
-
Method Details
-
getDate
Deprecated.Replaced bygetReferenceDate()
.Reference date for the cited resource.- Returns:
- reference date for the cited resource.
-
getReferenceDate
@Profile(level=CORE) @UML(identifier="date", obligation=MANDATORY, specification=ISO_19115) Temporal getReferenceDate()Reference date for the cited resource. The returned value should be an instance ofLocalDate
,LocalDateTime
,OffsetDateTime
orZonedDateTime
, depending whether hours are defined and how the timezone (if any) is defined. But other types are also allowed. For example, a citation date may be merely aYear
.- Returns:
- reference date for the cited resource.
- Since:
- 3.1
Details
Renamed for avoiding a conflict with thegetDate()
method defined in GeoAPI 3.0. -
getDateType
@Profile(level=CORE) @UML(identifier="dateType", obligation=MANDATORY, specification=ISO_19115) DateType getDateType()Event used for reference date.- Returns:
- event used for reference date.
-
getReferenceDate()
.