]> git.saurik.com Git - apple/icu.git/blob - icuSources/i18n/ucurrimp.h
ICU-8.11.tar.gz
[apple/icu.git] / icuSources / i18n / ucurrimp.h
1 /*
2 **********************************************************************
3 * Copyright (c) 2002-2003, International Business Machines
4 * Corporation and others. All Rights Reserved.
5 **********************************************************************
6 */
7
8 #ifndef _UCURR_IMP_H_
9 #define _UCURR_IMP_H_
10
11 #include "unicode/utypes.h"
12
13 /**
14 * Internal method. Given a currency ISO code and a locale, return
15 * the "static" currency name. This is usually the same as the
16 * UCURR_SYMBOL_NAME, but if the latter is a choice format, then the
17 * format is applied to the number 2.0 (to yield the more common
18 * plural) to return a static name.
19 *
20 * This is used for backward compatibility with old currency logic in
21 * DecimalFormat and DecimalFormatSymbols.
22 */
23 U_CAPI void
24 uprv_getStaticCurrencyName(const UChar* iso, const char* loc,
25 UnicodeString& result, UErrorCode& ec);
26
27 #endif /* #ifndef _UCURR_IMP_H_ */
28
29 //eof