Instance PropertyFoundationEssentials
shortStandaloneMonthSymbols
iOS 8.0+
iPadOS 8.0+
Mac Catalyst 8.0+
macOS 10.10+
tvOS 9.0+
watchOS 2.0+
A list of shorter-named standalone months in this calendar, localized to the Calendar’s
locale.var shortStandaloneMonthSymbols: [String] { get }
Discussion
For example, for English in the Gregorian calendar, returns ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"].
Note
Stand-alone properties are for use in places like calendar headers. Non-stand-alone properties are for use in context (for example, “Saturday, November 12th”).
Note
By default, Calendars have no locale set. If you wish to receive a localized answer, be sure to set the locale property first - most likely to Locale.autoupdatingCurrent.