Home
last modified time | relevance | path

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

12345

/libcore/luni/src/test/java/libcore/highmemorytest/java/text/
DDateFormatTest.java48 public Locale locale; field in DateFormatTest
80 assertSupportedSymbols(DateFormat.getDateInstance(formatStyle, locale), locale); in test_toPattern_allLocales() local
81 assertSupportedSymbols(DateFormat.getTimeInstance(formatStyle, locale), locale); in test_toPattern_allLocales() local
83 formatStyle, formatStyle, locale), locale); in test_toPattern_allLocales() local
95 private static void assertSupportedSymbols(DateFormat dateFormat, Locale locale) { in assertSupportedSymbols()
DDecimalFormatTest.java44 public Locale locale; field in DecimalFormatTest
59 currency, locale); in testCurrencySymbolSpacing() local
66 DecimalFormatSymbols dfs, Currency currency, Locale locale) { in assertCurrencyFormat()
DSimpleDateFormatTest.java41 public Locale locale; field in SimpleDateFormatTest
/libcore/luni/src/main/java/libcore/icu/
DLocaleData.java176 private LocaleData(Locale locale) { in LocaleData()
185 public static Locale mapInvalidAndNullLocales(Locale locale) { in mapInvalidAndNullLocales()
203 public static Locale getCompatibleLocaleForBug159514442(Locale locale) { in getCompatibleLocaleForBug159514442()
220 public static LocaleData get(Locale locale) { in get()
294 public static LocaleData initLocaleData(Locale locale) { in initLocaleData()
327 private static void initializePatternSeparator(LocaleData localeData, Locale locale) { in initializePatternSeparator()
349 private void initializeDateFormatData(Locale locale) { in initializeDateFormatData()
378 private void initializeDecimalFormatData(Locale locale) { in initializeDecimalFormatData()
405 private void initializeCalendarData(Locale locale) { in initializeCalendarData()
412 private void initializeDateTimePatterns(Locale locale) { in initializeDateTimePatterns()
DICU.java322 /* package */ static String getTimePattern(Locale locale, boolean is24Hour, boolean withSecond) { in getTimePattern()
333 public static String getBestDateTimePattern(String skeleton, Locale locale) { in getBestDateTimePattern()
346 private static String getBestDateTimePattern0(String skeleton, Locale locale) { in getBestDateTimePattern0()
555 public static Locale addLikelySubtags(Locale locale) { in addLikelySubtags()
566 public static String addLikelySubtags(String locale) { in addLikelySubtags()
576 public static native String getScript(String locale); in getScript()
597 public static ExtendedCalendar getExtendedCalendar(Locale locale, String calendarType) { in getExtendedCalendar()
/libcore/ojluni/src/main/java/sun/util/locale/provider/
DCalendarDataUtility.java106 Locale locale) { in retrieveFieldValueName()
153 Locale locale) { in retrieveJavaTimeFieldValueName()
169 Locale locale) { in retrieveFieldValueNames()
200 int style, Locale locale) { in retrieveJavaTimeFieldValueNames()
230 Locale locale) { in retrieveFieldValueNamesImpl()
265 private static String[] getNames(String id, int field, int style, Locale locale) { in getNames()
292 private static DateFormatSymbols getDateFormatSymbols(@NonNull String id, Locale locale) { in getDateFormatSymbols()
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestZoneTextPrinterParser.java62 protected static DateTimeFormatter getFormatter(Locale locale, TextStyle style) { in getFormatter()
126 …private void printText(Locale locale, ZonedDateTime zdt, TextStyle style, TimeZone zone, String ex… in printText()
204 …public void test_ParseText(String expected, String text, Set<ZoneId> preferred, Locale locale, Tex… in test_ParseText()
221 private void parseText(Set<String> zids, Locale locale, TextStyle style, boolean ci) { in parseText()
241 Locale locale, TextStyle style, boolean ci) { in parse()
261 private DateTimeFormatter getFormatter(Locale locale, TextStyle style, boolean ci) { in getFormatter()
/libcore/ojluni/src/main/java/java/text/
DBreakIterator.java453 public static BreakIterator getWordInstance(Locale locale) in getWordInstance()
479 public static BreakIterator getLineInstance(Locale locale) in getLineInstance()
505 public static BreakIterator getCharacterInstance(Locale locale) in getCharacterInstance()
531 public static BreakIterator getSentenceInstance(Locale locale) in getSentenceInstance()
/libcore/ojluni/src/test/java/time/test/java/util/
DTestFormatter.java157 private String test(String fmtStr, Locale locale, in test()
174 private void printFmtStr(Locale locale, String fmtStr) { in printFmtStr()
181 private void testDate(String fmtStr, Locale locale, in testDate()
193 private void testTime(String fmtStr, Locale locale, in testTime()
219 private void testZoneId(Locale locale, ChronoZonedDateTime<?> zdt, Calendar cal) { in testZoneId()
243 private void testInstant(Locale locale, Instant instant, in testInstant()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeTextProvider.java142 public String getText(TemporalField field, long value, TextStyle style, Locale locale) { in getText()
166 TextStyle style, Locale locale) { in getText()
220 …terator<Entry<String, Long>> getTextIterator(TemporalField field, TextStyle style, Locale locale) { in getTextIterator()
246 TextStyle style, Locale locale) { in getTextIterator()
310 private Object findStore(TemporalField field, Locale locale) { in findStore()
329 private Object createStore(TemporalField field, Locale locale) { in createStore()
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKLocalizedPrinterParser.java144 …blic void test_date_print(LocalDate date, FormatStyle dateStyle, int dateStyleOld, Locale locale) { in test_date_print()
156 …blic void test_date_parse(LocalDate date, FormatStyle dateStyle, int dateStyleOld, Locale locale) { in test_date_parse()
197 …blic void test_time_print(LocalTime time, FormatStyle timeStyle, int timeStyleOld, Locale locale) { in test_time_print()
209 …blic void test_time_parse(LocalTime time, FormatStyle timeStyle, int timeStyleOld, Locale locale) { in test_time_parse()
/libcore/ojluni/src/main/java/java/util/
DCurrency.java320 public static Currency getInstance(Locale locale) { in getInstance()
484 public String getSymbol(Locale locale) { in getSymbol()
566 public String getDisplayName(Locale locale) { in getDisplayName()
DResourceBundle.java343 private Locale locale = null; field in ResourceBundle
541 private Locale locale; field in ResourceBundle.CacheKey
565 CacheKey(String baseName, Locale locale, ClassLoader loader) { in CacheKey()
592 CacheKey setLocale(Locale locale) { in setLocale()
841 Locale locale) in getBundle()
1070 public static ResourceBundle getBundle(String baseName, Locale locale, in getBundle()
1311 private static ResourceBundle getBundleImpl(String baseName, Locale locale, in getBundleImpl()
1554 Locale locale, in throwMissingResourceException()
2360 public List<Locale> getCandidateLocales(String baseName, Locale locale) { in getCandidateLocales()
2524 public Locale getFallbackLocale(String baseName, Locale locale) { in getFallbackLocale()
[all …]
/libcore/luni/src/main/native/
DScopedIcuULoc.h25 static void getLocale(const char* localeName, std::string& locale, UErrorCode* status) { in getLocale()
81 const char* locale() const { in locale() function
/libcore/ojluni/src/test/java/time/test/java/time/temporal/
DTestChronoField.java124 Locale locale = Locale.US; in test_IsoFields_week_based_year() local
137 Locale locale = Locale.US; in test_WeekFields_week_based_year() local
/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestJapaneseChronoImpl.java98 Locale locale = Locale.forLanguageTag("ja-JP-u-ca-japanese"); in test_JapaneseChrono_vsCalendar() local
129 Locale locale = Locale.forLanguageTag("ja-JP-u-ca-japanese"); in test_dayOfYearVsCalendar() local
/libcore/luni/src/test/java/libcore/java/time/format/
DDateTimeFormatterTest.java77 Locale locale = new Locale("agq"); in test_format_locale_agq() local
85 Locale locale = Locale.US; in test_format_locale_en_US() local
/libcore/benchmarks/src/benchmarks/regression/
DNumberFormatBenchmark.java24 private static Locale locale = Locale.getDefault(Locale.Category.FORMAT); field in NumberFormatBenchmark
DDecimalFormatSymbolsBenchmark.java23 private static Locale locale = Locale.getDefault(Locale.Category.FORMAT); field in DecimalFormatSymbolsBenchmark
DBreakIteratorBenchmark.java39 final Locale locale; field in BreakIteratorBenchmark.Text
42 Text(Locale locale, String text) { in Text()
/libcore/luni/src/test/java/libcore/highmemorytest/java/util/
DCalendarTest.java43 public Locale locale; field in CalendarTest
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/
DEra.java41 public java.lang.String getDisplayName(java.util.Locale locale) { in getDisplayName()
50 public java.lang.String getDiaplayAbbreviation(java.util.Locale locale) { in getDiaplayAbbreviation()
/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
/libcore/luni/src/test/java/libcore/highmemorytest/java/time/format/
DDateTimeFormatterTest.java48 public Locale locale; field in DateTimeFormatterTest
/libcore/ojluni/src/main/java/sun/util/calendar/
DEra.java97 public String getDisplayName(Locale locale) { in getDisplayName()
105 public String getDiaplayAbbreviation(Locale locale) { in getDiaplayAbbreviation()

12345