Home
last modified time | relevance | path

Searched refs:shortUnit (Results 1 – 2 of 2) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/tool/
DChartGrammaticalForms.java112 String shortUnit = uc.getShortId(longUnit);
113 System.out.println(shortUnit);
114 if (skip.contains(shortUnit)) {
117 if ("mile-per-gallon".equals(shortUnit)) {
121 ConversionInfo info = uc.parseUnitId(shortUnit, baseOut, false);
136 if (old == null || old.length() > shortUnit.length()) {
137 factorToUnit.put(info.factor, shortUnit); in factorToUnit.put() argument
151 final String shortUnit; field in ChartGrammaticalForms.BestUnitForGender
152 …public BestUnitForGender(String shortUnit, String quantity, Collection<String> systems, double bas… in BestUnitForGender() argument
154 this.shortUnit = shortUnit; in BestUnitForGender()
[all …]
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestUnits.java1772 String shortUnit = Units.getShort(longUnit); in testDistinguishedSetsOfUnits() local
1773 ConversionInfo conversionInfo = converter.parseUnitId(shortUnit, baseUnit, false); in testDistinguishedSetsOfUnits()
1775 converter.getUnitInfo(shortUnit, baseUnit); in testDistinguishedSetsOfUnits()
2042 final String shortUnit = converter.getShortId(longUnit); in TestDerivedCase() local
2043 … String gender = UnitPathType.gender.getTrans(cldrFile, "long", shortUnit, null, null, null, null); in TestDerivedCase()
2048 …String value = UnitPathType.unit.getTrans(cldrFile, "long", shortUnit, plural.toString(), desiredC… in TestDerivedCase()
2049 … myInfo.put(gender, shortUnit + "\t" + value, plural.toString() + "+" + desiredCase, true); in TestDerivedCase()
2058 …String value = UnitPathType.unit.getTrans(cldrFile, "long", shortUnit, desiredPlural, desiredCase,… in TestDerivedCase()
2060 …String sourceValue = UnitPathType.unit.getTrans(cldrFile, "long", shortUnit, sourcePlural.value, s… in TestDerivedCase()
2062 + ",\tshort unit/gender: " + shortUnit in TestDerivedCase()