init(components:)

Creates a Locale with the specified locale components

iOS
16+
macOS
13+
tvOS
16+
watchOS
9+
init(components: Locale.Components)