Instance Property

quarter

The number of quarters.

Declaration

var quarter: Int { get set }

See Also

Accessing Years and Months

var era: Int

The number of eras.

var year: Int

The number of years.

var yearForWeekOfYear: Int

The ISO 8601 week-numbering year.

var month: Int

The number of months.

var isLeapMonth: Bool

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

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