public Locale (String language, String country, String variant)

Construct a locale from language, country and variant. This constructor normalizes the language value to lowercase and the country value to uppercase.

Note:

Parameters:
language    An ISO 639 alpha-2 or alpha-3 language code, or a language subtag up to 8 characters in length. See the Locale class description about valid language values.
country    An ISO 3166 alpha-2 country code or a UN M.49 numeric-3 area code. See the Locale class description about valid country values.
variant    Any arbitrary value used to indicate a variation of a Locale. See the Locale class description for the details.

Exceptions:
NullPointerException    thrown if any argument is null.