locale(_:)
Modifies the date interval format style to use the specified locale.
Declaration
func locale(_ locale: Locale) -> Date.IntervalFormatStyleParameters
- locale:
The locale for formatting a date interval.
Return Value
A date inteverval format style with the provided locale.