Interface CalendarDate

  • All Superinterfaces:
    TemporalPosition
    All Known Subinterfaces:
    DateAndTime

    @UML(identifier="TM_CalDate",
         specification=ISO_19108)
    public interface CalendarDate
    extends TemporalPosition
    A data type that shall be used to identify temporal position within a calendar.
    Since:
    2.3
    • Method Detail

      • getCalendarEraName

        @UML(identifier="calendarEraName",
             obligation=MANDATORY,
             specification=ISO_19108)
        InternationalString getCalendarEraName()
        Returns the name of the calendar era to which the date is referenced.
        Returns:
        the name of the calendar era.
      • getCalendarDate

        @UML(identifier="calDate",
             obligation=MANDATORY,
             specification=ISO_19108)
        int[] getCalendarDate()
        Returns a sequence of integers in which the first integer identifies a specific instance of the unit used at the highest level of the calendar hierarchy, the second integer identifies a specific instance of the unit used at the next lower level in the hierarchy, and so on. The format defined in ISO 8601 for dates in the Gregorian calendar may be used for any date that is composed of values for year, month and day.
        Returns:
        instance of the units, from highest level to lowest level of the calendar hierarchy.