Home
last modified time | relevance | path

Searched defs:locale (Results 1 – 25 of 64) sorted by relevance

123

/libcore/ojluni/src/main/java/java/text/spi/
DNumberFormatProvider.java61 public abstract NumberFormat getCurrencyInstance(Locale locale); in getCurrencyInstance()
82 public abstract NumberFormat getIntegerInstance(Locale locale); in getIntegerInstance()
97 public abstract NumberFormat getNumberInstance(Locale locale); in getNumberInstance()
112 public abstract NumberFormat getPercentInstance(Locale locale); in getPercentInstance()
DBreakIteratorProvider.java61 public abstract BreakIterator getWordInstance(Locale locale); in getWordInstance()
76 public abstract BreakIterator getLineInstance(Locale locale); in getLineInstance()
91 public abstract BreakIterator getCharacterInstance(Locale locale); in getCharacterInstance()
106 public abstract BreakIterator getSentenceInstance(Locale locale); in getSentenceInstance()
DDateFormatProvider.java66 public abstract DateFormat getTimeInstance(int style, Locale locale); in getTimeInstance()
86 public abstract DateFormat getDateInstance(int style, Locale locale); in getDateInstance()
113 getDateTimeInstance(int dateStyle, int timeStyle, Locale locale); in getDateTimeInstance()
DDecimalFormatSymbolsProvider.java61 public abstract DecimalFormatSymbols getInstance(Locale locale); in getInstance()
DDateFormatSymbolsProvider.java61 public abstract DateFormatSymbols getInstance(Locale locale); in getInstance()
DCollatorProvider.java60 public abstract Collator getInstance(Locale locale); in getInstance()
/libcore/ojluni/src/main/java/java/util/spi/
DLocaleNameProvider.java69 public abstract String getDisplayLanguage(String languageCode, Locale locale); in getDisplayLanguage()
97 public String getDisplayScript(String scriptCode, Locale locale) { in getDisplayScript()
125 public abstract String getDisplayCountry(String countryCode, Locale locale); in getDisplayCountry()
143 public abstract String getDisplayVariant(String variant, Locale locale); in getDisplayVariant()
DCurrencyNameProvider.java74 public abstract String getSymbol(String currencyCode, Locale locale); in getSymbol()
95 public String getDisplayName(String currencyCode, Locale locale) { in getDisplayName()
DTimeZoneNameProvider.java79 public abstract String getDisplayName(String ID, boolean daylight, int style, Locale locale); in getDisplayName()
/libcore/ojluni/src/main/java/sun/util/
DLocaleServiceProviderPool.java182 all.add(getLookupLocale(locale)); in getLookupLocale() argument
287 private boolean isJRESupported(Locale locale) { in isJRESupported()
303 Locale locale, in getLocalizedObject()
322 Locale locale, in getLocalizedObject()
345 Locale locale, in getLocalizedObject()
354 Locale locale, in getLocalizedObjectImpl()
437 private LocaleServiceProvider findProvider(Locale locale) { in findProvider()
472 private static List<Locale> getLookupLocales(Locale locale) { in getLookupLocales()
489 private static Locale getLookupLocale(Locale locale) { in getLookupLocale()
543 Locale locale, in getObject()
/libcore/ojluni/src/main/java/java/text/
DBreakIterator.java454 public static BreakIterator getWordInstance(Locale locale) { in getWordInstance()
479 public static BreakIterator getLineInstance(Locale locale) { in getLineInstance()
504 public static BreakIterator getCharacterInstance(Locale locale) { in getCharacterInstance()
529 public static BreakIterator getSentenceInstance(Locale locale) { in getSentenceInstance()
DDateFormatSymbols.java138 public DateFormatSymbols(Locale locale) in DateFormatSymbols()
277 Locale locale = null; field in DateFormatSymbols
403 public static final DateFormatSymbols getInstance(Locale locale) { in getInstance()
417 static final DateFormatSymbols getInstanceRef(Locale locale) { in getInstanceRef()
425 private static DateFormatSymbols getProviderInstance(Locale locale) { in getProviderInstance()
444 private static DateFormatSymbols getCachedInstance(Locale locale) { in getCachedInstance()
975 Locale locale, in getObject()
DDecimalFormatSymbols.java95 public DecimalFormatSymbols( Locale locale ) { in DecimalFormatSymbols()
145 public static final DecimalFormatSymbols getInstance(Locale locale) { in getInstance()
576 private void initialize( Locale locale ) { in initialize()
1003 private Locale locale; field in DecimalFormatSymbols
1061 Locale locale, in getObject()
/libcore/luni/src/main/java/libcore/icu/
DICU.java289 public static String getBestDateTimePattern(String skeleton, Locale locale) { in getBestDateTimePattern()
362 public static String toLowerCase(String s, Locale locale) { in toLowerCase()
368 public static String toUpperCase(String s, Locale locale) { in toUpperCase()
399 public static String getCurrencyDisplayName(Locale locale, String currencyCode) { in getCurrencyDisplayName()
408 public static String getCurrencySymbol(Locale locale, String currencyCode) { in getCurrencySymbol()
414 public static String getDisplayCountry(Locale targetLocale, Locale locale) { in getDisplayCountry()
420 public static String getDisplayLanguage(Locale targetLocale, Locale locale) { in getDisplayLanguage()
426 public static String getDisplayVariant(Locale targetLocale, Locale locale) { in getDisplayVariant()
432 public static String getDisplayScript(Locale targetLocale, Locale locale) { in getDisplayScript()
442 public static Locale addLikelySubtags(Locale locale) { in addLikelySubtags()
[all …]
DTimeZoneNames.java61 @Override protected String[][] create(Locale locale) { in create()
131 public static String[][] getZoneStrings(Locale locale) { in getZoneStrings()
145 public static String[] forLocale(Locale locale) { in forLocale()
161 public static native String getExemplarLocation(String locale, String tz); in getExemplarLocation()
163 private static native void fillZoneStrings(String locale, String[][] result); in fillZoneStrings()
DRelativeDateTimeFormatter.java91 public static String getRelativeTimeSpanString(Locale locale, java.util.TimeZone tz, long time, in getRelativeTimeSpanString()
99 public static String getRelativeTimeSpanString(Locale locale, java.util.TimeZone tz, long time, in getRelativeTimeSpanString()
260 public static String getRelativeDateTimeString(Locale locale, java.util.TimeZone tz, long time, in getRelativeDateTimeString()
338 ULocale locale, android.icu.text.RelativeDateTimeFormatter.Style style, in getFormatter()
DLocaleData.java122 public static Locale mapInvalidAndNullLocales(Locale locale) { in mapInvalidAndNullLocales()
137 public static LocaleData get(Locale locale) { in get()
202 private static LocaleData initLocaleData(Locale locale) { in initLocaleData()
/libcore/ojluni/src/main/java/java/util/
DCurrency.java129 public static Currency getInstance(Locale locale) { in getInstance()
209 public String getSymbol(Locale locale) { in getSymbol()
265 public String getDisplayName(Locale locale) { in getDisplayName()
DResourceBundle.java314 private Locale locale = null; field in ResourceBundle
492 private Locale locale; field in ResourceBundle.CacheKey
516 CacheKey(String baseName, Locale locale, ClassLoader loader) { in CacheKey()
543 CacheKey setLocale(Locale locale) { in setLocale()
795 Locale locale) in getBundle()
1024 public static ResourceBundle getBundle(String baseName, Locale locale, in getBundle()
1251 private static ResourceBundle getBundleImpl(String baseName, Locale locale, in getBundleImpl()
1494 Locale locale, in throwMissingResourceException()
2302 public List<Locale> getCandidateLocales(String baseName, Locale locale) { in getCandidateLocales()
2457 public Locale getFallbackLocale(String baseName, Locale locale) { in getFallbackLocale()
[all …]
/libcore/benchmarks/src/benchmarks/regression/
DBreakIteratorBenchmark.java39 final Locale locale; field in BreakIteratorBenchmark.Text
42 Text(Locale locale, String text) { in Text()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DRuleBasedCollatorTest.java102 Locale locale = Locale.forLanguageTag("es-u-co-trad"); in testGetCollationElementIteratorString() local
119 Locale locale = new Locale("de", "DE"); in testGetCollationElementIteratorString() local
144 Locale locale = Locale.forLanguageTag("es-u-co-trad"); in testGetCollationElementIteratorCharacterIterator() local
163 Locale locale = new Locale("de", "DE"); in testGetCollationElementIteratorCharacterIterator() local
DDecimalFormatSymbolsTest.java98 Locale locale = new Locale("not exist language", "not exist country"); in test_getInstanceLjava_util_Locale() local
285 Locale locale = Locale.CANADA; in test_setCurrencyLjava_util_Currency() local
368 Locale locale = Locale.CANADA; in test_setInternationalCurrencySymbolLjava_lang_String() local
/libcore/ojluni/src/main/java/sun/util/calendar/
DEra.java96 public String getDisplayName(Locale locale) { in getDisplayName()
104 public String getDiaplayAbbreviation(Locale locale) { in getDiaplayAbbreviation()
/libcore/include/
DScopedIcuLocale.h49 icu::Locale& locale() { in locale() function
/libcore/luni/src/test/java/libcore/java/text/
DDecimalFormatSymbolsTest.java39 private void checkLocaleIsEquivalentToRoot(Locale locale) { in checkLocaleIsEquivalentToRoot()
125 public DFSForTests(Locale locale) { in DFSForTests()

123