Searched refs:getCountry (Results 1 – 14 of 14) sorted by relevance
/libcore/luni/src/test/java/libcore/java/util/ |
D | LocaleTest.java | 77 assertEquals("DDEEFF", invalid.getCountry()); in test_getDisplayName_invalid() 106 assertEquals("YY", unknown.getCountry()); in test_getDisplayName_unknown() 276 assertNotNull(Locale.getDefault().getCountry()); in test_nullCountry_fails() 278 assertNotNull(locale.getCountry()); in test_nullCountry_fails() 377 assertEquals("US", b.build().getCountry()); in test_Builder_setRegion() 406 assertEquals("", b.build().getCountry()); in test_Builder_setRegion() 411 assertEquals("", b.build().getCountry()); in test_Builder_setRegion() 464 assertEquals("US", b.build().getCountry()); in test_Builder_setLocale() 497 assertEquals("US", l.getCountry()); in test_Builder_setLocale() 513 assertEquals("FR", l.getCountry()); in test_Builder_setLocale() [all …]
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | ZoneName.java | 48 String region = uLocale.getCountry(); in toZid() 51 region = uLocale.getCountry(); in toZid()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | LocaleTest.java | 56 assertTrue("Failed to create Locale", x.getCountry().equals("CV") in test_ConstructorLjava_lang_StringLjava_lang_String() 83 && (x.getCountry().equals("CV") && x.getVariant().equals("ZZ"))); in test_ConstructorLjava_lang_StringLjava_lang_StringLjava_lang_String() 150 assertTrue("Returned incorrect country: " + testLocale.getCountry(), in test_getCountry() 151 testLocale.getCountry().equals("CA")); in test_getCountry() 404 assertEquals("", root.getCountry()); in test_constantROOT()
|
D | ControlTest.java | 296 assertEquals("TWO", locale.getCountry()); in test_getCandidateLocales_LStringLLocale()
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | ZoneName.java | 40 if (map != null && map.containsKey(locale.getCountry())) { in toZid() 41 zid = map.get(locale.getCountry()); in toZid()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Currency.java | 321 String country = locale.getCountry(); in getInstance()
|
D | ResourceBundle.java | 2396 bokmalList.add(Locale.getInstance("no", l.getScript(), l.getCountry(), in createObject() 2892 String country = locale.getCountry(); in toBundleName()
|
D | Locale.java | 1014 System.getProperty(category.countryKey, defaultLocale.getCountry()), in initDefault() 1231 public String getCountry() { in getCountry() method in Locale
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | MessageFormatTest.java | 104 assertEquals(l[i].getCountry(), result.getCountry()); in test_getLocale()
|
/libcore/ojluni/src/main/java/java/text/ |
D | DecimalFormatSymbols.java | 701 if (locale.getCountry().length() > 0) { in initialize()
|
/libcore/ojluni/annotations/hiddenapi/java/util/ |
D | Locale.java | 137 public java.lang.String getCountry() { in getCountry() method in Locale
|
/libcore/ojluni/annotations/sdk/nullability/java/util/ |
D | Locale.annotated.java | 77 @libcore.util.NonNull public java.lang.String getCountry() { throw new RuntimeException("Stub!"); } in getCountry() method in Locale
|
/libcore/ojluni/src/main/java/java/lang/ |
D | System.java | 1075 setUnchangeableSystemProperty("user.region", l.getCountry()); in addLegacyLocaleSystemProperties()
|
/libcore/ojluni/src/main/java/sun/security/x509/ |
D | X500Name.java | 450 public String getCountry() throws IOException { in getCountry() method in X500Name
|