Searched refs:getFormattedUnit (Results 1 – 1 of 1) sorted by relevance
/external/cldr/tools/java/org/unicode/cldr/test/ |
D | ExampleGenerator.java | 610 …String unit1 = backgroundStartSymbol + getFormattedUnit("length-meter", unitLength, amount) + back… in handleCompoundUnit() 611 …String unit2 = backgroundStartSymbol + getFormattedUnit("duration-second", unitLength, new FixedDe… in handleCompoundUnit() 735 String duration1 = getFormattedUnit("duration-day", unitWidth, 4); in handleDurationListPatterns() 736 String duration2 = getFormattedUnit("duration-hour", unitWidth, 2); in handleDurationListPatterns() 740 String duration3 = getFormattedUnit("duration-minute", unitWidth, 37); in handleDurationListPatterns() 741 String duration4 = getFormattedUnit("duration-second", unitWidth, 23); in handleDurationListPatterns() 769 … private String getFormattedUnit(String unitType, UnitLength unitWidth, FixedDecimal unitAmount) { in getFormattedUnit() method in ExampleGenerator 771 return getFormattedUnit(unitType, unitWidth, unitAmount, numberFormat.format(unitAmount)); in getFormattedUnit() 774 private String getFormattedUnit(String unitType, UnitLength unitWidth, double unitAmount) { in getFormattedUnit() method in ExampleGenerator 775 return getFormattedUnit(unitType, unitWidth, new FixedDecimal(unitAmount)); in getFormattedUnit() [all …]
|