Home
last modified time | relevance | path

Searched refs:unitPattern (Results 1 – 11 of 11) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/tool/
Dmodify_config.txt1 …ldml/units/unitLength[@type="long"]/unit[@type="acceleration-g-force"]/unitPattern[@count="one"][@…
2 …ldml/units/unitLength[@type="long"]/unit[@type="acceleration-g-force"]/unitPattern[@count="other"]…
3 …ength[@type="long"]/unit[@type="acceleration-meter-per-square-second"]/unitPattern[@count="one"][@…
4 …ength[@type="long"]/unit[@type="acceleration-meter-per-square-second"]/unitPattern[@count="other"]…
5 …new_path=//ldml/units/unitLength[@type="long"]/unit[@type="area-acre"]/unitPattern[@count="one"][@…
6 …new_path=//ldml/units/unitLength[@type="long"]/unit[@type="area-acre"]/unitPattern[@count="other"]…
7 …_path=//ldml/units/unitLength[@type="long"]/unit[@type="area-hectare"]/unitPattern[@count="one"][@…
8 …_path=//ldml/units/unitLength[@type="long"]/unit[@type="area-hectare"]/unitPattern[@count="other"]…
9 …ml/units/unitLength[@type="long"]/unit[@type="area-square-centimeter"]/unitPattern[@count="one"][@…
10 …ml/units/unitLength[@type="long"]/unit[@type="area-square-centimeter"]/unitPattern[@count="other"]…
[all …]
DChartGrammaticalForms.java326 …String unitPattern = cldrFile.getStringValueWithBailey("//ldml/units/unitLength[@type=\"long\"]/un… in writeSubcharts() local
329 caseTablePrinter.addCell(unitPattern); in writeSubcharts()
331 … String numberPlusUnit = MessageFormat.format(unitPattern, decFormat.format(sample)); in writeSubcharts()
519 String unitPattern = ENGLISH.getStringValue(unitPath); in getBestBaseUnit() local
520 if (unitPattern == null) { in getBestBaseUnit()
522unitPattern = unitId.toString(ENGLISH, "long", pluralCategory, null, null, false); in getBestBaseUnit()
523 if (unitPattern == null) { in getBestBaseUnit()
527 …String unitMeasure = MessageFormat.format(unitPattern, string.contains("/") ? "~" + bestDoubleFact… in getBestBaseUnit()
DxmbSkip.txt43 ^//ldml/numbers/currencyFormats/unitPattern\[@count="([^"]*)"] ; SKIP
/external/cldr/tools/java/org/unicode/cldr/util/data/
DPlaceholders.txt204 ^//ldml/numbers/currencyFormats/unitPattern ; {0}=NUMBER 3; {1}=CURRENCY_NAME Dollars
205 ^//ldml/numbers/currencyFormats\[@numberSystem="%A"]/unitPattern ; {0}=NUMBER 3; {1}=CURRENCY_NAME …
221 ^//ldml/units/unitLength\[@type="%L"]/unit\[@type="duration-day%A"]/unitPattern\[@count="\w+"] ; lo…
222 ^//ldml/units/unitLength\[@type="%L"]/unit\[@type="duration-hour%A"]/unitPattern\[@count="\w+"] ; l…
223 ^//ldml/units/unitLength\[@type="%L"]/unit\[@type="duration-minute%A"]/unitPattern\[@count="\w+"] ;…
224 ^//ldml/units/unitLength\[@type="%L"]/unit\[@type="duration-month%A"]/unitPattern\[@count="\w+"] ; …
225 ^//ldml/units/unitLength\[@type="%L"]/unit\[@type="duration-second%A"]/unitPattern\[@count="\w+"] ;…
226 ^//ldml/units/unitLength\[@type="%L"]/unit\[@type="duration-week%A"]/unitPattern\[@count="\w+"] ; l…
227 ^//ldml/units/unitLength\[@type="%L"]/unit\[@type="duration-year%A"]/unitPattern\[@count="\w+"] ; l…
229 ^//ldml/units/unitLength\[@type="%L"]/unit\[@type="duration-day%A"]/unitPattern ; {0}=NUMBER_OF_DAY…
[all …]
DPathHeader.txt151 //ldml/numbers/currencyFormats[@numberSystem="%A"]/unitPattern[@count="%A"] …
179 //ldml/units/unitLength[@type="%L"]/unit[@type="duration-%A"]/unitPattern[@count="%A"][@case="%A"] …
180 //ldml/units/unitLength[@type="%L"]/unit[@type="duration-%A"]/unitPattern[@count="%A"] …
185 //ldml/units/unitLength[@type="%L"]/unit[@type="graphics-%A"]/unitPattern[@count="%A"][@case="%A"] …
186 //ldml/units/unitLength[@type="%L"]/unit[@type="graphics-%A"]/unitPattern[@count="%A"] …
191 //ldml/units/unitLength[@type="%L"]/unit[@type="length-%A"]/unitPattern[@count="%A"][@case="%A"] …
192 //ldml/units/unitLength[@type="%L"]/unit[@type="length-%A"]/unitPattern[@count="%A"] …
197 //ldml/units/unitLength[@type="%L"]/unit[@type="area-%A"]/unitPattern[@count="%A"][@case="%A"] …
198 //ldml/units/unitLength[@type="%L"]/unit[@type="area-%A"]/unitPattern[@count="%A"] …
203 //ldml/units/unitLength[@type="%L"]/unit[@type="volume-%A"]/unitPattern[@count="%A"][@case="%A"] …
[all …]
DprettyPath.txt174 '/numbers/currencyFormats[@numberSystem="latn"]/unitPattern' > '2-number|currency|name-pattern';
175 '/numbers/currencyFormats[@numberSystem="' ($avalue) '"]/unitPattern' > '2-number|currency|name-pat…
182 '/units/unitLength[@type="' ($avalue) '"]/unit[@type="' ($avalue) '"]/unitPattern' > '0-units' $1 '…
DPathDescription.txt88 ^//ldml/units/unitLength\[@type="([^"]*)"]/unit\[@type="([^"]*)"]/unitPattern ; [ICU Syntax] Specia…
97 ^//ldml/numbers/currencyFormats\[@numberSystem="([^"]*)"]/unitPattern\[@count="(\w++)"] ; Currency …
/external/cldr/tools/java/org/unicode/cldr/util/
DUnitConverter.java801 …String unitPattern = UnitPathType.unit.getTrans(resolvedFile, width, unit, pluralCategory, caseVar… in toString() local
802 if (unitPattern == null) { in toString()
806 … placeholderPosition = extractUnit(placeholderMatcher, unitPattern, unitPatternOut); in toString()
810 unitPattern = unitPatternOut.value; in toString()
816 unitPattern = combineLowercasing(locale, width, prefixPattern, unitPattern); in toString()
834 unitPattern = combineLowercasing(locale, width, powerPattern, unitPattern); in toString()
841 result = MessageFormat.format(timesPattern, result, unitPattern); in toString()
843 result = unitPattern; in toString()
1030 …public static PlaceholderLocation extractUnit(Matcher placeholderMatcher, String unitPattern, Outp… in extractUnit() argument
1031 if (placeholderMatcher.reset(unitPattern).find()) { in extractUnit()
[all …]
/external/cldr/tools/java/org/unicode/cldr/test/
DExampleGenerator.java1266 String unitPattern; in formatCurrency() local
1271 unitPattern = typeIsEnglish ? getUnitPattern(unitType, isCurrency, count) : value; in formatCurrency()
1273 unitPattern = getUnitPattern(unitType, isCurrency, count); in formatCurrency()
1278 unitPattern = setBackground(unitPattern); in formatCurrency()
1280 unitPattern = setBackgroundExceptMatch(unitPattern, PARAMETER_SKIP0); in formatCurrency()
1283 MessageFormat unitPatternFormat = new MessageFormat(unitPattern); in formatCurrency()
1294 resultItem = unitPattern.replace("{0}", formattedNumber).replace("{1}", unitName); in formatCurrency()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestExamples.txt28 //ldml/numbers/currencyFormats[@numberSystem="%A"]/unitPattern[@count="%A"] ; example
/external/icu/tools/cldr/cldr-to-icu/src/main/resources/
Dldml2icu_locale.txt286 //ldml/numbers/currencyFormats[@numberSystem="%D"]/unitPattern[@count="(%W)"] ; /CurrencyUnitPatter…
321 //ldml/units/unitLength[@type="narrow"]/unit[@type="(\w++)-(%A)"]/unitPattern[@count="(%A)"] ; /uni…
322 //ldml/units/unitLength[@type="short"]/unit[@type="(\w++)-(%A)"]/unitPattern[@count="(%A)"] ; /unit…
323 //ldml/units/unitLength[@type="long"]/unit[@type="(\w++)-(%A)"]/unitPattern[@count="(%A)"] ; /units…