/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 | 242 Locale getLocale() { 243 return formatter.getLocale();
|
D | DateTimeParseContext.java | 146 Locale getLocale() { in getLocale() method in DateTimeParseContext 147 return formatter.getLocale(); in getLocale()
|
D | DateTimeFormatterBuilder.java | 3107 text = provider.getText(field, value, textStyle, context.getLocale()); in format() 3109 text = provider.getText(chrono, field, value, textStyle, context.getLocale()); in format() 3128 it = provider.getTextIterator(field, style, context.getLocale()); in parse() 3130 it = provider.getTextIterator(chrono, field, style, context.getLocale()); in parse() 3756 context.getLocale()); in format() 3776 Locale locale = context.getLocale(); in getTree() 4374 buf.append(getChronologyName(chrono, context.getLocale())); in format() 4393 name = getChronologyName(chrono, context.getLocale()); in parse() 4454 … return formatter(context.getLocale(), chrono).toPrinterParser(false).format(context, buf); in format() 4460 …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()
|