Searched refs:bestUnit (Results 1 – 2 of 2) sorted by relevance
363 final BestUnitForGender bestUnit = unitToBestUnit.get(shortUnit); in writeSubcharts() local364 if (bestUnit != null) { in writeSubcharts()365 bestUnitForGender.put(gender, bestUnit); in writeSubcharts()397 String bestUnit = null; in writeSubcharts() local399 bestUnit = bestUnits.iterator().next().shortUnit; in writeSubcharts()408 .addCell(gender + (bestUnit == null ? "" : "\n(" + bestUnit + ")")) in writeSubcharts()415 if (bestUnit == null) { in writeSubcharts()419 …ing localizedUnitPattern = UnitPathType.unit.getTrans(cldrFile, "long", bestUnit, plural.toString(… in writeSubcharts()500 String bestUnit = null; in getBestBaseUnit() local505 if (bestUnit != null && currentFactor.compareTo(inputBoundary) >= 0) { in getBestBaseUnit()[all …]
268 TimeUnit bestUnit = TimeUnit.NANOSECONDS; in toString() local273 bestUnit = unit; in toString()275 BigDecimal divisor = ONE_IN_PICOS.get(bestUnit); in toString()277 return new BigDecimal(picos).divide(divisor, ROUNDER) + preferredAbbrev(bestUnit); in toString()285 private static String preferredAbbrev(TimeUnit bestUnit) { in preferredAbbrev() argument286 return ABBREVIATIONS.get(bestUnit).get(0); in preferredAbbrev()