Class DefaultDateAndTime

    • Method Detail

      • getClockTime

        public Number[] getClockTime()
        A sequence of numbers with a structure similar to that of CalendarDate. The first number integer identifies a specific instance of the unit used at the highest level of the clock hierarchy, the second number identifies a specific instance of the unit used at the next lower level, and so on. All but the last number in the sequence shall be integers; the last number may be integer or real.
        Specified by:
        getClockTime in interface ClockTime
      • getCalendarDate

        public int[] getCalendarDate()
        Provides 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.
        Specified by:
        getCalendarDate in interface CalendarDate
      • setCalendarDate

        public void setCalendarDate​(int[] calendarDate)
      • setClockTime

        public void setClockTime​(Number... clockTime)