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

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()

Deprecated: This API is ICU internal only.

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

getCurrencyFormat

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

Returns: a formatter object

UNKNOWN: ICU 3.0

Copyright (c) 2007 IBM Corporation and others.