/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/ |
D | FormattedNumberRange.java | 28 final DecimalQuantity quantity2; field in FormattedNumberRange 31 …mattedNumberRange(NumberStringBuilder string, DecimalQuantity quantity1, DecimalQuantity quantity2, in FormattedNumberRange() argument 35 this.quantity2 = quantity2; in FormattedNumberRange() 155 return quantity2.toBigDecimal(); in getSecondBigDecimal() 184 ^ quantity1.toBigDecimal().hashCode() ^ quantity2.toBigDecimal().hashCode(); in hashCode() 207 && quantity2.toBigDecimal().equals(_other.quantity2.toBigDecimal()); in equals()
|
D | NumberRangeFormatterImpl.java | 132 …public FormattedNumberRange format(DecimalQuantity quantity1, DecimalQuantity quantity2, boolean e… in format() argument 137 micros2 = formatterImpl1.preProcess(quantity2); in format() 139 micros2 = formatterImpl2.preProcess(quantity2); in format() 150 formatRange(quantity1, quantity2, string, micros1, micros2); in format() 151 … return new FormattedNumberRange(string, quantity1, quantity2, RangeIdentityResult.NOT_EQUAL); in format() 158 } else if (quantity1.equals(quantity2)) { in format() 173 formatRange(quantity1, quantity2, string, micros1, micros2); in format() 179 formatApproximately(quantity1, quantity2, string, micros1, micros2); in format() 185 formatSingleValue(quantity1, quantity2, string, micros1, micros2); in format() 193 return new FormattedNumberRange(string, quantity1, quantity2, identityResult); in format() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/number/ |
D | FormattedNumberRange.java | 29 final DecimalQuantity quantity2; field in FormattedNumberRange 32 …mattedNumberRange(NumberStringBuilder string, DecimalQuantity quantity1, DecimalQuantity quantity2, in FormattedNumberRange() argument 36 this.quantity2 = quantity2; in FormattedNumberRange() 150 return quantity2.toBigDecimal(); in getSecondBigDecimal() 177 ^ quantity1.toBigDecimal().hashCode() ^ quantity2.toBigDecimal().hashCode(); in hashCode() 199 && quantity2.toBigDecimal().equals(_other.quantity2.toBigDecimal()); in equals()
|
D | NumberRangeFormatterImpl.java | 133 …public FormattedNumberRange format(DecimalQuantity quantity1, DecimalQuantity quantity2, boolean e… in format() argument 138 micros2 = formatterImpl1.preProcess(quantity2); in format() 140 micros2 = formatterImpl2.preProcess(quantity2); in format() 151 formatRange(quantity1, quantity2, string, micros1, micros2); in format() 152 … return new FormattedNumberRange(string, quantity1, quantity2, RangeIdentityResult.NOT_EQUAL); in format() 159 } else if (quantity1.equals(quantity2)) { in format() 174 formatRange(quantity1, quantity2, string, micros1, micros2); in format() 180 formatApproximately(quantity1, quantity2, string, micros1, micros2); in format() 186 formatSingleValue(quantity1, quantity2, string, micros1, micros2); in format() 194 return new FormattedNumberRange(string, quantity1, quantity2, identityResult); in format() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | numrange_impl.cpp | 207 formatterImpl1.preProcess(data.quantity2, micros2, status); in format() 209 formatterImpl2.preProcess(data.quantity2, micros2, status); in format() 231 } else if (data.quantity1 == data.quantity2) { in format() 425 …length2 += NumberFormatterImpl::writeNumber(micros2, data.quantity2, string, UPRV_INDEX_2, status); in formatRange()
|
D | numrange_impl.h | 36 DecimalQuantity quantity2; member
|
D | numrange_fluent.cpp | 294 second.populateDecimalQuantity(results->quantity2, status); in formatFormattableRange() 452 return fResults->quantity2.toScientificString(); in getSecondDecimal()
|