Set to true if these components represent a leap month.
SDKs
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Xcode 8.0+
Framework
- Foundation
Declaration
var isLeapMonth: Bool? { get set }
Set to true if these components represent a leap month.
SDKs
Framework
var isLeapMonth: Bool? { get set }
var era: Int?
An era or count of eras.
var year: Int?
A year or count of years.
var year For Week Of Year: Int?
The year corresponding to a week-counting week.
var quarter: Int?
A quarter or count of quarters.
var month: Int?
A month or count of months.