Locale.new
Locale.newlanguagecountryvariant
Documentation
Construct a new locale.
Arguments
language
: The language tag for the locale.country
: The country tag for the locale.variant
: The variant for the locale.
Examples
A locale representing en-GB.UTF-8.
import Standard.Base.Data.Locale.Locale
example_new = Locale.new "en" "GB" "UTF-8"