Instance Property

era

An era or count of eras.

Declaration

var era: Int? { get set }

Discussion

See Also

Accessing Months and Years

var year: Int?

A year or count of years.

var yearForWeekOfYear: 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.

var isLeapMonth: Bool?

Set to true if these components represent a leap month.