Contents

locale(_:)

A modifier to set the locale of the format style.

Declaration

func locale(_ locale: Locale) -> Duration.UnitsFormatStyle

Parameters

  • locale:

    The locale to apply to the format style.

Return Value

A copy of this format with the new locale set.

See Also

Working with locales