Class Precision.CurrencyRounderImpl
java.lang.Object
com.ibm.icu.number.Precision
com.ibm.icu.number.CurrencyPrecision
com.ibm.icu.number.Precision.CurrencyRounderImpl
- Enclosing class:
Precision
-
Nested Class Summary
Nested classes/interfaces inherited from class Precision
Precision.BogusRounder, Precision.CurrencyRounderImpl, Precision.FracSigRounderImpl, Precision.FractionRounderImpl, Precision.IncrementFiveRounderImpl, Precision.IncrementOneRounderImpl, Precision.IncrementRounderImpl, Precision.InfiniteRounderImpl, Precision.SignificantRounderImpl -
Field Summary
FieldsFields inherited from class Precision
BOGUS_PRECISION, COMPACT_STRATEGY, DEFAULT_MAX_FRAC_6, FIXED_FRAC_0, FIXED_FRAC_2, FIXED_SIG_2, FIXED_SIG_3, mathContext, MONETARY_CASH, MONETARY_STANDARD, NICKEL, NONE, RANGE_SIG_2_3, trailingZeroDisplay -
Constructor Summary
ConstructorsConstructorDescriptionCurrencyRounderImpl(Currency.CurrencyUsage usage, MathContext mc, NumberFormatter.TrailingZeroDisplay tzd) -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(DecimalQuantity value) (package private) Precision.CurrencyRounderImplPackage-private clone methodMethods inherited from class CurrencyPrecision
withCurrencyMethods inherited from class Precision
chooseMultiplierAndApply, constructCurrency, constructFraction, constructFractionSignificant, constructFromCurrency, constructIncrement, constructInfinite, constructSignificant, currency, fixedFraction, fixedSignificantDigits, increment, integer, maxFraction, maxSignificantDigits, minFraction, minMaxFraction, minMaxSignificantDigits, minSignificantDigits, setResolvedMinFraction, trailingZeroDisplay, unlimited, withLocaleData, withMode
-
Field Details
-
usage
-
-
Constructor Details
-
CurrencyRounderImpl
-
CurrencyRounderImpl
public CurrencyRounderImpl(Currency.CurrencyUsage usage, MathContext mc, NumberFormatter.TrailingZeroDisplay tzd)
-
-
Method Details
-
apply
-
createCopy
Description copied from class:PrecisionPackage-private clone method- Specified by:
createCopyin classPrecision
-