localizedName(for:locale:)

Returns the name of the receiver localized for a given locale.

Declaration

func localizedName(for style: TimeZone.NameStyle, locale: Locale?) -> String?