com.ibm.icu.text
Class MeasureFormat
java.lang.Object
java.text.Format
com.ibm.icu.text.UFormat
com.ibm.icu.text.MeasureFormat
- All Implemented Interfaces:
- Serializable, Cloneable
Deprecated. This is a draft API and might change in a future release of ICU.
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
,
Serialized Form
MeasureFormat
protected MeasureFormat()
- Deprecated.
getCurrencyFormat
public static MeasureFormat getCurrencyFormat(ULocale locale)
- Deprecated. This is a draft API and might change in a future release of ICU.
- Return a formatter for CurrencyAmount objects in the given
locale.
- Parameters:
locale
- desired locale
- Returns:
- a formatter object
getCurrencyFormat
public static MeasureFormat getCurrencyFormat()
- Deprecated. This is a draft API and might change in a future release of ICU.
- Return a formatter for CurrencyAmount objects in the default
locale.
- Returns:
- a formatter object
Copyright (c) 2004 IBM Corporation and others.