Instance Property

eraSymbols

A list of eras in this calendar, localized to the Calendar’s locale.

Declaration

var eraSymbols: [String] { get }

Discussion

For example, for English in the Gregorian calendar, returns ["BC", "AD"].

See Also

Getting Era Symbols

var longEraSymbols: [String]

A list of longer-named eras in this calendar, localized to the Calendar’s locale.