Instance Property

leapMonth

A Boolean value that indicates whether the month is a leap month.

Declaration

@property(getter=isLeapMonth) BOOL leapMonth;

Discussion

YES if the month is a leap month, NO otherwise.

See Also

Accessing Years and Months

era

The number of eras.

year

The number of years.

yearForWeekOfYear

The ISO 8601 week-numbering year.

quarter

The number of quarters.

month

The number of months.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software