The locale to use when formatting date and time values.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
The default value of this property is the current user’s locale, which is accessible from the
current method of
NSLocale. You can change this value to a different locale to generate strings based on that locale.