/libcore/luni/src/test/java/libcore/highmemorytest/java/text/ |
D | DateFormatTest.java | 48 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()
|
D | DecimalFormatTest.java | 44 public Locale locale; field in DecimalFormatTest 59 currency, locale); in testCurrencySymbolSpacing() local 66 DecimalFormatSymbols dfs, Currency currency, Locale locale) { in assertCurrencyFormat()
|
D | SimpleDateFormatTest.java | 41 public Locale locale; field in SimpleDateFormatTest
|
/libcore/luni/src/main/java/libcore/icu/ |
D | LocaleData.java | 176 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()
|
D | ICU.java | 322 /* 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/ |
D | CalendarDataUtility.java | 106 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/ |
D | TestZoneTextPrinterParser.java | 62 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/ |
D | BreakIterator.java | 453 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/ |
D | TestFormatter.java | 157 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/ |
D | DateTimeTextProvider.java | 142 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/ |
D | TCKLocalizedPrinterParser.java | 144 …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/ |
D | Currency.java | 320 public static Currency getInstance(Locale locale) { in getInstance() 484 public String getSymbol(Locale locale) { in getSymbol() 566 public String getDisplayName(Locale locale) { in getDisplayName()
|
D | ResourceBundle.java | 343 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/ |
D | ScopedIcuULoc.h | 25 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/ |
D | TestChronoField.java | 124 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/ |
D | TestJapaneseChronoImpl.java | 98 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/ |
D | DateTimeFormatterTest.java | 77 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/ |
D | NumberFormatBenchmark.java | 24 private static Locale locale = Locale.getDefault(Locale.Category.FORMAT); field in NumberFormatBenchmark
|
D | DecimalFormatSymbolsBenchmark.java | 23 private static Locale locale = Locale.getDefault(Locale.Category.FORMAT); field in DecimalFormatSymbolsBenchmark
|
D | BreakIteratorBenchmark.java | 39 final Locale locale; field in BreakIteratorBenchmark.Text 42 Text(Locale locale, String text) { in Text()
|
/libcore/luni/src/test/java/libcore/highmemorytest/java/util/ |
D | CalendarTest.java | 43 public Locale locale; field in CalendarTest
|
/libcore/ojluni/annotations/hiddenapi/sun/util/calendar/ |
D | Era.java | 41 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/ |
D | RuleBasedCollatorTest.java | 102 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/ |
D | DateTimeFormatterTest.java | 48 public Locale locale; field in DateTimeFormatterTest
|
/libcore/ojluni/src/main/java/sun/util/calendar/ |
D | Era.java | 97 public String getDisplayName(Locale locale) { in getDisplayName() 105 public String getDiaplayAbbreviation(Locale locale) { in getDiaplayAbbreviation()
|