timeZone(_:)
Modifies the date interval format style to use the specified time zone format.
Declaration
func timeZone(_ format: Date.IntervalFormatStyle.Symbol.TimeZone = .genericName(.short)) -> Date.IntervalFormatStyleParameters
- format:
The time zone format style for formatting a date interval.
Return Value
A date interval format style with the provided time zone format.