/libcore/ojluni/src/main/java/sun/util/locale/provider/ |
D | CalendarDataUtility.java | 104 Locale locale) { in retrieveFieldValueName() 151 Locale locale) { in retrieveJavaTimeFieldValueName() 167 Locale locale) { in retrieveFieldValueNames() 198 int style, Locale locale) { in retrieveJavaTimeFieldValueNames() 226 Locale locale) { in retrieveFieldValueNamesImpl() 261 private static String[] getNames(String id, int field, int style, Locale locale) { in getNames() 288 private static DateFormatSymbols getDateFormatSymbols(String id, Locale locale) { in getDateFormatSymbols()
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestZoneTextPrinterParser.java | 63 protected static DateTimeFormatter getFormatter(Locale locale, TextStyle style) { in getFormatter() 113 …private void printText(Locale locale, ZonedDateTime zdt, TextStyle style, TimeZone zone, String ex… in printText() 191 …public void test_ParseText(String expected, String text, Set<ZoneId> preferred, Locale locale, Tex… in test_ParseText() 208 private void parseText(Set<String> zids, Locale locale, TextStyle style, boolean ci) { in parseText() 228 Locale locale, TextStyle style, boolean ci) { in parse() 248 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()
|
D | DateFormatSymbols.java | 139 public DateFormatSymbols(Locale locale) in DateFormatSymbols() 283 Locale locale = null; field in DateFormatSymbols 406 public static final DateFormatSymbols getInstance(Locale locale) { in getInstance() 417 static final DateFormatSymbols getInstanceRef(Locale locale) { in getInstanceRef() 429 private static DateFormatSymbols getCachedInstance(Locale locale) { in getCachedInstance() 820 private void initializeData(Locale locale) { in initializeData()
|
/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/luni/src/main/java/libcore/icu/ |
D | ICU.java | 299 public static String getBestDateTimePattern(String skeleton, Locale locale) { in getBestDateTimePattern() 375 public static String toLowerCase(String s, Locale locale) { in toLowerCase() 381 public static String toUpperCase(String s, Locale locale) { in toUpperCase() 412 public static String getCurrencyDisplayName(Locale locale, String currencyCode) { in getCurrencyDisplayName() 421 public static String getCurrencySymbol(Locale locale, String currencyCode) { in getCurrencySymbol() 427 public static String getDisplayCountry(Locale targetLocale, Locale locale) { in getDisplayCountry() 433 public static String getDisplayLanguage(Locale targetLocale, Locale locale) { in getDisplayLanguage() 439 public static String getDisplayVariant(Locale targetLocale, Locale locale) { in getDisplayVariant() 445 public static String getDisplayScript(Locale targetLocale, Locale locale) { in getDisplayScript() 457 public static Locale addLikelySubtags(Locale locale) { in addLikelySubtags() [all …]
|
D | TimeZoneNames.java | 54 @Override protected String[][] create(Locale locale) { in create() 150 public static String[][] getZoneStrings(Locale locale) { in getZoneStrings() 157 private static native void fillZoneStrings(String locale, String[][] result); in fillZoneStrings()
|
D | LocaleData.java | 160 public static Locale mapInvalidAndNullLocales(Locale locale) { in mapInvalidAndNullLocales() 177 public static LocaleData get(Locale locale) { in get() 243 private static LocaleData initLocaleData(Locale locale) { in initLocaleData() 280 private static void initializePatternSeparator(LocaleData localeData, Locale locale) { in initializePatternSeparator()
|
D | RelativeDateTimeFormatter.java | 95 public static String getRelativeTimeSpanString(Locale locale, java.util.TimeZone tz, long time, in getRelativeTimeSpanString() 103 public static String getRelativeTimeSpanString(Locale locale, java.util.TimeZone tz, long time, in getRelativeTimeSpanString() 265 public static String getRelativeDateTimeString(Locale locale, java.util.TimeZone tz, long time, in getRelativeDateTimeString() 343 ULocale locale, android.icu.text.RelativeDateTimeFormatter.Style style, in getFormatter()
|
/libcore/luni/src/test/java/libcore/libcore/icu/ |
D | AlphabeticIndexTest.java | 45 Locale locale = Locale.forLanguageTag(language); in testBucketCount_withNoIndexCharacters() local 64 private void verifyIndex(Locale locale) { in verifyIndex()
|
/libcore/luni/src/test/java/libcore/java/text/ |
D | DecimalFormatTest.java | 170 …iplierAndFractionByLocale(String value, int multiplier, int fraction, Locale locale, String expect… in assertDecFmtWithMultiplierAndFractionByLocale() 298 currency, locale); in testCurrencySymbolSpacing() local 306 Currency currency, Locale locale) { in assertCurrencyFormat() 361 private String formatArbitraryCurrencyAmountInLocale(Currency currency, Locale locale) { in formatArbitraryCurrencyAmountInLocale() 375 Locale locale = new Locale("de", "AT"); in testLocaleGroupingSeparator() local 411 Locale locale; in testPerMill() local 468 Locale locale; in testPercent() local 510 Locale locale; in testMinusSign() local 560 Locale locale = new Locale("ar"); in testPlusSign() local 611 private static DecimalFormat[] createDecimalFormatInstances(Locale locale, String pattern) { in createDecimalFormatInstances()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Currency.java | 320 public static Currency getInstance(Locale locale) { in getInstance() 479 public String getSymbol(Locale locale) { in getSymbol() 561 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/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/time/format/ |
D | DateTimeTextProvider.java | 141 public String getText(TemporalField field, long value, TextStyle style, Locale locale) { in getText() 165 TextStyle style, Locale locale) { in getText() 219 …terator<Entry<String, Long>> getTextIterator(TemporalField field, TextStyle style, Locale locale) { in getTextIterator() 245 TextStyle style, Locale locale) { in getTextIterator() 309 private Object findStore(TemporalField field, Locale locale) { in findStore() 328 private Object createStore(TemporalField field, Locale locale) { in createStore()
|
D | ZoneName.java | 43 public static String toZid(String zid, Locale locale) { in toZid()
|
/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/benchmarks/src/benchmarks/regression/ |
D | DecimalFormatSymbolsBenchmark.java | 23 private static Locale locale = Locale.getDefault(Locale.Category.FORMAT); field in DecimalFormatSymbolsBenchmark
|
D | NumberFormatBenchmark.java | 24 private static Locale locale = Locale.getDefault(Locale.Category.FORMAT); field in NumberFormatBenchmark
|
D | BreakIteratorBenchmark.java | 39 final Locale locale; field in BreakIteratorBenchmark.Text 42 Text(Locale locale, String text) { in Text()
|
/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/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()
|
/libcore/luni/src/main/native/ |
D | ScopedIcuLocale.h | 49 icu::Locale& locale() { in locale() function
|