Returns the range of values that one unit can take on within a larger unit during which a specific absolute time occurs.
- iOS 2.0+
- macOS 10.4+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Foundation
The calendar to examine.
An absolute time.
The range of values that the calendar unit specified by
smaller can take on within the calendar unit specified by
bigger that includes the absolute time
at. For example, the range the Day unit can take on in the Month in which the absolute time lies.
bigger is not logically bigger than
smaller in the calendar, or the given combination of units does not make sense (or is a computation which is undefined), the result is