/libcore/luni/src/main/native/ |
D | ScopedIcuULoc.h | 25 static void getLocale(const char* localeName, std::string& locale, UErrorCode* status) { in getLocale() function 70 getLocale(localeName.c_str(), mLocale, &status); in ScopedIcuULoc()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | ResourceBundleTest.java | 274 assertEquals("fr_FR_VAR", bundle.getLocale().toString()); in test_getLocale() 277 assertEquals("fr_FR", bundle.getLocale().toString()); in test_getLocale() 280 assertEquals("fr", bundle.getLocale().toString()); in test_getLocale() 283 assertEquals("en_US", bundle.getLocale().toString()); in test_getLocale() 286 assertEquals("en_US", bundle.getLocale().toString()); in test_getLocale() 289 assertEquals("en_US", bundle.getLocale().toString()); in test_getLocale()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimePrintContext.java | 249 Locale getLocale() { 250 return formatter.getLocale();
|
D | DateTimeParseContext.java | 146 Locale getLocale() { in getLocale() method in DateTimeParseContext 147 return formatter.getLocale(); in getLocale()
|
D | DateTimeFormatterBuilder.java | 3405 text = provider.getText(field, value, textStyle, context.getLocale()); in format() 3407 text = provider.getText(chrono, field, value, textStyle, context.getLocale()); in format() 3426 it = provider.getTextIterator(field, style, context.getLocale()); in parse() 3428 it = provider.getTextIterator(chrono, field, style, context.getLocale()); in parse() 3969 String gmtText = ICU.getGMTZeroFormatString(context.getLocale()); in format() 4021 String gmtText = ICU.getGMTZeroFormatString(context.getLocale()); in parse() 4257 String name = getDisplayName(zname, type, context.getLocale()); in format() 4277 Locale locale = context.getLocale(); in getTree() 4904 buf.append(getChronologyName(chrono, context.getLocale())); in format() 4923 name = getChronologyName(chrono, context.getLocale()); in parse() [all …]
|
D | DateTimeFormatter.java | 1443 public Locale getLocale() { in getLocale() method in DateTimeFormatter
|
/libcore/ojluni/src/main/java/java/util/ |
D | ResourceBundle.java | 492 public Locale getLocale() { in getLocale() method in ResourceBundle 677 Locale getLocale() { in getLocale() method in ResourceBundle.CacheKey 2032 Locale targetLocale = cacheKey.getLocale(); in loadBundle() 2199 key.getLocale(), in findBundleInCache() 2276 cacheKey.getLocale()); in setExpirationTime()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | MessageFormatTest.java | 101 Locale result = mf.getLocale(); in test_getLocale() 109 Locale result = mf.getLocale(); in test_getLocale() 312 assertEquals(format.getLocale(), mk); in test_ConstructorLjava_lang_StringLjava_util_Locale() 881 assertEquals("Wrong locale1", Locale.CHINA, format.getLocale()); in test_setLocaleLjava_util_Locale()
|
/libcore/ojluni/src/main/java/java/util/logging/ |
D | Level.java | 278 final Locale rbLocale = rb.getLocale(); in computeLocalizedLevelName()
|
/libcore/ojluni/src/main/java/java/text/ |
D | DecimalFormatSymbols.java | 1067 DecimalFormatSymbols result = new DecimalFormatSymbols(dfs.getLocale());
|
D | MessageFormat.java | 421 public Locale getLocale() { in getLocale() method in MessageFormat
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeFormatters.java | 133 assertEquals(test.getLocale(), fmtLocale, "Locale.Category.FORMAT"); in test_pattern_String() 153 assertEquals(test.getLocale(), Locale.UK); in test_pattern_StringLocale()
|
D | TCKDateTimeFormatter.java | 139 assertEquals(test.getLocale(), Locale.GERMAN); in test_withLocale()
|
/libcore/api/ |
D | current.txt | 11231 method public java.util.Locale getLocale(); 12614 method public java.util.Locale getLocale(); 14733 method public java.util.Locale getLocale();
|