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

    Modifier and Type
    Method
    Description
    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.
    May be used for describing temporal positions in ISO8601 format referenced to the Gregorian calendar and UTC.
    May be used for describing temporal positions in ISO8601 format referenced to the Gregorian calendar and UTC.
    May be used for describing temporal positions in ISO8601 format referenced to the Gregorian calendar and UTC.
  • Method Details

    • 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