Contents

CFCalendarGetMinimumRangeOfUnit(_:_:)

Returns the minimum range limits of the values that a specified unit can take on in a given calendar.

Declaration

func CFCalendarGetMinimumRangeOfUnit(_ calendar: CFCalendar!, _ unit: CFCalendarUnit) -> CFRange

Parameters

  • calendar:

    The calendar to examine.

  • unit:

    A calendar unit. For valid values see Cfcalendarunit.

Return Value

The minimum range limits of the values that the specified unit can take on in calendar. For example, in the Gregorian calendar the minimum ranges for the Day unit is 1-28.

See Also

Getting Ranges of Units