com.ibm.icu.text

Class MeasureFormat

public abstract class MeasureFormat extends UFormat

A formatter for Measure objects. This is an abstract base class.

To format or parse a Measure object, first create a formatter object using a MeasureFormat factory method. Then use that object's format and parse methods.

Author: Alan Liu

See Also: UFormat

UNKNOWN: ICU 3.0 This API might change or be removed in a future release.

Constructor Summary
protected MeasureFormat()
Method Summary
static MeasureFormatgetCurrencyFormat(ULocale locale)
Return a formatter for CurrencyAmount objects in the given locale.
static MeasureFormatgetCurrencyFormat()
Return a formatter for CurrencyAmount objects in the default locale.

Constructor Detail

MeasureFormat

protected MeasureFormat()

UNKNOWN:

Method Detail

getCurrencyFormat

public static MeasureFormat getCurrencyFormat(ULocale locale)
Return a formatter for CurrencyAmount objects in the given locale.

Parameters: locale desired locale

Returns: a formatter object

UNKNOWN: ICU 3.0 This API might change or be removed in a future release.

getCurrencyFormat

public static MeasureFormat getCurrencyFormat()
Return a formatter for CurrencyAmount objects in the default locale.

Returns: a formatter object

UNKNOWN: ICU 3.0 This API might change or be removed in a future release.