Home
last modified time | relevance | path

Searched refs:unitName (Results 1 – 3 of 3) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/util/
DMeasureUnit.java271 String unitName = key.toString(); in put() local
272 internalGetInstance(unitType, unitName); in put()
341 … protected synchronized static MeasureUnit addUnit(String type, String unitName, Factory factory) { in addUnit() argument
349 MeasureUnit unit = tmp.get(unitName); in addUnit()
351 tmp.put(unitName, unit = factory.create(type, unitName)); in addUnit()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DMeasureUnit.java279 String unitName = key.toString(); in put() local
280 internalGetInstance(unitType, unitName); in put()
348 … protected synchronized static MeasureUnit addUnit(String type, String unitName, Factory factory) { in addUnit() argument
356 MeasureUnit unit = tmp.get(unitName); in addUnit()
358 tmp.put(unitName, unit = factory.create(type, unitName)); in addUnit()
/external/cldr/tools/java/org/unicode/cldr/test/
DExampleGenerator.java1066 String unitName; in formatCurrency() local
1069 unitName = getUnitName(unitType, isCurrency, count); in formatCurrency()
1073unitName = type != ExampleType.ENGLISH ? value : getUnitName(unitType, isCurrency, count); in formatCurrency()
1093 resultItem = unitPattern.replace("{0}", formattedNumber).replace("{1}", unitName); in formatCurrency()