/libcore/luni/src/main/java/libcore/icu/ |
D | LocaleData.java | 147 LocaleData localeData = localeDataCache.get(languageTag); in get() local 148 if (localeData != null) { in get() 149 return localeData; in get() 154 LocaleData localeData = localeDataCache.get(languageTag); in get() local 155 if (localeData != null) { in get() 156 return localeData; in get() 206 LocaleData localeData = new LocaleData(); in initLocaleData() local 207 if (!ICU.initLocaleDataNative(locale.toLanguageTag(), localeData)) { in initLocaleData() 212 localeData.timeFormat_hm = ICU.getBestDateTimePattern("hm", locale); in initLocaleData() 213 localeData.timeFormat_Hm = ICU.getBestDateTimePattern("Hm", locale); in initLocaleData() [all …]
|
D | NativeDecimalFormat.java | 275 public void setDecimalFormatSymbols(final LocaleData localeData) { in setDecimalFormatSymbols() argument 276 … setDecimalFormatSymbols(this.address, localeData.currencySymbol, localeData.decimalSeparator, in setDecimalFormatSymbols() 277 '#', localeData.exponentSeparator, localeData.groupingSeparator, in setDecimalFormatSymbols() 278 localeData.infinity, localeData.internationalCurrencySymbol, localeData.minusSign, in setDecimalFormatSymbols() 279 localeData.monetarySeparator, localeData.NaN, localeData.patternSeparator, in setDecimalFormatSymbols() 280 localeData.percent, localeData.perMill, localeData.zeroDigit); in setDecimalFormatSymbols()
|
/libcore/luni/src/main/java/java/text/ |
D | DecimalFormatSymbols.java | 89 LocaleData localeData = LocaleData.get(locale); in DecimalFormatSymbols() local 90 this.zeroDigit = localeData.zeroDigit; in DecimalFormatSymbols() 92 this.decimalSeparator = localeData.decimalSeparator; in DecimalFormatSymbols() 93 this.groupingSeparator = localeData.groupingSeparator; in DecimalFormatSymbols() 94 this.patternSeparator = localeData.patternSeparator; in DecimalFormatSymbols() 95 this.percent = localeData.percent; in DecimalFormatSymbols() 96 this.perMill = localeData.perMill; in DecimalFormatSymbols() 97 this.monetarySeparator = localeData.monetarySeparator; in DecimalFormatSymbols() 98 this.minusSign = localeData.minusSign; in DecimalFormatSymbols() 99 this.infinity = localeData.infinity; in DecimalFormatSymbols() [all …]
|
D | DateFormatSymbols.java | 62 transient LocaleData localeData; field in DateFormatSymbols 106 this.localeData = LocaleData.get(locale); in DateFormatSymbols() 107 this.ampms = localeData.amPm; in DateFormatSymbols() 108 this.eras = localeData.eras; in DateFormatSymbols() 109 this.months = localeData.longMonthNames; in DateFormatSymbols() 110 this.shortMonths = localeData.shortMonthNames; in DateFormatSymbols() 111 this.weekdays = localeData.longWeekdayNames; in DateFormatSymbols() 112 this.shortWeekdays = localeData.shortWeekdayNames; in DateFormatSymbols() 159 this.localeData = LocaleData.get(locale); in readObject()
|
D | DateFormat.java | 456 LocaleData localeData = LocaleData.get(locale); in getDateTimeInstance() local 457 … String pattern = localeData.getDateFormat(dateStyle) + " " + localeData.getTimeFormat(timeStyle); in getDateTimeInstance()
|
D | SimpleDateFormat.java | 411 LocaleData localeData = LocaleData.get(Locale.getDefault()); in defaultPattern() local 412 return localeData.getDateFormat(SHORT) + " " + localeData.getTimeFormat(SHORT); in defaultPattern() 698 LocaleData ld = formatData.localeData; in appendDayOfWeek() 702 days = standAlone ? ld.tinyStandAloneWeekdayNames : formatData.localeData.tinyWeekdayNames; in appendDayOfWeek() 718 LocaleData ld = formatData.localeData; in appendMonth() 981 LocaleData ld = formatData.localeData; in parseDayOfWeek() 997 LocaleData ld = formatData.localeData; in parseMonth()
|
/libcore/luni/src/main/native/ |
D | libcore_icu_ICU.cpp | 453 static bool getAmPmMarkersNarrow(JNIEnv* env, jobject localeData, const char* locale_name) { in getAmPmMarkersNarrow() argument 471 setStringField(env, localeData, "narrowAm", amPmMarkersNarrow.get(), 0); in getAmPmMarkersNarrow() 472 setStringField(env, localeData, "narrowPm", amPmMarkersNarrow.get(), 1); in getAmPmMarkersNarrow() 476 static bool getDateTimePatterns(JNIEnv* env, jobject localeData, const char* locale_name) { in getDateTimePatterns() argument 494 setStringField(env, localeData, "fullTimeFormat", dateTimePatterns.get(), 0); in getDateTimePatterns() 495 setStringField(env, localeData, "longTimeFormat", dateTimePatterns.get(), 1); in getDateTimePatterns() 496 setStringField(env, localeData, "mediumTimeFormat", dateTimePatterns.get(), 2); in getDateTimePatterns() 497 setStringField(env, localeData, "shortTimeFormat", dateTimePatterns.get(), 3); in getDateTimePatterns() 498 setStringField(env, localeData, "fullDateFormat", dateTimePatterns.get(), 4); in getDateTimePatterns() 499 setStringField(env, localeData, "longDateFormat", dateTimePatterns.get(), 5); in getDateTimePatterns() [all …]
|
/libcore/luni/src/main/java/java/util/ |
D | Formatter.java | 555 private LocaleData localeData; field in Formatter 565 public NativeDecimalFormat update(LocaleData localeData, String pattern) { in update() argument 568 currentLocaleData = localeData; in update() 575 if (localeData != currentLocaleData) { in update() 576 decimalFormat.setDecimalFormatSymbols(localeData); in update() 577 currentLocaleData = localeData; in update() 594 return cachedDecimalFormat.get().update(localeData, pattern); in getDecimalFormat() 1041 this.localeData = LocaleData.get(locale); in format() 1425 boolean needLocalizedDigits = (localeData.zeroDigit != '0'); in transform() 1498 int offsetToLocalizedDigits = localeData.zeroDigit - '0'; in localizeDigits() [all …]
|
D | Currency.java | 156 LocaleData localeData = LocaleData.get(locale); in getSymbol() local 157 if (localeData.internationalCurrencySymbol.equals(currencyCode)) { in getSymbol() 158 return localeData.currencySymbol; in getSymbol()
|
D | Calendar.java | 731 LocaleData localeData = LocaleData.get(locale); in Calendar() local 732 setFirstDayOfWeek(localeData.firstDayOfWeek.intValue()); in Calendar() 733 setMinimalDaysInFirstWeek(localeData.minimalDaysInFirstWeek.intValue()); in Calendar()
|
D | Date.java | 703 LocaleData localeData = LocaleData.get(Locale.US); in toString() local 707 result.append(localeData.shortWeekdayNames[cal.get(Calendar.DAY_OF_WEEK)]); in toString() 709 result.append(localeData.shortMonthNames[cal.get(Calendar.MONTH)]); in toString()
|