Class CFGregorianDate

    • Constructor Detail

      • CFGregorianDate

        public CFGregorianDate()
      • CFGregorianDate

        public CFGregorianDate​(int year,
                               byte month,
                               byte day,
                               byte hour,
                               byte minute,
                               double second)
    • Method Detail

      • getYear

        public int getYear()
      • getMonth

        public byte getMonth()
      • getDay

        public byte getDay()
      • getHour

        public byte getHour()
      • getMinute

        public byte getMinute()
      • getSecond

        public double getSecond()
      • isValid

        @Deprecated
        public boolean isValid​(CFGregorianUnitFlags unitFlags)
        Deprecated.
        Deprecated in iOS 8.0. Use CFCalendar or NSCalendar API instead
        Since:
        Available in iOS 2.0 and later.
      • getAbsoluteTime

        @Deprecated
        public double getAbsoluteTime​(CFTimeZone tz)
        Deprecated.
        Deprecated in iOS 8.0. Use CFCalendar or NSCalendar API instead
        Since:
        Available in iOS 2.0 and later.
      • fromAbsoluteTime

        @Deprecated
        public static CFGregorianDate fromAbsoluteTime​(double at,
                                                       CFTimeZone tz)
        Deprecated.
        Deprecated in iOS 8.0. Use CFCalendar or NSCalendar API instead
        Since:
        Available in iOS 2.0 and later.