Home
last modified time | relevance | path

Searched refs:countryCode (Results 1 – 4 of 4) sorted by relevance

/libcore/luni/src/main/java/java/util/
DLocale.java822 private transient String countryCode; field in Locale
853 this.countryCode = upperCaseCountryCode; in Locale()
898 this.countryCode = country; in Locale()
903 countryCode = ""; in Locale()
907 countryCode = country.toUpperCase(Locale.US); in Locale()
966 && countryCode.equals(o.countryCode) in equals()
998 return countryCode; in getCountry()
1025 if (countryCode.isEmpty()) { in getDisplayCountry()
1030 countryCode, false /* strict */); in getDisplayCountry()
1032 return countryCode; in getDisplayCountry()
[all …]
/libcore/luni/src/main/java/libcore/icu/
DTimeZoneNames.java145 String countryCode = locale.getCountry(); in forLocale() local
148 if (line.startsWith(countryCode)) { in forLocale()
DICU.java384 public static native String getCurrencyCode(String countryCode); in getCurrencyCode() argument
/libcore/luni/src/main/native/
Dlibcore_icu_ICU.cpp151 ScopedUtfChars countryCode(env, javaCountryCode); in ICU_getCurrencyCode() local
152 …ScopedResourceBundle currency(ures_getByKey(currencyMap.get(), countryCode.c_str(), NULL, &status)… in ICU_getCurrencyCode()
660 jstring countryCode = env->NewStringUTF(icuLocale.locale().getCountry()); in ICU_initLocaleDataNative() local
661 jstring internationalCurrencySymbol = ICU_getCurrencyCode(env, NULL, countryCode); in ICU_initLocaleDataNative()
662 env->DeleteLocalRef(countryCode); in ICU_initLocaleDataNative()
663 countryCode = NULL; in ICU_initLocaleDataNative()