Package org.geotools.api.temporal
Interface Position
-
- All Known Implementing Classes:
DefaultPosition
public interface Position
A union class that consists of one of the data types listed as its attributes. Date, Time, and DateTime are basic data types defined in ISO/TS 19103, and may be used for describing temporal positions referenced to the Gregorian calendar and UTC.- Author:
- Alexander Petkov, Martin Desruisseaux (IRD)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TemporalPosition
anyOther()
TemporalPosition and its subtypes shall be used for describing temporal positions referenced to other reference systems, and may be used for temporal positions referenced to any calendar or clock, including the Gregorian calendar and UTC.Date
getDate()
May be used for describing temporal positions in ISO8601 format referenced to the Gregorian calendar and UTC.InternationalString
getDateTime()
May be used for describing temporal positions in ISO8601 format referenced to the Gregorian calendar and UTC.Time
getTime()
May be used for describing temporal positions in ISO8601 format referenced to the Gregorian calendar and UTC.
-
-
-
Method Detail
-
anyOther
TemporalPosition anyOther()
TemporalPosition and its subtypes shall be used for describing temporal positions referenced to other reference systems, and may be used for temporal positions referenced to any calendar or clock, including the Gregorian calendar and UTC.- Returns:
- TemporalPosition
-
getDate
Date getDate()
May be used for describing temporal positions in ISO8601 format referenced to the Gregorian calendar and UTC.- Returns:
- InternationalString
-
getTime
Time getTime()
May be used for describing temporal positions in ISO8601 format referenced to the Gregorian calendar and UTC.- Returns:
- InternationalString
-
getDateTime
InternationalString getDateTime()
May be used for describing temporal positions in ISO8601 format referenced to the Gregorian calendar and UTC.- Returns:
- InternationalString
-
-