Contents

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.IntervalFormatStyle

Parameters

  • format:

    The time zone format style for formatting a date interval.

Return Value

A date interval format style with the provided time zone format.

See Also

Specifying Date Interval Format Styles