Package com.ibm.icu.number
Class Precision.IncrementOneRounderImpl
java.lang.Object
com.ibm.icu.number.Precision
com.ibm.icu.number.Precision.IncrementRounderImpl
com.ibm.icu.number.Precision.IncrementOneRounderImpl
- Enclosing class:
Precision
Used for increments with 1 as the only digit. This is different than fraction
rounding because it supports having additional trailing zeros. For example, this
class is used to round with the increment 0.010.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.ibm.icu.number.Precision
Precision.BogusRounder, Precision.CurrencyRounderImpl, Precision.FracSigRounderImpl, Precision.FractionRounderImpl, Precision.IncrementFiveRounderImpl, Precision.IncrementOneRounderImpl, Precision.IncrementRounderImpl, Precision.InfiniteRounderImpl, Precision.SignificantRounderImpl -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final int(package private) final intFields inherited from class com.ibm.icu.number.Precision.IncrementRounderImpl
incrementFields inherited from class com.ibm.icu.number.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(DecimalQuantity value) (package private) Precision.IncrementOneRounderImplPackage-private clone methodMethods inherited from class com.ibm.icu.number.Precision
chooseMultiplierAndApply, constructCurrency, constructFraction, constructFractionSignificant, constructFromCurrency, constructIncrement, constructInfinite, constructSignificant, createCopyHelper, currency, fixedFraction, fixedSignificantDigits, increment, integer, maxFraction, maxSignificantDigits, minFraction, minMaxFraction, minMaxSignificantDigits, minSignificantDigits, setResolvedMinFraction, trailingZeroDisplay, unlimited, withLocaleData, withMode
-
Field Details
-
minFrac
final int minFrac -
maxFrac
final int maxFrac
-
-
Constructor Details
-
IncrementOneRounderImpl
-
-
Method Details
-
apply
- Overrides:
applyin classPrecision.IncrementRounderImpl
-
createCopy
Precision.IncrementOneRounderImpl createCopy()Description copied from class:PrecisionPackage-private clone method- Overrides:
createCopyin classPrecision.IncrementRounderImpl
-