Interface Calendar

  • All Superinterfaces:
    IdentifiedObject, ReferenceSystem, TemporalReferenceSystem

    @UML(identifier="TM_Calendar",
         specification=ISO_19108)
    public interface Calendar
    extends TemporalReferenceSystem
    A discrete temporal reference system that provides a basis for defining temporal position to a resolution of one day.
    Since:
    2.3
    • Field Detail

      • REFERENCE_EVENT_KEY

        static final String REFERENCE_EVENT_KEY
        Key for the "referenceEvent" property to be given to the object factory createFoo(\u2026) methods. This is used for setting the value to be returned by getReferenceEvent().
        Since:
        4.0
        See Also:
        Constant Field Values
        TODO:
        Revisit javadoc - seems inaccurate.
    • Method Detail

      • dateTrans

        @UML(identifier="dateTrans",
             obligation=MANDATORY,
             specification=ISO_19108)
        JulianDate dateTrans​(CalendarDate date,
                             ClockTime time)
        Returns conversion of a date in this calendar to a julian date.
        Parameters:
        date - reference date which will be convert.
        Returns:
        convertion of a date in this calendar to a julian date.
      • julTrans

        @UML(identifier="julTrans",
             obligation=MANDATORY,
             specification=ISO_19108)
        CalendarDate julTrans​(JulianDate julian)
        Returns convertion of a julian date to a date in this calendar.
        Parameters:
        julian - JulianDate which will be convert.
        Returns:
        convertion of a julian date to a date in this calendar.
      • getTimeBasis

        @UML(identifier="timeBasis",
             specification=ISO_19108)
        Clock getTimeBasis()
        Returns the clock that is use with this Calendar to define temporal position within a calendar day, or null if none.
        Returns:
        the clock that is use with this Calendar to define temporal position within a calendar day, or null if none.
        Since:
        4.0