Home
last modified time | relevance | path

Searched refs:country (Results 1 – 11 of 11) sorted by relevance

/libcore/ojluni/src/main/java/java/util/
DCurrency.java406 String country = locale.getCountry(); in getInstance() local
415 country = country + "_" + variant; in getInstance()
417 if (!ICU.isIsoCountry(country)) { in getInstance()
421 String currencyCode = ICU.getCurrencyCode(country); in getInstance()
DLocale.java838 public Locale(String language, String country, String variant) { in Locale() argument
839 if (language == null || country == null || variant == null) { in Locale()
842 baseLocale = BaseLocale.getInstance(convertOldISOCodes(language), "", country, variant); in Locale()
843 localeExtensions = getCompatibilityExtensions(language, "", country, variant); in Locale()
866 public Locale(String language, String country) { in Locale() argument
867 this(language, country, ""); in Locale()
906 static Locale getInstance(String language, String country, String variant) { in getInstance() argument
907 return getInstance(language, "", country, variant, null); in getInstance()
910 static Locale getInstance(String language, String script, String country, in getInstance() argument
912 if (language== null || script == null || country == null || variant == null) { in getInstance()
[all …]
DResourceBundle.java3487 String country = locale.getCountry(); in toBundleName() local
3490 if (language == "" && country == "" && variant == "") { in toBundleName()
3498 …sb.append(language).append('_').append(script).append('_').append(country).append('_').append(vari… in toBundleName()
3499 } else if (country != "") { in toBundleName()
3500 sb.append(language).append('_').append(script).append('_').append(country); in toBundleName()
3506 sb.append(language).append('_').append(country).append('_').append(variant); in toBundleName()
3507 } else if (country != "") { in toBundleName()
3508 sb.append(language).append('_').append(country); in toBundleName()
DTimeZone.java687 String country); in getSystemTimeZoneID() argument
/libcore/ojluni/annotations/hiddenapi/java/util/
DLocale.java54 public Locale(java.lang.String language, java.lang.String country, java.lang.String variant) { in Locale() argument
58 public Locale(java.lang.String language, java.lang.String country) { in Locale() argument
68 java.lang.String lang, java.lang.String country) { in createConstant() argument
73 java.lang.String language, java.lang.String country, java.lang.String variant) { in getInstance() argument
80 java.lang.String country, in getInstance() argument
320 java.lang.String country, in getCompatibilityExtensions() argument
/libcore/luni/src/main/java/libcore/icu/
DICU.java107 public static boolean isIsoCountry(String country) { in isIsoCountry() argument
120 return country != null && isoCountriesSet.contains(country); in isIsoCountry()
/libcore/ojluni/src/main/java/sun/security/x509/
DX500Name.java204 String organizationName, String country) in X500Name() argument
222 new DerValue(country)); in X500Name()
242 String stateName, String country) in X500Name() argument
266 new DerValue(country)); in X500Name()
/libcore/ojluni/src/test/java/util/Base64/
Dplain.txt140 Now's the time for all folk to come to the aid of their country.
146 to the aid of their country.
/libcore/ojluni/annotations/hiddenapi/sun/security/x509/
DX500Name.java53 java.lang.String country) in X500Name() argument
65 java.lang.String country) in X500Name() argument
/libcore/ojluni/annotations/sdk/nullability/java/util/
DLocale.annotated.java53 …onNull java.lang.String language, @libcore.util.NonNull java.lang.String country, @libcore.util.No… in Locale() argument
55 …onNull java.lang.String language, @libcore.util.NonNull java.lang.String country) { throw new Runt… in Locale() argument
/libcore/benchmarks/src/benchmarks/regression/
DR.java1497 public static final int country = 0; field in R