/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 | 51 currency, locale); in testCurrencySymbolSpacing() local 58 DecimalFormatSymbols dfs, Currency currency, Locale locale) { in assertCurrencyFormat()
|
/libcore/ojluni/src/test/java/text/testlib/ |
D | TestUtils.java | 47 public static boolean usesGregorianCalendar(Locale locale) { in usesGregorianCalendar() 54 public static boolean usesAsciiDigits(Locale locale) { in usesAsciiDigits() 70 public static boolean hasSpecialVariant(Locale locale) { in hasSpecialVariant()
|
/libcore/ojluni/src/main/java/sun/util/locale/provider/ |
D | CalendarDataUtility.java | 83 public static int retrieveFirstDayOfWeek(Locale locale, int defaultFirstDayOfWeek) { in retrieveFirstDayOfWeek() 142 Locale locale) { in retrieveFieldValueName() 189 Locale locale) { in retrieveJavaTimeFieldValueName() 205 Locale locale) { in retrieveFieldValueNames() 236 int style, Locale locale) { in retrieveJavaTimeFieldValueNames() 296 Locale locale) { in retrieveFieldValueNamesImpl() 331 private static String[] getNames(String id, int field, int style, Locale locale) { in getNames() 358 private static DateFormatSymbols getDateFormatSymbols(@NonNull String id, Locale locale) { in getDateFormatSymbols()
|
/libcore/luni/src/main/java/libcore/icu/ |
D | LocaleData.java | 147 public static Locale mapInvalidAndNullLocales(Locale locale) { in mapInvalidAndNullLocales() 165 public static Locale getCompatibleLocaleForBug159514442(Locale locale) { in getCompatibleLocaleForBug159514442() 182 public static LocaleData get(Locale locale) { in get() 214 public static LocaleData initLocaleData(Locale locale) { in initLocaleData() 223 private void initializeDateFormatData(Locale locale) { in initializeDateFormatData() 252 private void initializeCalendarData(Locale locale) { in initializeCalendarData()
|
D | SimpleDateFormatData.java | 40 private final Locale locale; field in SimpleDateFormatData 54 private SimpleDateFormatData(Locale locale) { in SimpleDateFormatData() 97 public static SimpleDateFormatData getInstance(Locale locale) { in getInstance() 228 private static boolean isBug266731719Locale(Locale locale) { in isBug266731719Locale()
|
D | ICU.java | 353 /* package */ static String getTimePattern(Locale locale, boolean is24Hour, boolean withSecond) { in getTimePattern() 367 public static String getBestDateTimePattern(String skeleton, Locale locale) { in getBestDateTimePattern() 380 private static String getBestDateTimePattern0(String skeleton, Locale locale) { in getBestDateTimePattern0() 689 public static Locale addLikelySubtags(Locale locale) { in addLikelySubtags() 700 public static String addLikelySubtags(String locale) { in addLikelySubtags() 710 public static native String getScript(String locale); in getScript() 731 public static ExtendedCalendar getExtendedCalendar(Locale locale, String calendarType) { in getExtendedCalendar() 756 public static String getGMTZeroFormatString(Locale locale) { in getGMTZeroFormatString()
|
D | DecimalFormatData.java | 58 private DecimalFormatData(Locale locale) { in DecimalFormatData() 94 public static DecimalFormatData getInstance(Locale locale) { in getInstance() 187 private static char loadPatternSeparator(Locale locale) { in loadPatternSeparator()
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | DateFormatTest.java | 62 final Locale locale = Locale.US; in checkTimePattern() local 72 Locale locale = Locale.forLanguageTag("en-u-tz-usden"); in testGetTimeInstance_withLocaleExtension() local 88 private static void assertParse_lenient_en(Locale locale) throws ParseException { in assertParse_lenient_en() 112 private static void assertFormat_forBug266731719(Locale locale) { in assertFormat_forBug266731719()
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestZoneTextPrinterParser.java | 64 protected static DateTimeFormatter getFormatter(Locale locale, TextStyle style) { in getFormatter() 148 …private void printText(Locale locale, ZonedDateTime zdt, TextStyle style, TimeZone zone, String ex… in printText() 235 …public void test_ParseText(String expected, String text, Set<ZoneId> preferred, Locale locale, Tex… in test_ParseText() 252 private void parseText(Set<String> zids, Locale locale, TextStyle style, boolean ci) { in parseText() 272 Locale locale, TextStyle style, boolean ci) { in parse() 292 private DateTimeFormatter getFormatter(Locale locale, TextStyle style, boolean ci) { in getFormatter()
|
D | TestUnicodeExtension.java | 841 public void test_localizedBy(Locale locale, Chronology chrono, ZoneId zone, in test_localizedBy() 871 public void test_withLocale(Locale locale, Chronology chrono, ZoneId zone, in test_withLocale() 891 public void test_firstDayOfWeek(Locale locale, DayOfWeek dowExpected) { in test_firstDayOfWeek() 897 public void test_minDaysInFirstWeek(Locale locale, int minDaysExpected) { in test_minDaysInFirstWeek() 903 public void test_ofPattern(Locale locale, in test_ofPattern() 917 public void test_toFormatter(Locale locale, in test_toFormatter()
|
D | TestTextParserWithLocale.java | 116 …public void test_parseDayOfWeekText(Locale locale, String pattern, String input, DayOfWeek expecte… in test_parseDayOfWeekText() 151 …public void test_parseStandaloneText(Locale locale, TemporalField field, TextStyle style, int expe… in test_parseStandaloneText() 180 …public void test_parseLenientText(Locale locale, TemporalField field, int expectedValue, String in… in test_parseLenientText()
|
/libcore/ojluni/src/main/java/java/text/ |
D | BreakIterator.java | 454 public static BreakIterator getWordInstance(Locale locale) in getWordInstance() 480 public static BreakIterator getLineInstance(Locale locale) in getLineInstance() 506 public static BreakIterator getCharacterInstance(Locale locale) in getCharacterInstance() 532 public static BreakIterator getSentenceInstance(Locale locale) in getSentenceInstance()
|
/libcore/ojluni/src/test/java/time/test/java/util/ |
D | TestFormatter.java | 162 private String test(String fmtStr, Locale locale, in test() 217 private void printFmtStr(Locale locale, String fmtStr) { in printFmtStr() 224 private void testDate(String fmtStr, Locale locale, in testDate() 236 private void testTime(String fmtStr, Locale locale, in testTime() 257 private void testZoneId(Locale locale, ChronoZonedDateTime<?> zdt, Calendar cal) { in testZoneId() 280 private void testInstant(Locale locale, Instant instant, in testInstant()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKLocalizedPrinterParser.java | 146 …blic void test_date_print(LocalDate date, FormatStyle dateStyle, int dateStyleOld, Locale locale) { in test_date_print() 158 …blic void test_date_parse(LocalDate date, FormatStyle dateStyle, int dateStyleOld, Locale locale) { in test_date_parse() 199 …blic void test_time_print(LocalTime time, FormatStyle timeStyle, int timeStyleOld, Locale locale) { in test_time_print() 215 …blic void test_time_parse(LocalTime time, FormatStyle timeStyle, int timeStyleOld, Locale locale) { in test_time_parse()
|
/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/main/java/java/time/format/ |
D | DateTimeTextProvider.java | 145 public String getText(TemporalField field, long value, TextStyle style, Locale locale) { in getText() 169 TextStyle style, Locale locale) { in getText() 223 …terator<Entry<String, Long>> getTextIterator(TemporalField field, TextStyle style, Locale locale) { in getTextIterator() 249 TextStyle style, Locale locale) { in getTextIterator() 313 private Object findStore(TemporalField field, Locale locale) { in findStore() 332 private Object createStore(TemporalField field, Locale locale) { in createStore()
|
/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 136 Locale locale = Locale.US; in test_WeekFields_week_based_year() local
|
/libcore/ojluni/src/main/java/java/util/ |
D | Currency.java | 353 public static Currency getInstance(Locale locale) { in getInstance() 546 public String getSymbol(Locale locale) { in getSymbol() 660 public String getDisplayName(Locale locale) { in getDisplayName()
|
D | ResourceBundle.java | 391 private Locale locale = null; field in ResourceBundle 591 private volatile Locale locale; field in ResourceBundle.CacheKey 631 CacheKey(String baseName, Locale locale, ClassLoader loader) { in CacheKey() 681 CacheKey setLocale(Locale locale) { in setLocale() 952 Locale locale) in getBundle() 1285 public static ResourceBundle getBundle(String baseName, Locale locale, in getBundle() 1585 Locale locale, in getBundleImpl() 1603 Locale locale, in getBundleImpl() 1654 private static ResourceBundle getBundleImpl(String baseName, Locale locale, in getBundleImpl() 2103 Locale locale, in throwMissingResourceException() [all …]
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
D | TestEraDisplayName.java | 204 public void test_eraDisplayName(Era era, TextStyle style, Locale locale, String expected) { in test_eraDisplayName() 209 public void test_reiwaNames(Locale locale) throws DateTimeParseException { in test_reiwaNames()
|
D | TestJapaneseChronoImpl.java | 101 Locale locale = Locale.forLanguageTag("ja-JP-u-ca-japanese"); in test_JapaneseChrono_vsCalendar() local 132 Locale locale = Locale.forLanguageTag("ja-JP-u-ca-japanese"); in test_dayOfYearVsCalendar() 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
|
/libcore/luni/src/test/java/libcore/highmemorytest/java/util/ |
D | CalendarTest.java | 43 public Locale locale; field in CalendarTest
|