/*
**********************************************************************
-* Copyright (c) 2002-2008, International Business Machines
+* Copyright (c) 2002-2011, International Business Machines
* Corporation and others. All Rights Reserved.
**********************************************************************
*/
*/
U_CFUNC void
uprv_getStaticCurrencyName(const UChar* iso, const char* loc,
- U_NAMESPACE_QUALIFIER UnicodeString& result, UErrorCode& ec);
+ icu::UnicodeString& result, UErrorCode& ec);
/**
* Attempt to parse the given string as a currency, either as a
* text to match; must have 0 <= pos.getIndex() < text.length();
* on output, the position after the last matched character. If
* the parse fails, the position in unchanged upon output.
+ * @param type currency type to parse against, LONG_NAME only or not
* @return the ISO 4217 code, as a string, of the best match, or
* null if there is no match
*
*/
U_CFUNC void
uprv_parseCurrency(const char* locale,
- const U_NAMESPACE_QUALIFIER UnicodeString& text,
- U_NAMESPACE_QUALIFIER ParsePosition& pos,
+ const icu::UnicodeString& text,
+ icu::ParsePosition& pos,
+ int8_t type,
UChar* result,
UErrorCode& ec);