Home
last modified time | relevance | path

Searched refs:simpleFormats (Results 1 – 7 of 7) sorted by relevance

/external/icu/icu4c/source/i18n/
Dnumber_longnames.cpp251 UnicodeString simpleFormats[ARRAY_LENGTH]; in forMeasureUnit() local
252 getMeasureData(loc, unit, width, simpleFormats, status); in forMeasureUnit()
258 … fillIn->simpleFormatsToModifiers(simpleFormats, {UFIELD_CATEGORY_NUMBER, UNUM_MEASURE_UNIT_FIELD}, in forMeasureUnit()
331 UnicodeString simpleFormats[ARRAY_LENGTH]; in getUnitDisplayName() local
332 getMeasureData(loc, unit, width, simpleFormats, status); in getUnitDisplayName()
333 return simpleFormats[DNAM_INDEX]; in getUnitDisplayName()
345 UnicodeString simpleFormats[ARRAY_LENGTH]; in getUnitPattern() local
346 getMeasureData(loc, unit, width, simpleFormats, status); in getUnitPattern()
352 return (!(simpleFormats[pluralForm]).isBogus())? simpleFormats[pluralForm]: in getUnitPattern()
353 simpleFormats[StandardPlural::Form::OTHER]; in getUnitPattern()
[all …]
Dnumber_longnames.h108 …void simpleFormatsToModifiers(const UnicodeString *simpleFormats, Field field, UErrorCode &status);
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DLongNameHandler.java189 String[] simpleFormats = new String[ARRAY_LENGTH]; in forCurrencyLongNames() local
190 getCurrencyLongNameData(locale, currency, simpleFormats); in forCurrencyLongNames()
195 result.simpleFormatsToModifiers(simpleFormats, NumberFormat.Field.CURRENCY); in forCurrencyLongNames()
239 String[] simpleFormats = new String[ARRAY_LENGTH]; in forMeasureUnit() local
240 getMeasureData(locale, unit, width, simpleFormats); in forMeasureUnit()
245 result.simpleFormatsToModifiers(simpleFormats, NumberFormat.Field.MEASURE_UNIT); in forMeasureUnit()
294 String[] simpleFormats, in simpleFormatsToModifiers() argument
298 String simpleFormat = getWithPlural(simpleFormats, plural); in simpleFormatsToModifiers()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DLongNameHandler.java185 String[] simpleFormats = new String[ARRAY_LENGTH]; in forCurrencyLongNames() local
186 getCurrencyLongNameData(locale, currency, simpleFormats); in forCurrencyLongNames()
191 result.simpleFormatsToModifiers(simpleFormats, NumberFormat.Field.CURRENCY); in forCurrencyLongNames()
235 String[] simpleFormats = new String[ARRAY_LENGTH]; in forMeasureUnit() local
236 getMeasureData(locale, unit, width, simpleFormats); in forMeasureUnit()
241 result.simpleFormatsToModifiers(simpleFormats, NumberFormat.Field.MEASURE_UNIT); in forMeasureUnit()
290 String[] simpleFormats, in simpleFormatsToModifiers() argument
294 String simpleFormat = getWithPlural(simpleFormats, plural); in simpleFormatsToModifiers()
/external/icu/libicu/cts_headers/
Dnumber_longnames.h108 …void simpleFormatsToModifiers(const UnicodeString *simpleFormats, Field field, UErrorCode &status);
/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateEnums.java420 DateFormat[] simpleFormats = { new SimpleDateFormat("yyyy-MM-dd"), in loadCLDRData() local
436 for (int i = 0; i < simpleFormats.length; ++i) { in loadCLDRData()
438 Date foo = simpleFormats[i].parse(to); in loadCLDRData()
/external/cldr/tools/java/org/unicode/cldr/util/
DSupplementalDataInfo.java541 static final DateFormat[] simpleFormats = {
549 for (DateFormat format : simpleFormats) {
559 for (int i = 0; i < simpleFormats.length; ++i) {
561 synchronized (simpleFormats[i]) {
562 Date result = simpleFormats[i].parse(dateString);
588 synchronized (simpleFormats[0]) {
589 return simpleFormats[0].format(date);
710 static DateFormat[] simpleFormats = {
720 for (int i = 0; i < simpleFormats.length; ++i) {
722 Date result = simpleFormats[i].parse(dateString);