Contents

locale(_:)

Modifies the format style to use the specified locale.

Declaration

func locale(_ locale: Locale) -> Self

Parameters

  • locale:

    The locale to apply to the format style.

Return Value

A format style modified to use the provided locale.

Discussion

Use this format style to change the locale used by an existing format style.