/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 | DateTimeParseContext.java | 146 Locale getLocale() { in getLocale() method in DateTimeParseContext 147 return formatter.getLocale(); in getLocale()
|
D | DateTimePrintContext.java | 242 Locale getLocale() { 243 return formatter.getLocale();
|
D | DateTimeFormatterBuilder.java | 3116 text = provider.getText(field, value, textStyle, context.getLocale()); in format() 3118 text = provider.getText(chrono, field, value, textStyle, context.getLocale()); in format() 3137 it = provider.getTextIterator(field, style, context.getLocale()); in parse() 3139 it = provider.getTextIterator(chrono, field, style, context.getLocale()); in parse() 3765 context.getLocale()); in format() 3785 Locale locale = context.getLocale(); in getTree() 4385 buf.append(getChronologyName(chrono, context.getLocale())); in format() 4404 name = getChronologyName(chrono, context.getLocale()); in parse() 4465 … return formatter(context.getLocale(), chrono).toPrinterParser(false).format(context, buf); in format() 4471 …return formatter(context.getLocale(), chrono).toPrinterParser(false).parse(context, text, position… in parse() [all …]
|
D | DateTimeFormatter.java | 1394 public Locale getLocale() { in getLocale() method in DateTimeFormatter
|
/libcore/ojluni/src/main/java/java/util/ |
D | ResourceBundle.java | 462 public Locale getLocale() { in getLocale() method in ResourceBundle 588 Locale getLocale() { in getLocale() method in ResourceBundle.CacheKey 1491 Locale targetLocale = cacheKey.getLocale(); in loadBundle() 1644 key.getLocale(), in findBundleInCache() 1720 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() 311 assertEquals(format.getLocale(), mk); in test_ConstructorLjava_lang_StringLjava_util_Locale() 880 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 | 824 DecimalFormatSymbols result = new DecimalFormatSymbols(dfs.getLocale()); in fromIcuInstance()
|
D | MessageFormat.java | 410 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 | 10428 method public java.util.Locale getLocale(); 11700 method public java.util.Locale getLocale(); 13577 method public java.util.Locale getLocale();
|