Contents

locale

The locale to use when formatting strings.

Declaration

var locale: Locale! { get set }

Discussion

If you don’t specify an explicit locale, the formatter uses the user’s current locale information.

See Also

Specifying the format