Searched refs:country (Results 1 – 8 of 8) sorted by relevance
/libcore/ojluni/src/main/java/java/util/ |
D | Currency.java | 321 String country = locale.getCountry(); in getInstance() local 322 if (country == null) { in getInstance() 370 country = country + "_" + variant; in getInstance() 372 if (!ICU.isIsoCountry(country)) { in getInstance() 376 String currencyCode = ICU.getCurrencyCode(country); in getInstance()
|
D | Locale.java | 736 public Locale(String language, String country, String variant) { in Locale() argument 737 if (language== null || country == null || variant == null) { in Locale() 740 baseLocale = BaseLocale.getInstance(convertOldISOCodes(language), "", country, variant); in Locale() 741 localeExtensions = getCompatibilityExtensions(language, "", country, variant); in Locale() 766 public Locale(String language, String country) { in Locale() argument 767 this(language, country, ""); in Locale() 798 private static Locale createConstant(String lang, String country) { in createConstant() argument 799 BaseLocale base = BaseLocale.createInstance(lang, country); in createConstant() 817 static Locale getInstance(String language, String country, String variant) { in getInstance() argument 818 return getInstance(language, "", country, variant, null); in getInstance() [all …]
|
D | ResourceBundle.java | 2892 String country = locale.getCountry(); in toBundleName() local 2895 if (language == "" && country == "" && variant == "") { in toBundleName() 2903 …sb.append(language).append('_').append(script).append('_').append(country).append('_').append(vari… in toBundleName() 2904 } else if (country != "") { in toBundleName() 2905 sb.append(language).append('_').append(script).append('_').append(country); in toBundleName() 2911 sb.append(language).append('_').append(country).append('_').append(variant); in toBundleName() 2912 } else if (country != "") { in toBundleName() 2913 sb.append(language).append('_').append(country); in toBundleName()
|
D | TimeZone.java | 686 String country); in getSystemTimeZoneID() argument
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Locale.java | 54 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/ |
D | ICU.java | 102 public static boolean isIsoCountry(String country) { in isIsoCountry() argument 111 return country != null && isoCountriesSet.contains(country); in isIsoCountry()
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | X500Name.java | 204 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/annotations/sdk/nullability/java/util/ |
D | Locale.annotated.java | 53 …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
|