Home
last modified time | relevance | path

Searched refs:getLocale (Results 1 – 14 of 14) sorted by relevance

/libcore/luni/src/main/native/
DScopedIcuULoc.h25 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/
DResourceBundleTest.java274 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/
DDateTimeParseContext.java146 Locale getLocale() { in getLocale() method in DateTimeParseContext
147 return formatter.getLocale(); in getLocale()
DDateTimePrintContext.java242 Locale getLocale() {
243 return formatter.getLocale();
DDateTimeFormatterBuilder.java3116 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 …]
DDateTimeFormatter.java1394 public Locale getLocale() { in getLocale() method in DateTimeFormatter
/libcore/ojluni/src/main/java/java/util/
DResourceBundle.java462 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/
DMessageFormatTest.java101 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/
DLevel.java278 final Locale rbLocale = rb.getLocale(); in computeLocalizedLevelName()
/libcore/ojluni/src/main/java/java/text/
DDecimalFormatSymbols.java824 DecimalFormatSymbols result = new DecimalFormatSymbols(dfs.getLocale()); in fromIcuInstance()
DMessageFormat.java410 public Locale getLocale() { in getLocale() method in MessageFormat
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKDateTimeFormatters.java133 assertEquals(test.getLocale(), fmtLocale, "Locale.Category.FORMAT"); in test_pattern_String()
153 assertEquals(test.getLocale(), Locale.UK); in test_pattern_StringLocale()
DTCKDateTimeFormatter.java139 assertEquals(test.getLocale(), Locale.GERMAN); in test_withLocale()
/libcore/api/
Dcurrent.txt10428 method public java.util.Locale getLocale();
11700 method public java.util.Locale getLocale();
13577 method public java.util.Locale getLocale();