Searched refs:coreUnit (Results 1 – 3 of 3) sorted by relevance
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | Units.java | 67 String coreUnit = s.substring(dashPos+1); 68 longToShort.put(s, coreUnit); in longToShort.put() argument 70 coreToType.put(coreUnit, unitType); in coreToType.put() argument 71 typeToCore.put(unitType, coreUnit); in typeToCore.put() argument
|
D | UnitConverter.java | 340 String coreUnit = longUnit.substring(dashPos+1); in UnitConverter() local 341 _SHORT_TO_LONG_ID.put(coreUnit, longUnit); in UnitConverter()
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestUnits.java | 656 String coreUnit = s.substring(dashPos+1); 657 coreUnit = converter.fixDenormalized(coreUnit); 658 coreToType.put(coreUnit, unitType); in coreToType.put() argument 659 typeToCore.put(unitType, coreUnit); in typeToCore.put() argument 670 final String coreUnit = entry.getValue(); in TestUnitCategory() local 672 if (coreUnit.equals("generic")) { in TestUnitCategory() 675 String quantity = converter.getQuantityFromUnit(coreUnit, false); in TestUnitCategory() 677 System.out.format("%s\t%s\t%s\n", coreUnit, quantity, unitType); in TestUnitCategory() 680 converter.getQuantityFromUnit(coreUnit, true); in TestUnitCategory() 681 errln("Null quantity " + coreUnit); in TestUnitCategory() [all …]
|