Home
last modified time | relevance | path

Searched refs:toBigDecimal (Results 1 – 25 of 47) sorted by relevance

12

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DFormattedNumberRange.java141 return quantity1.toBigDecimal(); in getFirstBigDecimal()
155 return quantity2.toBigDecimal(); in getSecondBigDecimal()
184 ^ quantity1.toBigDecimal().hashCode() ^ quantity2.toBigDecimal().hashCode(); in hashCode()
206 && quantity1.toBigDecimal().equals(_other.quantity1.toBigDecimal()) in equals()
207 && quantity2.toBigDecimal().equals(_other.quantity2.toBigDecimal()); in equals()
DFormattedNumber.java186 public BigDecimal toBigDecimal() { in toBigDecimal() method in FormattedNumber
187 return fq.toBigDecimal(); in toBigDecimal()
211 ^ fq.toBigDecimal().hashCode(); in hashCode()
233 && fq.toBigDecimal().equals(_other.fq.toBigDecimal()); in equals()
/external/icu/android_icu4j/src/main/java/android/icu/number/
DFormattedNumberRange.java137 return quantity1.toBigDecimal(); in getFirstBigDecimal()
150 return quantity2.toBigDecimal(); in getSecondBigDecimal()
177 ^ quantity1.toBigDecimal().hashCode() ^ quantity2.toBigDecimal().hashCode(); in hashCode()
198 && quantity1.toBigDecimal().equals(_other.quantity1.toBigDecimal()) in equals()
199 && quantity2.toBigDecimal().equals(_other.quantity2.toBigDecimal()); in equals()
DFormattedNumber.java182 public BigDecimal toBigDecimal() { in toBigDecimal() method in FormattedNumber
183 return fq.toBigDecimal(); in toBigDecimal()
206 ^ fq.toBigDecimal().hashCode(); in hashCode()
227 && fq.toBigDecimal().equals(_other.fq.toBigDecimal()); in equals()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timescale/
DTimeScaleAPITest.java231 UniversalTimeScale.toBigDecimal(bigZero, -1); in TestToBigDecimalFromBigDecimal()
239 UniversalTimeScale.toBigDecimal(bigZero, scale); in TestToBigDecimalFromBigDecimal()
246 UniversalTimeScale.toBigDecimal(bigZero, UniversalTimeScale.MAX_SCALE); in TestToBigDecimalFromBigDecimal()
285 UniversalTimeScale.toBigDecimal(0L, -1); in TestToBigDecimalFromLong()
293 UniversalTimeScale.toBigDecimal(0L, scale); in TestToBigDecimalFromLong()
300 UniversalTimeScale.toBigDecimal(0L, UniversalTimeScale.MAX_SCALE); in TestToBigDecimalFromLong()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timescale/
DTimeScaleAPITest.java228 UniversalTimeScale.toBigDecimal(bigZero, -1); in TestToBigDecimalFromBigDecimal()
236 UniversalTimeScale.toBigDecimal(bigZero, scale); in TestToBigDecimalFromBigDecimal()
243 UniversalTimeScale.toBigDecimal(bigZero, UniversalTimeScale.MAX_SCALE); in TestToBigDecimalFromBigDecimal()
282 UniversalTimeScale.toBigDecimal(0L, -1); in TestToBigDecimalFromLong()
290 UniversalTimeScale.toBigDecimal(0L, scale); in TestToBigDecimalFromLong()
297 UniversalTimeScale.toBigDecimal(0L, UniversalTimeScale.MAX_SCALE); in TestToBigDecimalFromLong()
/external/icu/android_icu4j/src/main/java/android/icu/util/
DUniversalTimeScale.java470 public static BigDecimal toBigDecimal(long universalTime, int timeScale) in toBigDecimal() method in UniversalTimeScale
488 public static BigDecimal toBigDecimal(BigDecimal universalTime, int timeScale) in toBigDecimal() method in UniversalTimeScale
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DUniversalTimeScale.java518 public static BigDecimal toBigDecimal(long universalTime, int timeScale) in toBigDecimal() method in UniversalTimeScale
538 public static BigDecimal toBigDecimal(BigDecimal universalTime, int timeScale) in toBigDecimal() method in UniversalTimeScale
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/
DDecimalQuantity.java130 public BigDecimal toBigDecimal(); in toBigDecimal() method
DDecimalQuantity_AbstractBCD.java184 BigDecimal temp = toBigDecimal(); in roundToIncrement()
199 BigDecimal temp = toBigDecimal(); in multiplyBy()
717 public BigDecimal toBigDecimal() { in toBigDecimal() method in DecimalQuantity_AbstractBCD
DDecimalQuantity_DualStorageBCD.java80 setToBigDecimal(((android.icu.math.BigDecimal) number).toBigDecimal()); in DecimalQuantity_DualStorageBCD()
DPatternStringParser.java608 positive.rounding.toBigDecimal().setScale(positive.fractionNumerals)); in patternInfoToProperties()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
DDecimalQuantity.java128 public BigDecimal toBigDecimal(); in toBigDecimal() method
DDecimalQuantity_AbstractBCD.java182 BigDecimal temp = toBigDecimal(); in roundToIncrement()
197 BigDecimal temp = toBigDecimal(); in multiplyBy()
715 public BigDecimal toBigDecimal() { in toBigDecimal() method in DecimalQuantity_AbstractBCD
DDecimalQuantity_DualStorageBCD.java78 setToBigDecimal(((com.ibm.icu.math.BigDecimal) number).toBigDecimal()); in DecimalQuantity_DualStorageBCD()
DPatternStringParser.java602 positive.rounding.toBigDecimal().setScale(positive.fractionNumerals)); in patternInfoToProperties()
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/parse/
DParsedNumber.java165 return quantity.toBigDecimal(); in getNumber()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/number/
DDecimalQuantityTest.java261 q0.toBigDecimal(), in testDecimalQuantityBehavior()
262 q1.toBigDecimal()); in testDecimalQuantityBehavior()
514 assertEquals("Should trim, toBigDecimal", new BigDecimal("76.54"), dq.toBigDecimal()); in testMaxDigits()
DExhaustiveNumberTest.java184 fq.toBigDecimal()); in checkDoubleBehavior()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
DDecimalQuantityTest.java258 q0.toBigDecimal(), in testDecimalQuantityBehavior()
259 q1.toBigDecimal()); in testDecimalQuantityBehavior()
511 assertEquals("Should trim, toBigDecimal", new BigDecimal("76.54"), dq.toBigDecimal()); in testMaxDigits()
DExhaustiveNumberTest.java181 fq.toBigDecimal()); in checkDoubleBehavior()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/parse/
DParsedNumber.java163 return quantity.toBigDecimal(); in getNumber()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
DNumberFormat.java305 return numberFormat.format(number.toBigDecimal()); in format()
382 StringBuffer buf = numberFormat.format(number.toBigDecimal(), toAppendTo, jdkPos); in format()
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/icuadapter/
DNumberFormatJDK.java72 return fJdkNfmt.format(number.toBigDecimal(), toAppendTo, pos); in format()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/impl/number/
DDecimalQuantity_SimpleStorage.java563 public BigDecimal toBigDecimal() {

12