Top Description Classes
[default module]

Package com.ibm.icu.number


Library for localized number formatting introduced in ICU 60; for usage, see com.ibm.icu.number.NumberFormatter.

Class Summary

Modifier and TypeClass and Description
public class
CompactNotation

A class that defines the scientific notation style to be used when formatting numbers in NumberFormatter.

public abstract class
CurrencyPrecision

A class that defines a rounding strategy parameterized by a currency to be used when formatting numbers in NumberFormatter.

public class
FormattedNumber

The result of a number formatting operation.

public class
FormattedNumberRange

The result of a number range formatting operation.

public abstract class
FractionPrecision

A class that defines a rounding strategy based on a number of fraction places and optionally significant digits to be used when formatting numbers in NumberFormatter.

public class
IntegerWidth

A class that defines the strategy for padding and truncating integers before the decimal separator.

public class
LocalizedNumberFormatter

A NumberFormatter that has a locale associated with it; this means .format() methods are available.

public class
LocalizedNumberRangeFormatter

A NumberRangeFormatter that has a locale associated with it; this means .formatRange() methods are available.

public class
Notation

A class that defines the notation style to be used when formatting numbers in NumberFormatter.

public class
NumberFormatter

All-in-one formatter for localized numbers, currencies, and units.

pack-priv class
NumberFormatterImpl

This is the "brain" of the number formatting pipeline.

public abstract class
NumberFormatterSettings<T extends NumberFormatterSettings<?>>

An abstract base class for specifying settings related to number formatting.

pack-priv class
NumberPropertyMapper

This class, as well as NumberFormatterImpl, could go into the impl package, but they depend on too many package-private members of the public APIs.

public abstract class
NumberRangeFormatter

The main entrypoint to the formatting of ranges of numbers, including currencies and other units of measurement.

pack-priv class
NumberRangeFormatterImpl

Business logic behind NumberRangeFormatter.

public abstract class
NumberRangeFormatterSettings<T extends NumberRangeFormatterSettings<?>>

An abstract base class for specifying settings related to number formatting.

pack-priv class
public abstract class
Precision

A class that defines the rounding precision to be used when formatting numbers in NumberFormatter.

public class
Scale

A class that defines a quantity by which a number should be multiplied when formatting.

public class
ScientificNotation

A class that defines the scientific notation style to be used when formatting numbers in NumberFormatter.

public class
SimpleNotation

A class that defines the simple notation style to be used when formatting numbers in NumberFormatter.

public class
SkeletonSyntaxException

Exception used for illegal number skeleton strings.

public class
UnlocalizedNumberFormatter

A NumberFormatter that does not yet have a locale.

public class
UnlocalizedNumberRangeFormatter

A NumberRangeFormatter that does not yet have a locale.