Get Country

Determines the country/region code for the current locale.

Note:
This function block is located in the General\Utilities\Locale folder.

Inputs

Locale
A java.util.Locale object that represents the current locale.

Output

Returns a String object that contains the country/region code for the specified locale. It is typically either an empty string or an uppercase ISO 3166 two-letter code.

Notes

This function block is based on the java.util.Locale.getCountry() method.

Copyright IBM Corp. 2003, 2004