ICU-1097 initial C++ implementation

X-SVN-Rev: 8599
This commit is contained in:
Alan Liu 2002-05-13 19:35:41 +00:00
parent 2327cfe7d8
commit 689b6179fb

View file

@ -4,7 +4,7 @@
* Corporation and others. All Rights Reserved.
**********************************************************************
* $Source: /xsrl/Nsvn/icu/icu/source/i18n/unicode/Attic/currency.h,v $
* $Revision: 1.1 $
* $Revision: 1.2 $
**********************************************************************
*/
#ifndef UCURRENCY_H
@ -16,8 +16,26 @@ U_NAMESPACE_BEGIN
class Locale;
/**
* A class encapsulating information about a currency, as defined by
* ISO 4217. A currency is represented by a 3-character string
* containing its ISO 4217 code. This class can return various data
* necessary the proper display of a currency:
*
* <ul><li>A display symbol, for a specific locale
* <li>The number of fraction digits to display
* <li>A rounding increment
* </ul>
*
* The <tt>DecimalFormat</tt> class uses these data to display
* currencies.
* @author Alan Liu
* @since ICU 2.2
*/
class U_I18N_API UCurrency {
// TODO:? Make the string a char* instead of a UnicodeString ?
public:
/**