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/
DDateTimePrintContext.java249 Locale getLocale() {
250 return formatter.getLocale();
DDateTimeParseContext.java146 Locale getLocale() { in getLocale() method in DateTimeParseContext
147 return formatter.getLocale(); in getLocale()
DDateTimeFormatterBuilder.java3405 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 …]
DDateTimeFormatter.java1443 public Locale getLocale() { in getLocale() method in DateTimeFormatter
/libcore/ojluni/src/main/java/java/util/
DResourceBundle.java492 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/
DMessageFormatTest.java101 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/
DLevel.java278 final Locale rbLocale = rb.getLocale(); in computeLocalizedLevelName()
/libcore/ojluni/src/main/java/java/text/
DDecimalFormatSymbols.java1067 DecimalFormatSymbols result = new DecimalFormatSymbols(dfs.getLocale());
DMessageFormat.java421 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.txt11231 method public java.util.Locale getLocale();
12614 method public java.util.Locale getLocale();
14733 method public java.util.Locale getLocale();