Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-updates > by-pkgid > 67d6f1fcdf59eeb6f1363fc33c40091c > files > 1324

icu-doc-53.1-12.6.mga5.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>ICU 53.1: ucurr.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">ICU 53.1
   &#160;<span id="projectnumber">53.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(12)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_55bf5c6bcedc2c5705af95fc7596ac50.html">icu</a></li><li class="navelem"><a class="el" href="dir_17c4e3d278dd0be6889e0e8c41145d45.html">source</a></li><li class="navelem"><a class="el" href="dir_50278085fbfb203a4ae8d13ac447741e.html">i18n</a></li><li class="navelem"><a class="el" href="dir_47d86980f74387e1e780cfdfbee4bf19.html">unicode</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">ucurr.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>C API: Encapsulates information about a currency.  
<a href="#details">More...</a></p>
<div class="textblock"><code>#include &quot;<a class="el" href="utypes_8h_source.html">unicode/utypes.h</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="uenum_8h_source.html">unicode/uenum.h</a>&quot;</code><br/>
</div>
<p><a href="ucurr_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a8eae113cad3053e4a4ea84c9a59888ae"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="ucurr_8h.html#a881ffe99944d926413324029c9bd577f">UCurrNameStyle</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucurr_8h.html#a8eae113cad3053e4a4ea84c9a59888ae">UCurrNameStyle</a></td></tr>
<tr class="memdesc:a8eae113cad3053e4a4ea84c9a59888ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Selector constants for <a class="el" href="ucurr_8h.html#a99e4d6409d1c015a6c331aa87fe1863b" title="Returns the display name for the given currency in the given locale. ">ucurr_getName()</a>.  <a href="#a8eae113cad3053e4a4ea84c9a59888ae">More...</a><br/></td></tr>
<tr class="separator:a8eae113cad3053e4a4ea84c9a59888ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2bac7adc785f3b6ec275a08c29dea02d"><td class="memItemLeft" align="right" valign="top">typedef const void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucurr_8h.html#a2bac7adc785f3b6ec275a08c29dea02d">UCurrRegistryKey</a></td></tr>
<tr class="separator:a2bac7adc785f3b6ec275a08c29dea02d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5eba9eb9c5711557b123bfbe22088703"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="ucurr_8h.html#a22f961d6201d428f4ef188018ec1507d">UCurrCurrencyType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucurr_8h.html#a5eba9eb9c5711557b123bfbe22088703">UCurrCurrencyType</a></td></tr>
<tr class="memdesc:a5eba9eb9c5711557b123bfbe22088703"><td class="mdescLeft">&#160;</td><td class="mdescRight">Selector constants for ucurr_openCurrencies().  <a href="#a5eba9eb9c5711557b123bfbe22088703">More...</a><br/></td></tr>
<tr class="separator:a5eba9eb9c5711557b123bfbe22088703"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:a881ffe99944d926413324029c9bd577f"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucurr_8h.html#a881ffe99944d926413324029c9bd577f">UCurrNameStyle</a> { <a class="el" href="ucurr_8h.html#a881ffe99944d926413324029c9bd577fa9e4b934bc829cdbeba400402c8001af2">UCURR_SYMBOL_NAME</a>, 
<a class="el" href="ucurr_8h.html#a881ffe99944d926413324029c9bd577fac1c4647fa878b581afcdb666831a953a">UCURR_LONG_NAME</a>
 }</td></tr>
<tr class="memdesc:a881ffe99944d926413324029c9bd577f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Selector constants for <a class="el" href="ucurr_8h.html#a99e4d6409d1c015a6c331aa87fe1863b" title="Returns the display name for the given currency in the given locale. ">ucurr_getName()</a>.  <a href="ucurr_8h.html#a881ffe99944d926413324029c9bd577f">More...</a><br/></td></tr>
<tr class="separator:a881ffe99944d926413324029c9bd577f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22f961d6201d428f4ef188018ec1507d"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucurr_8h.html#a22f961d6201d428f4ef188018ec1507d">UCurrCurrencyType</a> { <br/>
&#160;&#160;<a class="el" href="ucurr_8h.html#a22f961d6201d428f4ef188018ec1507dad58696703c65a5541341abe22a881120">UCURR_ALL</a> = INT32_MAX, 
<a class="el" href="ucurr_8h.html#a22f961d6201d428f4ef188018ec1507daffc3cdb8ea2b07083f4e54fbdf197673">UCURR_COMMON</a> = 1, 
<a class="el" href="ucurr_8h.html#a22f961d6201d428f4ef188018ec1507da5c64a8d9a686cdfcb0dabafa7286fcf1">UCURR_UNCOMMON</a> = 2, 
<a class="el" href="ucurr_8h.html#a22f961d6201d428f4ef188018ec1507daebab726e2ecae81cc7d8c580b75dfc3b">UCURR_DEPRECATED</a> = 4, 
<br/>
&#160;&#160;<a class="el" href="ucurr_8h.html#a22f961d6201d428f4ef188018ec1507da8c0921905de7279fe0a27dff4d23dda7">UCURR_NON_DEPRECATED</a> = 8
<br/>
 }</td></tr>
<tr class="memdesc:a22f961d6201d428f4ef188018ec1507d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Selector constants for ucurr_openCurrencies().  <a href="ucurr_8h.html#a22f961d6201d428f4ef188018ec1507d">More...</a><br/></td></tr>
<tr class="separator:a22f961d6201d428f4ef188018ec1507d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a86d1b8b7eea49cec5e6c399dd2c786ab"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucurr_8h.html#a86d1b8b7eea49cec5e6c399dd2c786ab">ucurr_forLocale</a> (const char *locale, <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *buff, int32_t buffCapacity, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *ec)</td></tr>
<tr class="memdesc:a86d1b8b7eea49cec5e6c399dd2c786ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">The ucurr API encapsulates information about a currency, as defined by ISO 4217.  <a href="#a86d1b8b7eea49cec5e6c399dd2c786ab">More...</a><br/></td></tr>
<tr class="separator:a86d1b8b7eea49cec5e6c399dd2c786ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa8f475e76ca6f85b2a6a86e6997a7b16"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucurr_8h.html#a2bac7adc785f3b6ec275a08c29dea02d">UCurrRegistryKey</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucurr_8h.html#aa8f475e76ca6f85b2a6a86e6997a7b16">ucurr_register</a> (const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *isoCode, const char *locale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:aa8f475e76ca6f85b2a6a86e6997a7b16"><td class="mdescLeft">&#160;</td><td class="mdescRight">Register an (existing) ISO 4217 currency code for the given locale.  <a href="#aa8f475e76ca6f85b2a6a86e6997a7b16">More...</a><br/></td></tr>
<tr class="separator:aa8f475e76ca6f85b2a6a86e6997a7b16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa57cfd9f87363a0a139db11ab71d610f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucurr_8h.html#aa57cfd9f87363a0a139db11ab71d610f">ucurr_unregister</a> (<a class="el" href="ucurr_8h.html#a2bac7adc785f3b6ec275a08c29dea02d">UCurrRegistryKey</a> key, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:aa57cfd9f87363a0a139db11ab71d610f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unregister the previously-registered currency definitions using the URegistryKey returned from ucurr_register.  <a href="#aa57cfd9f87363a0a139db11ab71d610f">More...</a><br/></td></tr>
<tr class="separator:aa57cfd9f87363a0a139db11ab71d610f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a99e4d6409d1c015a6c331aa87fe1863b"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucurr_8h.html#a99e4d6409d1c015a6c331aa87fe1863b">ucurr_getName</a> (const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *currency, const char *locale, <a class="el" href="ucurr_8h.html#a881ffe99944d926413324029c9bd577f">UCurrNameStyle</a> nameStyle, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> *isChoiceFormat, int32_t *len, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *ec)</td></tr>
<tr class="memdesc:a99e4d6409d1c015a6c331aa87fe1863b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the display name for the given currency in the given locale.  <a href="#a99e4d6409d1c015a6c331aa87fe1863b">More...</a><br/></td></tr>
<tr class="separator:a99e4d6409d1c015a6c331aa87fe1863b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc9adb69459d712bc18e3e167dc5ec2a"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucurr_8h.html#acc9adb69459d712bc18e3e167dc5ec2a">ucurr_getPluralName</a> (const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *currency, const char *locale, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> *isChoiceFormat, const char *pluralCount, int32_t *len, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *ec)</td></tr>
<tr class="memdesc:acc9adb69459d712bc18e3e167dc5ec2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the plural name for the given currency in the given locale.  <a href="#acc9adb69459d712bc18e3e167dc5ec2a">More...</a><br/></td></tr>
<tr class="separator:acc9adb69459d712bc18e3e167dc5ec2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23a644db1cc8c9ad32d587271dabbfd8"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucurr_8h.html#a23a644db1cc8c9ad32d587271dabbfd8">ucurr_getDefaultFractionDigits</a> (const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *currency, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *ec)</td></tr>
<tr class="memdesc:a23a644db1cc8c9ad32d587271dabbfd8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of the number of fraction digits that should be displayed for the given currency.  <a href="#a23a644db1cc8c9ad32d587271dabbfd8">More...</a><br/></td></tr>
<tr class="separator:a23a644db1cc8c9ad32d587271dabbfd8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c0327a943d81597290f598b479b76ca"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucurr_8h.html#a1c0327a943d81597290f598b479b76ca">ucurr_getRoundingIncrement</a> (const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *currency, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *ec)</td></tr>
<tr class="memdesc:a1c0327a943d81597290f598b479b76ca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the rounding increment for the given currency, or 0.0 if no rounding is done by the currency.  <a href="#a1c0327a943d81597290f598b479b76ca">More...</a><br/></td></tr>
<tr class="separator:a1c0327a943d81597290f598b479b76ca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68308bf94c73c4257c1f857339db332a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uenum_8h.html#a32b7253b2148022535be36a9fcdb5a8d">UEnumeration</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucurr_8h.html#a68308bf94c73c4257c1f857339db332a">ucurr_openISOCurrencies</a> (uint32_t currType, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *pErrorCode)</td></tr>
<tr class="memdesc:a68308bf94c73c4257c1f857339db332a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides a UEnumeration object for listing ISO-4217 codes.  <a href="#a68308bf94c73c4257c1f857339db332a">More...</a><br/></td></tr>
<tr class="separator:a68308bf94c73c4257c1f857339db332a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a4a1665fb0349d9a9cf1599ca3218dc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucurr_8h.html#a3a4a1665fb0349d9a9cf1599ca3218dc">ucurr_isAvailable</a> (const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *isoCode, <a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> from, <a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> to, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *errorCode)</td></tr>
<tr class="memdesc:a3a4a1665fb0349d9a9cf1599ca3218dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Queries if the given ISO 4217 3-letter code is available on the specified date range.  <a href="#a3a4a1665fb0349d9a9cf1599ca3218dc">More...</a><br/></td></tr>
<tr class="separator:a3a4a1665fb0349d9a9cf1599ca3218dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a811fa3bab3337a989e8807558a922087"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucurr_8h.html#a811fa3bab3337a989e8807558a922087">ucurr_countCurrencies</a> (const char *locale, <a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> date, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *ec)</td></tr>
<tr class="memdesc:a811fa3bab3337a989e8807558a922087"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds the number of valid currency codes for the given locale and date.  <a href="#a811fa3bab3337a989e8807558a922087">More...</a><br/></td></tr>
<tr class="separator:a811fa3bab3337a989e8807558a922087"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f63d3ad27f056137b81f3799c88d6e8"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucurr_8h.html#a1f63d3ad27f056137b81f3799c88d6e8">ucurr_forLocaleAndDate</a> (const char *locale, <a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> date, int32_t index, <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *buff, int32_t buffCapacity, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *ec)</td></tr>
<tr class="memdesc:a1f63d3ad27f056137b81f3799c88d6e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds a currency code for the given locale and date.  <a href="#a1f63d3ad27f056137b81f3799c88d6e8">More...</a><br/></td></tr>
<tr class="separator:a1f63d3ad27f056137b81f3799c88d6e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1fae1d6718c3a936ec59bbd738a18251"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uenum_8h.html#a32b7253b2148022535be36a9fcdb5a8d">UEnumeration</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucurr_8h.html#a1fae1d6718c3a936ec59bbd738a18251">ucurr_getKeywordValuesForLocale</a> (const char *key, const char *locale, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> commonlyUsed, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:a1fae1d6718c3a936ec59bbd738a18251"><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a key and a locale, returns an array of string values in a preferred order that would make a difference.  <a href="#a1fae1d6718c3a936ec59bbd738a18251">More...</a><br/></td></tr>
<tr class="separator:a1fae1d6718c3a936ec59bbd738a18251"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34484e18f12f8482d2f95694a0def77a"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucurr_8h.html#a34484e18f12f8482d2f95694a0def77a">ucurr_getNumericCode</a> (const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *currency)</td></tr>
<tr class="memdesc:a34484e18f12f8482d2f95694a0def77a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the ISO 4217 numeric code for the currency.  <a href="#a34484e18f12f8482d2f95694a0def77a">More...</a><br/></td></tr>
<tr class="separator:a34484e18f12f8482d2f95694a0def77a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>C API: Encapsulates information about a currency. </p>

<p>Definition in file <a class="el" href="ucurr_8h_source.html">ucurr.h</a>.</p>
</div><h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="a5eba9eb9c5711557b123bfbe22088703"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef enum <a class="el" href="ucurr_8h.html#a22f961d6201d428f4ef188018ec1507d">UCurrCurrencyType</a>  <a class="el" href="ucurr_8h.html#a22f961d6201d428f4ef188018ec1507d">UCurrCurrencyType</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Selector constants for ucurr_openCurrencies(). </p>
<dl class="section see"><dt>See Also</dt><dd>ucurr_openCurrencies </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004624">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a8eae113cad3053e4a4ea84c9a59888ae"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef enum <a class="el" href="ucurr_8h.html#a881ffe99944d926413324029c9bd577f">UCurrNameStyle</a>  <a class="el" href="ucurr_8h.html#a881ffe99944d926413324029c9bd577f">UCurrNameStyle</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Selector constants for <a class="el" href="ucurr_8h.html#a99e4d6409d1c015a6c331aa87fe1863b" title="Returns the display name for the given currency in the given locale. ">ucurr_getName()</a>. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="ucurr_8h.html#a99e4d6409d1c015a6c331aa87fe1863b" title="Returns the display name for the given currency in the given locale. ">ucurr_getName</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004616">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

</div>
</div>
<a class="anchor" id="a2bac7adc785f3b6ec275a08c29dea02d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef const void* <a class="el" href="ucurr_8h.html#a2bac7adc785f3b6ec275a08c29dea02d">UCurrRegistryKey</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004617">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

<p>Definition at line <a class="el" href="ucurr_8h_source.html#l00084">84</a> of file <a class="el" href="ucurr_8h_source.html">ucurr.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="a22f961d6201d428f4ef188018ec1507d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="ucurr_8h.html#a22f961d6201d428f4ef188018ec1507d">UCurrCurrencyType</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Selector constants for ucurr_openCurrencies(). </p>
<dl class="section see"><dt>See Also</dt><dd>ucurr_openCurrencies </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004624">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="a22f961d6201d428f4ef188018ec1507dad58696703c65a5541341abe22a881120"></a>UCURR_ALL</em>&#160;</td><td class="fielddoc">
<p>Select all ISO-4217 currency codes. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004633">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a22f961d6201d428f4ef188018ec1507daffc3cdb8ea2b07083f4e54fbdf197673"></a>UCURR_COMMON</em>&#160;</td><td class="fielddoc">
<p>Select only ISO-4217 commonly used currency codes. </p>
<p>These currencies can be found in common use, and they usually have bank notes or coins associated with the currency code. This does not include fund codes, precious metals and other various ISO-4217 codes limited to special financial products. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004634">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a22f961d6201d428f4ef188018ec1507da5c64a8d9a686cdfcb0dabafa7286fcf1"></a>UCURR_UNCOMMON</em>&#160;</td><td class="fielddoc">
<p>Select ISO-4217 uncommon currency codes. </p>
<p>These codes respresent fund codes, precious metals and other various ISO-4217 codes limited to special financial products. A fund code is a monetary resource associated with a currency. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004635">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a22f961d6201d428f4ef188018ec1507daebab726e2ecae81cc7d8c580b75dfc3b"></a>UCURR_DEPRECATED</em>&#160;</td><td class="fielddoc">
<p>Select only deprecated ISO-4217 codes. </p>
<p>These codes are no longer in general public use. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004636">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a22f961d6201d428f4ef188018ec1507da8c0921905de7279fe0a27dff4d23dda7"></a>UCURR_NON_DEPRECATED</em>&#160;</td><td class="fielddoc">
<p>Select only non-deprecated ISO-4217 codes. </p>
<p>These codes are in general public use. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004637">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>
</td></tr>
</table>

<p>Definition at line <a class="el" href="ucurr_8h_source.html#l00197">197</a> of file <a class="el" href="ucurr_8h_source.html">ucurr.h</a>.</p>

</div>
</div>
<a class="anchor" id="a881ffe99944d926413324029c9bd577f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="ucurr_8h.html#a881ffe99944d926413324029c9bd577f">UCurrNameStyle</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Selector constants for <a class="el" href="ucurr_8h.html#a99e4d6409d1c015a6c331aa87fe1863b" title="Returns the display name for the given currency in the given locale. ">ucurr_getName()</a>. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="ucurr_8h.html#a99e4d6409d1c015a6c331aa87fe1863b" title="Returns the display name for the given currency in the given locale. ">ucurr_getName</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004616">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><em><a class="anchor" id="a881ffe99944d926413324029c9bd577fa9e4b934bc829cdbeba400402c8001af2"></a>UCURR_SYMBOL_NAME</em>&#160;</td><td class="fielddoc">
<p>Selector for ucurr_getName indicating a symbolic name for a currency, such as "$" for USD. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004631">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td class="fieldname"><em><a class="anchor" id="a881ffe99944d926413324029c9bd577fac1c4647fa878b581afcdb666831a953a"></a>UCURR_LONG_NAME</em>&#160;</td><td class="fielddoc">
<p>Selector for ucurr_getName indicating the long name for a currency, such as "US Dollar" for USD. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004632">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
</table>

<p>Definition at line <a class="el" href="ucurr_8h_source.html#l00064">64</a> of file <a class="el" href="ucurr_8h_source.html">ucurr.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a811fa3bab3337a989e8807558a922087"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t ucurr_countCurrencies </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>locale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</td>
          <td class="paramname"><em>date</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>ec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Finds the number of valid currency codes for the given locale and date. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">locale</td><td>the locale for which to retrieve the currency count. </td></tr>
    <tr><td class="paramname">date</td><td>the date for which to retrieve the currency count for the given locale. </td></tr>
    <tr><td class="paramname">ec</td><td>error code </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the number of currency codes for the given locale and date. If 0, currency codes couldn't be found for the input values are invalid. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004627">Stable:</a></b></dt><dd>ICU 4.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a86d1b8b7eea49cec5e6c399dd2c786ab"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t ucurr_forLocale </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>locale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>buff</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>buffCapacity</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>ec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The ucurr API encapsulates information about a currency, as defined by ISO 4217. </p>
<p>A currency is represented by a 3-character string containing its ISO 4217 code. This API can return various data necessary the proper display of a currency:</p>
<ul>
<li>
A display symbol, for a specific locale </li>
<li>
The number of fraction digits to display </li>
<li>
A rounding increment </li>
</ul>
<p>The <code>DecimalFormat</code> class uses these data to display currencies. </p>
<dl class="section author"><dt>Author</dt><dd>Alan Liu </dd></dl>
<dl class="section since"><dt>Since</dt><dd>ICU 2.2 Finds a currency code for the given locale. </dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">locale</td><td>the locale for which to retrieve a currency code. Currency can be specified by the "currency" keyword in which case it overrides the default currency code </td></tr>
    <tr><td class="paramname">buff</td><td>fill in buffer. Can be NULL for preflighting. </td></tr>
    <tr><td class="paramname">buffCapacity</td><td>capacity of the fill in buffer. Can be 0 for preflighting. If it is non-zero, the buff parameter must not be NULL. </td></tr>
    <tr><td class="paramname">ec</td><td>error code </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>length of the currency string. It should always be 3. If 0, currency couldn't be found or the input values are invalid. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004615">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

</div>
</div>
<a class="anchor" id="a1f63d3ad27f056137b81f3799c88d6e8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t ucurr_forLocaleAndDate </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>locale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</td>
          <td class="paramname"><em>date</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>buff</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>buffCapacity</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>ec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Finds a currency code for the given locale and date. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">locale</td><td>the locale for which to retrieve a currency code. Currency can be specified by the "currency" keyword in which case it overrides the default currency code </td></tr>
    <tr><td class="paramname">date</td><td>the date for which to retrieve a currency code for the given locale. </td></tr>
    <tr><td class="paramname">index</td><td>the index within the available list of currency codes for the given locale on the given date. </td></tr>
    <tr><td class="paramname">buff</td><td>fill in buffer. Can be NULL for preflighting. </td></tr>
    <tr><td class="paramname">buffCapacity</td><td>capacity of the fill in buffer. Can be 0 for preflighting. If it is non-zero, the buff parameter must not be NULL. </td></tr>
    <tr><td class="paramname">ec</td><td>error code </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>length of the currency string. It should always be 3. If 0, currency couldn't be found or the input values are invalid. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004628">Stable:</a></b></dt><dd>ICU 4.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a23a644db1cc8c9ad32d587271dabbfd8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t ucurr_getDefaultFractionDigits </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>currency</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>ec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the number of the number of fraction digits that should be displayed for the given currency. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">currency</td><td>null-terminated 3-letter ISO 4217 code </td></tr>
    <tr><td class="paramname">ec</td><td>input-output error code </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a non-negative number of fraction digits to be displayed, or 0 if there is an error </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004622">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a1fae1d6718c3a936ec59bbd738a18251"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="uenum_8h.html#a32b7253b2148022535be36a9fcdb5a8d">UEnumeration</a>* ucurr_getKeywordValuesForLocale </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>locale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td>
          <td class="paramname"><em>commonlyUsed</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Given a key and a locale, returns an array of string values in a preferred order that would make a difference. </p>
<p>These are all and only those values where the open (creation) of the service with the locale formed from the input locale plus input keyword and that value has different behavior than creation with the input locale alone. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td>one of the keys supported by this service. For now, only "currency" is supported. </td></tr>
    <tr><td class="paramname">locale</td><td>the locale </td></tr>
    <tr><td class="paramname">commonlyUsed</td><td>if set to true it will return only commonly used values with the given locale in preferred order. Otherwise, it will return all the available values for the locale. </td></tr>
    <tr><td class="paramname">status</td><td>error status </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a string enumeration over keyword values for the given key and the locale. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004629">Stable:</a></b></dt><dd>ICU 4.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a99e4d6409d1c015a6c331aa87fe1863b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a>* ucurr_getName </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>currency</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>locale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ucurr_8h.html#a881ffe99944d926413324029c9bd577f">UCurrNameStyle</a>&#160;</td>
          <td class="paramname"><em>nameStyle</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> *&#160;</td>
          <td class="paramname"><em>isChoiceFormat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t *&#160;</td>
          <td class="paramname"><em>len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>ec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the display name for the given currency in the given locale. </p>
<p>For example, the display name for the USD currency object in the en_US locale is "$". </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">currency</td><td>null-terminated 3-letter ISO 4217 code </td></tr>
    <tr><td class="paramname">locale</td><td>locale in which to display currency </td></tr>
    <tr><td class="paramname">nameStyle</td><td>selector for which kind of name to return </td></tr>
    <tr><td class="paramname">isChoiceFormat</td><td>fill-in set to TRUE if the returned value is a ChoiceFormat pattern; otherwise it is a static string </td></tr>
    <tr><td class="paramname">len</td><td>fill-in parameter to receive length of result </td></tr>
    <tr><td class="paramname">ec</td><td>error code </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pointer to display string of 'len' UChars. If the resource data contains no entry for 'currency', then 'currency' itself is returned. If *isChoiceFormat is TRUE, then the result is a ChoiceFormat pattern. Otherwise it is a static string. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004620">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

</div>
</div>
<a class="anchor" id="a34484e18f12f8482d2f95694a0def77a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t ucurr_getNumericCode </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>currency</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the ISO 4217 numeric code for the currency. </p>
<p>Note: If the ISO 4217 numeric code is not assigned for the currency or the currency is unknown, this function returns 0.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">currency</td><td>null-terminated 3-letter ISO 4217 code </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The ISO 4217 numeric code of the currency </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004630">Stable:</a></b></dt><dd>ICU 49 </dd></dl>

</div>
</div>
<a class="anchor" id="acc9adb69459d712bc18e3e167dc5ec2a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a>* ucurr_getPluralName </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>currency</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>locale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> *&#160;</td>
          <td class="paramname"><em>isChoiceFormat</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>pluralCount</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t *&#160;</td>
          <td class="paramname"><em>len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>ec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the plural name for the given currency in the given locale. </p>
<p>For example, the plural name for the USD currency object in the en_US locale is "US dollar" or "US dollars". </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">currency</td><td>null-terminated 3-letter ISO 4217 code </td></tr>
    <tr><td class="paramname">locale</td><td>locale in which to display currency </td></tr>
    <tr><td class="paramname">isChoiceFormat</td><td>fill-in set to TRUE if the returned value is a ChoiceFormat pattern; otherwise it is a static string </td></tr>
    <tr><td class="paramname">pluralCount</td><td>plural count </td></tr>
    <tr><td class="paramname">len</td><td>fill-in parameter to receive length of result </td></tr>
    <tr><td class="paramname">ec</td><td>error code </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pointer to display string of 'len' UChars. If the resource data contains no entry for 'currency', then 'currency' itself is returned. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004621">Stable:</a></b></dt><dd>ICU 4.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a1c0327a943d81597290f598b479b76ca"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double ucurr_getRoundingIncrement </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>currency</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>ec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the rounding increment for the given currency, or 0.0 if no rounding is done by the currency. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">currency</td><td>null-terminated 3-letter ISO 4217 code </td></tr>
    <tr><td class="paramname">ec</td><td>input-output error code </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the non-negative rounding increment, or 0.0 if none, or 0.0 if there is an error </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004623">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a3a4a1665fb0349d9a9cf1599ca3218dc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> ucurr_isAvailable </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>isoCode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</td>
          <td class="paramname"><em>from</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</td>
          <td class="paramname"><em>to</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>errorCode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Queries if the given ISO 4217 3-letter code is available on the specified date range. </p>
<p>Note: For checking availability of a currency on a specific date, specify the date on both 'from' and 'to'</p>
<p>When 'from' is U_DATE_MIN and 'to' is U_DATE_MAX, this method checks if the specified currency is available any time. If 'from' and 'to' are same UDate value, this method checks if the specified currency is available on that date.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">isoCode</td><td>The ISO 4217 3-letter code.</td></tr>
    <tr><td class="paramname">from</td><td>The lower bound of the date range, inclusive. When 'from' is U_DATE_MIN, check the availability of the currency any date before 'to'</td></tr>
    <tr><td class="paramname">to</td><td>The upper bound of the date range, inclusive. When 'to' is U_DATE_MAX, check the availability of the currency any date after 'from'</td></tr>
    <tr><td class="paramname">errorCode</td><td>ICU error code</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if the given ISO 4217 3-letter code is supported on the specified date range.</dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004626">Stable:</a></b></dt><dd>ICU 4.8 </dd></dl>

</div>
</div>
<a class="anchor" id="a68308bf94c73c4257c1f857339db332a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="uenum_8h.html#a32b7253b2148022535be36a9fcdb5a8d">UEnumeration</a>* ucurr_openISOCurrencies </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>currType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>pErrorCode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Provides a UEnumeration object for listing ISO-4217 codes. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">currType</td><td>You can use one of several UCurrCurrencyType values for this variable. You can also | (or) them together to get a specific list of currencies. Most people will want to use the (UCURR_CURRENCY|UCURR_NON_DEPRECATED) value to get a list of current currencies. </td></tr>
    <tr><td class="paramname">pErrorCode</td><td>Error code </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004625">Stable:</a></b></dt><dd>ICU 3.2 </dd></dl>

</div>
</div>
<a class="anchor" id="aa8f475e76ca6f85b2a6a86e6997a7b16"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ucurr_8h.html#a2bac7adc785f3b6ec275a08c29dea02d">UCurrRegistryKey</a> ucurr_register </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>isoCode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>locale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Register an (existing) ISO 4217 currency code for the given locale. </p>
<p>Only the country code and the two variants EURO and PRE_EURO are recognized. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">isoCode</td><td>the three-letter ISO 4217 currency code </td></tr>
    <tr><td class="paramname">locale</td><td>the locale for which to register this currency code </td></tr>
    <tr><td class="paramname">status</td><td>the in/out status code </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a registry key that can be used to unregister this currency code, or NULL if there was an error. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004618">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

</div>
</div>
<a class="anchor" id="aa57cfd9f87363a0a139db11ab71d610f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> ucurr_unregister </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucurr_8h.html#a2bac7adc785f3b6ec275a08c29dea02d">UCurrRegistryKey</a>&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Unregister the previously-registered currency definitions using the URegistryKey returned from ucurr_register. </p>
<p>Key becomes invalid after a successful call and should not be used again. Any currency that might have been hidden by the original ucurr_register call is restored. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td>the registry key returned by a previous call to ucurr_register </td></tr>
    <tr><td class="paramname">status</td><td>the in/out status code, no special meanings are assigned </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if the currency for this key was successfully unregistered </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004619">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.6
</small></address>
</body>
</html>