Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/highmemorytest/java/util/
DCurrencyTest.java48 String countryCode = locale.getCountry(); in test_currencyCodeIcuConsistency() local
52 if ("HR".equals(countryCode) && in test_currencyCodeIcuConsistency()
60 if (("CW".equals(countryCode) || "SX".equals(countryCode)) && in test_currencyCodeIcuConsistency()
/libcore/luni/src/main/java/libcore/icu/
DICU.java660 public static String getCurrencyCode(String countryCode) { in getCurrencyCode() argument
662 if (countryCode == null || countryCode.length() == 0) { in getCurrencyCode()
667 countryLocale = new ULocale.Builder().setRegion(countryCode).build(); in getCurrencyCode()
/libcore/ojluni/src/main/java/java/util/
DLocale.java2209 String countryCode = baseLocale.getRegion(); in getDisplayCountry() local
2210 if (countryCode.isEmpty()) { in getDisplayCountry()
2215 countryCode, false /* strict */); in getDisplayCountry()
2217 return countryCode; in getDisplayCountry()
2566 String countryCode = baseLocale.getRegion(); in getDisplayName() local
2567 if (!countryCode.isEmpty()) { in getDisplayName()
2574 buffer.append(displayCountry.isEmpty() ? countryCode : displayCountry); in getDisplayName()