Class CFCalendar

All Implemented Interfaces:
AutoCloseable

public class CFCalendar
extends CFType
  • Constructor Details

    • CFCalendar

      protected CFCalendar()
  • Method Details

    • create

      public static CFCalendar create​(CFCalendarIdentifier identifier)
    • getStartTimeOfUnit

      public double getStartTimeOfUnit​(CFCalendarUnit unit, double at)
      Since:
      Available in iOS 2.0 and later.
    • getDurationOfUnit

      public double getDurationOfUnit​(CFCalendarUnit unit, double at)
      Since:
      Available in iOS 2.0 and later.
    • getClassTypeID

      public static long getClassTypeID()
    • getCurrent

      public static CFCalendar getCurrent()
    • create

      protected static CFCalendar create​(CFAllocator allocator, CFCalendarIdentifier identifier)
    • getIdentifier

      public CFCalendarIdentifier getIdentifier()
    • getLocale

      public CFLocale getLocale()
    • setLocale

      public void setLocale​(CFLocale locale)
    • getTimeZone

      public CFTimeZone getTimeZone()
    • setTimeZone

      public void setTimeZone​(CFTimeZone tz)
    • getFirstWeekday

      public long getFirstWeekday()
    • setFirstWeekday

      public void setFirstWeekday​(long wkdy)
    • getMinimumDaysInFirstWeek

      public long getMinimumDaysInFirstWeek()
    • setMinimumDaysInFirstWeek

      public void setMinimumDaysInFirstWeek​(long mwd)
    • getMinimumRangeOfUnit

      public CFRange getMinimumRangeOfUnit​(CFCalendarUnit unit)
    • getMaximumRangeOfUnit

      public CFRange getMaximumRangeOfUnit​(CFCalendarUnit unit)
    • getRangeOfUnit

      public CFRange getRangeOfUnit​(CFCalendarUnit smallerUnit, CFCalendarUnit biggerUnit, double at)
    • getOrdinalityOfUnit

      public long getOrdinalityOfUnit​(CFCalendarUnit smallerUnit, CFCalendarUnit biggerUnit, double at)