Sophie

Sophie

distrib > Mageia > 6 > armv5tl > media > core-release > by-pkgid > 3a4e91bde08970529a0aa07935652fe8 > files > 174

icu-doc-58.2-3.mga6.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.11"/>
<title>ICU 58.2: icu::Locale Class 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="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 id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ICU 58.2
   &#160;<span id="projectnumber">58.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
  <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 class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceicu.html">icu</a></li><li class="navelem"><a class="el" href="classicu_1_1Locale.html">Locale</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">icu::Locale Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A <code><a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a></code> object represents a specific geographical, political, or cultural region.  
 <a href="classicu_1_1Locale.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="locid_8h_source.html">locid.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for icu::Locale:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classicu_1_1Locale.png" usemap="#icu::Locale_map" alt=""/>
  <map id="icu::Locale_map" name="icu::Locale_map">
<area href="classicu_1_1UObject.html" title="UObject is the common ICU &quot;boilerplate&quot; class. " alt="icu::UObject" shape="rect" coords="0,56,89,80"/>
<area href="classicu_1_1UMemory.html" title="UMemory is the common ICU base class. " alt="icu::UMemory" shape="rect" coords="0,0,89,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a2675e8918f9885a74649c4ff625f51bd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a2675e8918f9885a74649c4ff625f51bd">Locale</a> ()</td></tr>
<tr class="memdesc:a2675e8918f9885a74649c4ff625f51bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a default locale object, a <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a> for the default locale ID.  <a href="#a2675e8918f9885a74649c4ff625f51bd">More...</a><br /></td></tr>
<tr class="separator:a2675e8918f9885a74649c4ff625f51bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45013de19b5a1056c215e2182b150228"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a45013de19b5a1056c215e2182b150228">Locale</a> (const char *language, const char *country=0, const char *variant=0, const char *keywordsAndValues=0)</td></tr>
<tr class="memdesc:a45013de19b5a1056c215e2182b150228"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a locale from language, country, variant.  <a href="#a45013de19b5a1056c215e2182b150228">More...</a><br /></td></tr>
<tr class="separator:a45013de19b5a1056c215e2182b150228"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abdbc24cada37a35c661a0264c140073e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#abdbc24cada37a35c661a0264c140073e">Locale</a> (const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;other)</td></tr>
<tr class="memdesc:abdbc24cada37a35c661a0264c140073e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes a <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a> object from another <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a> object.  <a href="#abdbc24cada37a35c661a0264c140073e">More...</a><br /></td></tr>
<tr class="separator:abdbc24cada37a35c661a0264c140073e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a654d1c1020597b62a3347ef15fda00ef"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a654d1c1020597b62a3347ef15fda00ef">~Locale</a> ()</td></tr>
<tr class="memdesc:a654d1c1020597b62a3347ef15fda00ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#a654d1c1020597b62a3347ef15fda00ef">More...</a><br /></td></tr>
<tr class="separator:a654d1c1020597b62a3347ef15fda00ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9780c55dc1bb3a3e065b8e7c0a18d52f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a9780c55dc1bb3a3e065b8e7c0a18d52f">operator=</a> (const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;other)</td></tr>
<tr class="memdesc:a9780c55dc1bb3a3e065b8e7c0a18d52f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Replaces the entire contents of *this with the specified value.  <a href="#a9780c55dc1bb3a3e065b8e7c0a18d52f">More...</a><br /></td></tr>
<tr class="separator:a9780c55dc1bb3a3e065b8e7c0a18d52f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abbf2755ceda11f2e34edd0f51e5795a8"><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="classicu_1_1Locale.html#abbf2755ceda11f2e34edd0f51e5795a8">operator==</a> (const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;other) const </td></tr>
<tr class="memdesc:abbf2755ceda11f2e34edd0f51e5795a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if two locale keys are the same.  <a href="#abbf2755ceda11f2e34edd0f51e5795a8">More...</a><br /></td></tr>
<tr class="separator:abbf2755ceda11f2e34edd0f51e5795a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3731a2b141a92f36c617536cd1b1739"><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="classicu_1_1Locale.html#aa3731a2b141a92f36c617536cd1b1739">operator!=</a> (const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;other) const </td></tr>
<tr class="memdesc:aa3731a2b141a92f36c617536cd1b1739"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if two locale keys are not the same.  <a href="#aa3731a2b141a92f36c617536cd1b1739">More...</a><br /></td></tr>
<tr class="separator:aa3731a2b141a92f36c617536cd1b1739"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c9193f6857dec849513c20810fc16b2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1Locale.html">Locale</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a8c9193f6857dec849513c20810fc16b2">clone</a> () const </td></tr>
<tr class="memdesc:a8c9193f6857dec849513c20810fc16b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clone this object.  <a href="#a8c9193f6857dec849513c20810fc16b2">More...</a><br /></td></tr>
<tr class="separator:a8c9193f6857dec849513c20810fc16b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af36d821adced72a870d921ebadd0ca93"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#af36d821adced72a870d921ebadd0ca93">getLanguage</a> () const </td></tr>
<tr class="memdesc:af36d821adced72a870d921ebadd0ca93"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the locale's ISO-639 language code.  <a href="#af36d821adced72a870d921ebadd0ca93">More...</a><br /></td></tr>
<tr class="separator:af36d821adced72a870d921ebadd0ca93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e0145a339d30794178a1412dcc55abe"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a5e0145a339d30794178a1412dcc55abe">getScript</a> () const </td></tr>
<tr class="memdesc:a5e0145a339d30794178a1412dcc55abe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the locale's ISO-15924 abbreviation script code.  <a href="#a5e0145a339d30794178a1412dcc55abe">More...</a><br /></td></tr>
<tr class="separator:a5e0145a339d30794178a1412dcc55abe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3f1fc415c00d4f0ab33288ceadccbf9"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#ae3f1fc415c00d4f0ab33288ceadccbf9">getCountry</a> () const </td></tr>
<tr class="memdesc:ae3f1fc415c00d4f0ab33288ceadccbf9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the locale's ISO-3166 country code.  <a href="#ae3f1fc415c00d4f0ab33288ceadccbf9">More...</a><br /></td></tr>
<tr class="separator:ae3f1fc415c00d4f0ab33288ceadccbf9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a701bb7ff7fd4070bcd423c28af0d15a0"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a701bb7ff7fd4070bcd423c28af0d15a0">getVariant</a> () const </td></tr>
<tr class="memdesc:a701bb7ff7fd4070bcd423c28af0d15a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the locale's variant code.  <a href="#a701bb7ff7fd4070bcd423c28af0d15a0">More...</a><br /></td></tr>
<tr class="separator:a701bb7ff7fd4070bcd423c28af0d15a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b76b319a1430411bbd6d3fd2268513b"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a6b76b319a1430411bbd6d3fd2268513b">getName</a> () const </td></tr>
<tr class="memdesc:a6b76b319a1430411bbd6d3fd2268513b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the programmatic name of the entire locale, with the language, country and variant separated by underbars.  <a href="#a6b76b319a1430411bbd6d3fd2268513b">More...</a><br /></td></tr>
<tr class="separator:a6b76b319a1430411bbd6d3fd2268513b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c1acbbdf95dc15599db5f322fa4c4d0"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a4c1acbbdf95dc15599db5f322fa4c4d0">getBaseName</a> () const </td></tr>
<tr class="memdesc:a4c1acbbdf95dc15599db5f322fa4c4d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the programmatic name of the entire locale as <a class="el" href="classicu_1_1Locale.html#a6b76b319a1430411bbd6d3fd2268513b" title="Returns the programmatic name of the entire locale, with the language, country and variant separated ...">getName()</a> would return, but without keywords.  <a href="#a4c1acbbdf95dc15599db5f322fa4c4d0">More...</a><br /></td></tr>
<tr class="separator:a4c1acbbdf95dc15599db5f322fa4c4d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2315b179905e5f8a8b6abbf58c3213ee"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1StringEnumeration.html">StringEnumeration</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a2315b179905e5f8a8b6abbf58c3213ee">createKeywords</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a2315b179905e5f8a8b6abbf58c3213ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the list of keywords for the specified locale.  <a href="#a2315b179905e5f8a8b6abbf58c3213ee">More...</a><br /></td></tr>
<tr class="separator:a2315b179905e5f8a8b6abbf58c3213ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a15b7cab06f5bdd9d27124dfa1bf24b09"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a15b7cab06f5bdd9d27124dfa1bf24b09">getKeywordValue</a> (const char *keywordName, char *buffer, int32_t bufferCapacity, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a15b7cab06f5bdd9d27124dfa1bf24b09"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the value for a keyword.  <a href="#a15b7cab06f5bdd9d27124dfa1bf24b09">More...</a><br /></td></tr>
<tr class="separator:a15b7cab06f5bdd9d27124dfa1bf24b09"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a335e03772c44908f2d00dc6c23623bb6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a335e03772c44908f2d00dc6c23623bb6">setKeywordValue</a> (const char *keywordName, const char *keywordValue, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a335e03772c44908f2d00dc6c23623bb6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets or removes the value for a keyword.  <a href="#a335e03772c44908f2d00dc6c23623bb6">More...</a><br /></td></tr>
<tr class="separator:a335e03772c44908f2d00dc6c23623bb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe5af63da827e6ffa8f189a8220d8bce"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#abe5af63da827e6ffa8f189a8220d8bce">getISO3Language</a> () const </td></tr>
<tr class="memdesc:abe5af63da827e6ffa8f189a8220d8bce"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns the locale's three-letter language code, as specified in ISO draft standard ISO-639-2.  <a href="#abe5af63da827e6ffa8f189a8220d8bce">More...</a><br /></td></tr>
<tr class="separator:abe5af63da827e6ffa8f189a8220d8bce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7565c1fe1d242cc29619aad9a91e0d4"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#ab7565c1fe1d242cc29619aad9a91e0d4">getISO3Country</a> () const </td></tr>
<tr class="memdesc:ab7565c1fe1d242cc29619aad9a91e0d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills in "name" with the locale's three-letter ISO-3166 country code.  <a href="#ab7565c1fe1d242cc29619aad9a91e0d4">More...</a><br /></td></tr>
<tr class="separator:ab7565c1fe1d242cc29619aad9a91e0d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb5cea8b6786b1161046cd374723b6a4"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#afb5cea8b6786b1161046cd374723b6a4">getLCID</a> (void) const </td></tr>
<tr class="memdesc:afb5cea8b6786b1161046cd374723b6a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the Windows LCID value corresponding to this locale.  <a href="#afb5cea8b6786b1161046cd374723b6a4">More...</a><br /></td></tr>
<tr class="separator:afb5cea8b6786b1161046cd374723b6a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77711a6addbcf3e8ca7f6deae66d5392"><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="classicu_1_1Locale.html#a77711a6addbcf3e8ca7f6deae66d5392">isRightToLeft</a> () const </td></tr>
<tr class="memdesc:a77711a6addbcf3e8ca7f6deae66d5392"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether this locale's script is written right-to-left.  <a href="#a77711a6addbcf3e8ca7f6deae66d5392">More...</a><br /></td></tr>
<tr class="separator:a77711a6addbcf3e8ca7f6deae66d5392"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa0eb376a8d7e6b06cf382989f0dbc9e1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#aa0eb376a8d7e6b06cf382989f0dbc9e1">getDisplayLanguage</a> (<a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;dispLang) const </td></tr>
<tr class="memdesc:aa0eb376a8d7e6b06cf382989f0dbc9e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills in "dispLang" with the name of this locale's language in a format suitable for user display in the default locale.  <a href="#aa0eb376a8d7e6b06cf382989f0dbc9e1">More...</a><br /></td></tr>
<tr class="separator:aa0eb376a8d7e6b06cf382989f0dbc9e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e37abe5df162c4e31840e15c145d241"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a0e37abe5df162c4e31840e15c145d241">getDisplayLanguage</a> (const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;displayLocale, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;dispLang) const </td></tr>
<tr class="memdesc:a0e37abe5df162c4e31840e15c145d241"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills in "dispLang" with the name of this locale's language in a format suitable for user display in the locale specified by "displayLocale".  <a href="#a0e37abe5df162c4e31840e15c145d241">More...</a><br /></td></tr>
<tr class="separator:a0e37abe5df162c4e31840e15c145d241"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0ba8523a81f7c3e6aeb3f2b436a59b6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#ae0ba8523a81f7c3e6aeb3f2b436a59b6">getDisplayScript</a> (<a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;dispScript) const </td></tr>
<tr class="memdesc:ae0ba8523a81f7c3e6aeb3f2b436a59b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills in "dispScript" with the name of this locale's script in a format suitable for user display in the default locale.  <a href="#ae0ba8523a81f7c3e6aeb3f2b436a59b6">More...</a><br /></td></tr>
<tr class="separator:ae0ba8523a81f7c3e6aeb3f2b436a59b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3486d2c0e32e592a7ab63da207cc0a64"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a3486d2c0e32e592a7ab63da207cc0a64">getDisplayScript</a> (const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;displayLocale, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;dispScript) const </td></tr>
<tr class="memdesc:a3486d2c0e32e592a7ab63da207cc0a64"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills in "dispScript" with the name of this locale's country in a format suitable for user display in the locale specified by "displayLocale".  <a href="#a3486d2c0e32e592a7ab63da207cc0a64">More...</a><br /></td></tr>
<tr class="separator:a3486d2c0e32e592a7ab63da207cc0a64"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2ecaa0a827c322651641fd193dbd998"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#ae2ecaa0a827c322651641fd193dbd998">getDisplayCountry</a> (<a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;dispCountry) const </td></tr>
<tr class="memdesc:ae2ecaa0a827c322651641fd193dbd998"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills in "dispCountry" with the name of this locale's country in a format suitable for user display in the default locale.  <a href="#ae2ecaa0a827c322651641fd193dbd998">More...</a><br /></td></tr>
<tr class="separator:ae2ecaa0a827c322651641fd193dbd998"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1becdeed3a4b7bdc803442b388317d7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#af1becdeed3a4b7bdc803442b388317d7">getDisplayCountry</a> (const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;displayLocale, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;dispCountry) const </td></tr>
<tr class="memdesc:af1becdeed3a4b7bdc803442b388317d7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills in "dispCountry" with the name of this locale's country in a format suitable for user display in the locale specified by "displayLocale".  <a href="#af1becdeed3a4b7bdc803442b388317d7">More...</a><br /></td></tr>
<tr class="separator:af1becdeed3a4b7bdc803442b388317d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab853c7e22379d32542d91ae132f4f1b8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#ab853c7e22379d32542d91ae132f4f1b8">getDisplayVariant</a> (<a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;dispVar) const </td></tr>
<tr class="memdesc:ab853c7e22379d32542d91ae132f4f1b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills in "dispVar" with the name of this locale's variant code in a format suitable for user display in the default locale.  <a href="#ab853c7e22379d32542d91ae132f4f1b8">More...</a><br /></td></tr>
<tr class="separator:ab853c7e22379d32542d91ae132f4f1b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aebb6832d0b21e3b63b5757c025c5afa1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#aebb6832d0b21e3b63b5757c025c5afa1">getDisplayVariant</a> (const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;displayLocale, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;dispVar) const </td></tr>
<tr class="memdesc:aebb6832d0b21e3b63b5757c025c5afa1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills in "dispVar" with the name of this locale's variant code in a format suitable for user display in the locale specified by "displayLocale".  <a href="#aebb6832d0b21e3b63b5757c025c5afa1">More...</a><br /></td></tr>
<tr class="separator:aebb6832d0b21e3b63b5757c025c5afa1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc4a8c21f19103503663cf6fcda9170d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#acc4a8c21f19103503663cf6fcda9170d">getDisplayName</a> (<a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;name) const </td></tr>
<tr class="memdesc:acc4a8c21f19103503663cf6fcda9170d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills in "name" with the name of this locale in a format suitable for user display in the default locale.  <a href="#acc4a8c21f19103503663cf6fcda9170d">More...</a><br /></td></tr>
<tr class="separator:acc4a8c21f19103503663cf6fcda9170d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add0dd18ea5d42618f9aad555c85b05f2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#add0dd18ea5d42618f9aad555c85b05f2">getDisplayName</a> (const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;displayLocale, <a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;name) const </td></tr>
<tr class="memdesc:add0dd18ea5d42618f9aad555c85b05f2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills in "name" with the name of this locale in a format suitable for user display in the locale specfied by "displayLocale".  <a href="#add0dd18ea5d42618f9aad555c85b05f2">More...</a><br /></td></tr>
<tr class="separator:add0dd18ea5d42618f9aad555c85b05f2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86032e1b66bae15e5e325ac7eaa1d646"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a86032e1b66bae15e5e325ac7eaa1d646">hashCode</a> (void) const </td></tr>
<tr class="memdesc:a86032e1b66bae15e5e325ac7eaa1d646"><td class="mdescLeft">&#160;</td><td class="mdescRight">Generates a hash code for the locale.  <a href="#a86032e1b66bae15e5e325ac7eaa1d646">More...</a><br /></td></tr>
<tr class="separator:a86032e1b66bae15e5e325ac7eaa1d646"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a96f224077ded97bc3e778e79adaa7662"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a96f224077ded97bc3e778e79adaa7662">setToBogus</a> ()</td></tr>
<tr class="memdesc:a96f224077ded97bc3e778e79adaa7662"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the locale to bogus A bogus locale represents a non-existing locale associated with services that can be instantiated from non-locale data in addition to locale (for example, collation can be instantiated from a locale and from a rule set).  <a href="#a96f224077ded97bc3e778e79adaa7662">More...</a><br /></td></tr>
<tr class="separator:a96f224077ded97bc3e778e79adaa7662"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a70cfc7bbdc208fdfc4c3474fe4508be8"><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="classicu_1_1Locale.html#a70cfc7bbdc208fdfc4c3474fe4508be8">isBogus</a> (void) const </td></tr>
<tr class="memdesc:a70cfc7bbdc208fdfc4c3474fe4508be8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the bogus state.  <a href="#a70cfc7bbdc208fdfc4c3474fe4508be8">More...</a><br /></td></tr>
<tr class="separator:a70cfc7bbdc208fdfc4c3474fe4508be8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a382ebaae0039cc0c374da544f0ecd9d6"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a382ebaae0039cc0c374da544f0ecd9d6">getDynamicClassID</a> () const </td></tr>
<tr class="memdesc:a382ebaae0039cc0c374da544f0ecd9d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for the actual class.  <a href="#a382ebaae0039cc0c374da544f0ecd9d6">More...</a><br /></td></tr>
<tr class="separator:a382ebaae0039cc0c374da544f0ecd9d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classicu_1_1UObject"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classicu_1_1UObject')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classicu_1_1UObject.html">icu::UObject</a></td></tr>
<tr class="memitem:af10026497704f510d3d1f2eff50acb18 inherit pub_methods_classicu_1_1UObject"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1UObject.html#af10026497704f510d3d1f2eff50acb18">~UObject</a> ()</td></tr>
<tr class="memdesc:af10026497704f510d3d1f2eff50acb18 inherit pub_methods_classicu_1_1UObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#af10026497704f510d3d1f2eff50acb18">More...</a><br /></td></tr>
<tr class="separator:af10026497704f510d3d1f2eff50acb18 inherit pub_methods_classicu_1_1UObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a1c046c2b7ca76f96e869cef9576880a7"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a1c046c2b7ca76f96e869cef9576880a7">getRoot</a> (void)</td></tr>
<tr class="memdesc:a1c046c2b7ca76f96e869cef9576880a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for the Root locale.  <a href="#a1c046c2b7ca76f96e869cef9576880a7">More...</a><br /></td></tr>
<tr class="separator:a1c046c2b7ca76f96e869cef9576880a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c0b495c3d3a8a7d77859bbbbebe0912"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a9c0b495c3d3a8a7d77859bbbbebe0912">getEnglish</a> (void)</td></tr>
<tr class="memdesc:a9c0b495c3d3a8a7d77859bbbbebe0912"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this language.  <a href="#a9c0b495c3d3a8a7d77859bbbbebe0912">More...</a><br /></td></tr>
<tr class="separator:a9c0b495c3d3a8a7d77859bbbbebe0912"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaf2344244680da0f18444a1b4f975e85"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#aaf2344244680da0f18444a1b4f975e85">getFrench</a> (void)</td></tr>
<tr class="memdesc:aaf2344244680da0f18444a1b4f975e85"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this language.  <a href="#aaf2344244680da0f18444a1b4f975e85">More...</a><br /></td></tr>
<tr class="separator:aaf2344244680da0f18444a1b4f975e85"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a07581e3075cd057d7c36e6cc7aba1f60"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a07581e3075cd057d7c36e6cc7aba1f60">getGerman</a> (void)</td></tr>
<tr class="memdesc:a07581e3075cd057d7c36e6cc7aba1f60"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this language.  <a href="#a07581e3075cd057d7c36e6cc7aba1f60">More...</a><br /></td></tr>
<tr class="separator:a07581e3075cd057d7c36e6cc7aba1f60"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aebbb8a20209db5d3850e517f85aa402f"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#aebbb8a20209db5d3850e517f85aa402f">getItalian</a> (void)</td></tr>
<tr class="memdesc:aebbb8a20209db5d3850e517f85aa402f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this language.  <a href="#aebbb8a20209db5d3850e517f85aa402f">More...</a><br /></td></tr>
<tr class="separator:aebbb8a20209db5d3850e517f85aa402f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04c5829675a1839f1862bda410d58eba"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a04c5829675a1839f1862bda410d58eba">getJapanese</a> (void)</td></tr>
<tr class="memdesc:a04c5829675a1839f1862bda410d58eba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this language.  <a href="#a04c5829675a1839f1862bda410d58eba">More...</a><br /></td></tr>
<tr class="separator:a04c5829675a1839f1862bda410d58eba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa56e1d1c41e820bb292b3329d133e7f0"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#aa56e1d1c41e820bb292b3329d133e7f0">getKorean</a> (void)</td></tr>
<tr class="memdesc:aa56e1d1c41e820bb292b3329d133e7f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this language.  <a href="#aa56e1d1c41e820bb292b3329d133e7f0">More...</a><br /></td></tr>
<tr class="separator:aa56e1d1c41e820bb292b3329d133e7f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b6246ee2e28ce4a04ebf0ba0810636f"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a3b6246ee2e28ce4a04ebf0ba0810636f">getChinese</a> (void)</td></tr>
<tr class="memdesc:a3b6246ee2e28ce4a04ebf0ba0810636f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this language.  <a href="#a3b6246ee2e28ce4a04ebf0ba0810636f">More...</a><br /></td></tr>
<tr class="separator:a3b6246ee2e28ce4a04ebf0ba0810636f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9caf64e5a189a0c9b3bcc79e9d93c783"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a9caf64e5a189a0c9b3bcc79e9d93c783">getSimplifiedChinese</a> (void)</td></tr>
<tr class="memdesc:a9caf64e5a189a0c9b3bcc79e9d93c783"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this language.  <a href="#a9caf64e5a189a0c9b3bcc79e9d93c783">More...</a><br /></td></tr>
<tr class="separator:a9caf64e5a189a0c9b3bcc79e9d93c783"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9963e0a63d31cca22ad95858f0d38dc2"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a9963e0a63d31cca22ad95858f0d38dc2">getTraditionalChinese</a> (void)</td></tr>
<tr class="memdesc:a9963e0a63d31cca22ad95858f0d38dc2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this language.  <a href="#a9963e0a63d31cca22ad95858f0d38dc2">More...</a><br /></td></tr>
<tr class="separator:a9963e0a63d31cca22ad95858f0d38dc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9bd58caef2a7c11588ad8a830d504a9"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#ad9bd58caef2a7c11588ad8a830d504a9">getFrance</a> (void)</td></tr>
<tr class="memdesc:ad9bd58caef2a7c11588ad8a830d504a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this country/region.  <a href="#ad9bd58caef2a7c11588ad8a830d504a9">More...</a><br /></td></tr>
<tr class="separator:ad9bd58caef2a7c11588ad8a830d504a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6657dce5a51d2959a61038f836c9c03b"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a6657dce5a51d2959a61038f836c9c03b">getGermany</a> (void)</td></tr>
<tr class="memdesc:a6657dce5a51d2959a61038f836c9c03b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this country/region.  <a href="#a6657dce5a51d2959a61038f836c9c03b">More...</a><br /></td></tr>
<tr class="separator:a6657dce5a51d2959a61038f836c9c03b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abea6d123cc0dc48b7227332ce4df736f"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#abea6d123cc0dc48b7227332ce4df736f">getItaly</a> (void)</td></tr>
<tr class="memdesc:abea6d123cc0dc48b7227332ce4df736f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this country/region.  <a href="#abea6d123cc0dc48b7227332ce4df736f">More...</a><br /></td></tr>
<tr class="separator:abea6d123cc0dc48b7227332ce4df736f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acbf8aa85ef60399cd056c5a1e48a2022"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#acbf8aa85ef60399cd056c5a1e48a2022">getJapan</a> (void)</td></tr>
<tr class="memdesc:acbf8aa85ef60399cd056c5a1e48a2022"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this country/region.  <a href="#acbf8aa85ef60399cd056c5a1e48a2022">More...</a><br /></td></tr>
<tr class="separator:acbf8aa85ef60399cd056c5a1e48a2022"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad466b243a4b439cab2837645f7b06104"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#ad466b243a4b439cab2837645f7b06104">getKorea</a> (void)</td></tr>
<tr class="memdesc:ad466b243a4b439cab2837645f7b06104"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this country/region.  <a href="#ad466b243a4b439cab2837645f7b06104">More...</a><br /></td></tr>
<tr class="separator:ad466b243a4b439cab2837645f7b06104"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0eca784e3d57cf731b79b362da392df4"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a0eca784e3d57cf731b79b362da392df4">getChina</a> (void)</td></tr>
<tr class="memdesc:a0eca784e3d57cf731b79b362da392df4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this country/region.  <a href="#a0eca784e3d57cf731b79b362da392df4">More...</a><br /></td></tr>
<tr class="separator:a0eca784e3d57cf731b79b362da392df4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f6c05c8141d9a82fce1b6fe0e88aa1f"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a4f6c05c8141d9a82fce1b6fe0e88aa1f">getPRC</a> (void)</td></tr>
<tr class="memdesc:a4f6c05c8141d9a82fce1b6fe0e88aa1f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this country/region.  <a href="#a4f6c05c8141d9a82fce1b6fe0e88aa1f">More...</a><br /></td></tr>
<tr class="separator:a4f6c05c8141d9a82fce1b6fe0e88aa1f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af33739354f6bd8962d86ad190846f0ab"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#af33739354f6bd8962d86ad190846f0ab">getTaiwan</a> (void)</td></tr>
<tr class="memdesc:af33739354f6bd8962d86ad190846f0ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this country/region.  <a href="#af33739354f6bd8962d86ad190846f0ab">More...</a><br /></td></tr>
<tr class="separator:af33739354f6bd8962d86ad190846f0ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac21b1a22d3349309f3371a0d8e736871"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#ac21b1a22d3349309f3371a0d8e736871">getUK</a> (void)</td></tr>
<tr class="memdesc:ac21b1a22d3349309f3371a0d8e736871"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this country/region.  <a href="#ac21b1a22d3349309f3371a0d8e736871">More...</a><br /></td></tr>
<tr class="separator:ac21b1a22d3349309f3371a0d8e736871"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7804339f41684082ea10671ab70db23c"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a7804339f41684082ea10671ab70db23c">getUS</a> (void)</td></tr>
<tr class="memdesc:a7804339f41684082ea10671ab70db23c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this country/region.  <a href="#a7804339f41684082ea10671ab70db23c">More...</a><br /></td></tr>
<tr class="separator:a7804339f41684082ea10671ab70db23c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5350364cf4dc1f11f35693b6cb3265c3"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a5350364cf4dc1f11f35693b6cb3265c3">getCanada</a> (void)</td></tr>
<tr class="memdesc:a5350364cf4dc1f11f35693b6cb3265c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this country/region.  <a href="#a5350364cf4dc1f11f35693b6cb3265c3">More...</a><br /></td></tr>
<tr class="separator:a5350364cf4dc1f11f35693b6cb3265c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd9ae5fdc377c2e6f61053ef7c87ab65"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#abd9ae5fdc377c2e6f61053ef7c87ab65">getCanadaFrench</a> (void)</td></tr>
<tr class="memdesc:abd9ae5fdc377c2e6f61053ef7c87ab65"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this country/region.  <a href="#abd9ae5fdc377c2e6f61053ef7c87ab65">More...</a><br /></td></tr>
<tr class="separator:abd9ae5fdc377c2e6f61053ef7c87ab65"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a020c6966493a8f00572616b64b5527c3"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a020c6966493a8f00572616b64b5527c3">getDefault</a> (void)</td></tr>
<tr class="memdesc:a020c6966493a8f00572616b64b5527c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Common methods of getting the current default <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a>.  <a href="#a020c6966493a8f00572616b64b5527c3">More...</a><br /></td></tr>
<tr class="separator:a020c6966493a8f00572616b64b5527c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a9edf0b1deb14ecbc8cedaae82a07ce"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a6a9edf0b1deb14ecbc8cedaae82a07ce">setDefault</a> (const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;newLocale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;success)</td></tr>
<tr class="memdesc:a6a9edf0b1deb14ecbc8cedaae82a07ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the default.  <a href="#a6a9edf0b1deb14ecbc8cedaae82a07ce">More...</a><br /></td></tr>
<tr class="separator:a6a9edf0b1deb14ecbc8cedaae82a07ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11f078bd549698d012be82654925614a"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1Locale.html">Locale</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a11f078bd549698d012be82654925614a">createFromName</a> (const char *name)</td></tr>
<tr class="memdesc:a11f078bd549698d012be82654925614a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a locale which has had minimal canonicalization as per <a class="el" href="uloc_8h.html#a1b817e9efa7ca5711d3b5abd19227296" title="Gets the full name for the specified locale. ">uloc_getName()</a>.  <a href="#a11f078bd549698d012be82654925614a">More...</a><br /></td></tr>
<tr class="separator:a11f078bd549698d012be82654925614a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1e27231da1d9e7bdf0a2f106599e8e79"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1Locale.html">Locale</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a1e27231da1d9e7bdf0a2f106599e8e79">createCanonical</a> (const char *name)</td></tr>
<tr class="memdesc:a1e27231da1d9e7bdf0a2f106599e8e79"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a locale from the given string after canonicalizing the string by calling <a class="el" href="uloc_8h.html#afe5adae51e287be339c57142947eb290" title="Gets the full name for the specified locale. ">uloc_canonicalize()</a>.  <a href="#a1e27231da1d9e7bdf0a2f106599e8e79">More...</a><br /></td></tr>
<tr class="separator:a1e27231da1d9e7bdf0a2f106599e8e79"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a073d70df8c9c8d119c0d42d70de24137"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classicu_1_1Locale.html">Locale</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a073d70df8c9c8d119c0d42d70de24137">getAvailableLocales</a> (int32_t &amp;count)</td></tr>
<tr class="memdesc:a073d70df8c9c8d119c0d42d70de24137"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a list of all installed locales.  <a href="#a073d70df8c9c8d119c0d42d70de24137">More...</a><br /></td></tr>
<tr class="separator:a073d70df8c9c8d119c0d42d70de24137"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d7ad0dea54a784cefd1ff35be55c648"><td class="memItemLeft" align="right" valign="top">static const char *const *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a0d7ad0dea54a784cefd1ff35be55c648">getISOCountries</a> ()</td></tr>
<tr class="memdesc:a0d7ad0dea54a784cefd1ff35be55c648"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets a list of all available 2-letter country codes defined in ISO 3166.  <a href="#a0d7ad0dea54a784cefd1ff35be55c648">More...</a><br /></td></tr>
<tr class="separator:a0d7ad0dea54a784cefd1ff35be55c648"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a571cdf49b45b8f219de26749b9c7be18"><td class="memItemLeft" align="right" valign="top">static const char *const *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a571cdf49b45b8f219de26749b9c7be18">getISOLanguages</a> ()</td></tr>
<tr class="memdesc:a571cdf49b45b8f219de26749b9c7be18"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets a list of all available language codes defined in ISO 639.  <a href="#a571cdf49b45b8f219de26749b9c7be18">More...</a><br /></td></tr>
<tr class="separator:a571cdf49b45b8f219de26749b9c7be18"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a262572b67b518c07034b3f386a41bf76"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a262572b67b518c07034b3f386a41bf76">getStaticClassID</a> ()</td></tr>
<tr class="memdesc:a262572b67b518c07034b3f386a41bf76"><td class="mdescLeft">&#160;</td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for this class.  <a href="#a262572b67b518c07034b3f386a41bf76">More...</a><br /></td></tr>
<tr class="separator:a262572b67b518c07034b3f386a41bf76"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:ae42b6a9c1bae0656ba4a6703c1cafc81"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#ae42b6a9c1bae0656ba4a6703c1cafc81">setFromPOSIXID</a> (const char *posixID)</td></tr>
<tr class="memdesc:ae42b6a9c1bae0656ba4a6703c1cafc81"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set this from a single POSIX style locale string.  <a href="#ae42b6a9c1bae0656ba4a6703c1cafc81">More...</a><br /></td></tr>
<tr class="separator:ae42b6a9c1bae0656ba4a6703c1cafc81"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a1bdd482a1250d42ddd88881d94aa304c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1Locale.html">Locale</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a1bdd482a1250d42ddd88881d94aa304c">locale_set_default_internal</a> (const char *, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a1bdd482a1250d42ddd88881d94aa304c"><td class="mdescLeft">&#160;</td><td class="mdescRight">A friend to allow the default locale to be set by either the C or C++ API.  <a href="#a1bdd482a1250d42ddd88881d94aa304c">More...</a><br /></td></tr>
<tr class="separator:a1bdd482a1250d42ddd88881d94aa304c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b8bcbd6010e9e55481a99ad6c7dc0a0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a1b8bcbd6010e9e55481a99ad6c7dc0a0">locale_available_init</a> ()</td></tr>
<tr class="separator:a1b8bcbd6010e9e55481a99ad6c7dc0a0"><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>A <code><a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a></code> object represents a specific geographical, political, or cultural region. </p>
<p>An operation that requires a <code><a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a></code> to perform its task is called <em>locale-sensitive</em> and uses the <code><a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a></code> to tailor information for the user. For example, displaying a number is a locale-sensitive operation&ndash;the number should be formatted according to the customs/conventions of the user's native country, region, or culture.</p>
<p>The <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a> class is not suitable for subclassing.</p>
<p>You can create a <code><a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a></code> object using the constructor in this class:  <blockquote> </p><pre>
      <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a>( const   char*  language,
              const   char*  country,
              const   char*  variant);
</pre><p>  </blockquote> The first argument to the constructors is a valid <b>ISO Language Code.</b> These codes are the lower-case two-letter codes as defined by ISO-639. You can find a full list of these codes at: <br />
<a href="http://www.loc.gov/standards/iso639-2/">http://www.loc.gov/standards/iso639-2/</a></p>
<p>The second argument to the constructors is a valid <b>ISO Country Code.</b> These codes are the upper-case two-letter codes as defined by ISO-3166. You can find a full list of these codes at a number of sites, such as: <br />
<a href="http://www.iso.org/iso/en/prods-services/iso3166ma/index.html">http://www.iso.org/iso/en/prods-services/iso3166ma/index.html</a></p>
<p>The third constructor requires a third argument&ndash;the <b>Variant.</b> The Variant codes are vendor and browser-specific. For example, use REVISED for a langauge's revised script orthography, and POSIX for POSIX. Where there are two variants, separate them with an underscore, and put the most important one first. For example, a Traditional Spanish collation might be referenced, with "ES", "ES", "Traditional_POSIX".</p>
<p>Because a <code><a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a></code> object is just an identifier for a region, no validity check is performed when you construct a <code><a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a></code>. If you want to see whether particular resources are available for the <code><a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a></code> you construct, you must query those resources. For example, ask the <code><a class="el" href="classicu_1_1NumberFormat.html" title="Abstract base class for all number formats. ">NumberFormat</a></code> for the locales it supports using its <code>getAvailableLocales</code> method. <br />
<b>Note:</b> When you ask for a resource for a particular locale, you get back the best available match, not necessarily precisely what you asked for. For more information, look at <code><a class="el" href="classicu_1_1ResourceBundle.html" title="A class representing a collection of resource information pertaining to a given locale. ">ResourceBundle</a></code>.</p>
<p>The <code><a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a></code> class provides a number of convenient constants that you can use to create <code><a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a></code> objects for commonly used locales. For example, the following refers to a <code><a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a></code> object for the United States:  <blockquote> </p><pre>
      <a class="el" href="classicu_1_1Locale.html#a7804339f41684082ea10671ab70db23c" title="Useful constant for this country/region. ">Locale::getUS()</a>
</pre><p>  </blockquote></p>
<p>Once you've created a <code><a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a></code> you can query it for information about itself. Use <code>getCountry</code> to get the ISO Country Code and <code>getLanguage</code> to get the ISO Language Code. You can use <code>getDisplayCountry</code> to get the name of the country suitable for displaying to the user. Similarly, you can use <code>getDisplayLanguage</code> to get the name of the language suitable for displaying to the user. Interestingly, the <code>getDisplayXXX</code> methods are themselves locale-sensitive and have two versions: one that uses the default locale and one that takes a locale as an argument and displays the name or country in a language appropriate to that locale.</p>
<p>ICU provides a number of classes that perform locale-sensitive operations. For example, the <code><a class="el" href="classicu_1_1NumberFormat.html" title="Abstract base class for all number formats. ">NumberFormat</a></code> class formats numbers, currency, or percentages in a locale-sensitive manner. Classes such as <code><a class="el" href="classicu_1_1NumberFormat.html" title="Abstract base class for all number formats. ">NumberFormat</a></code> have a number of convenience methods for creating a default object of that type. For example, the <code><a class="el" href="classicu_1_1NumberFormat.html" title="Abstract base class for all number formats. ">NumberFormat</a></code> class provides these three convenience methods for creating a default <code><a class="el" href="classicu_1_1NumberFormat.html" title="Abstract base class for all number formats. ">NumberFormat</a></code> object:  <blockquote> </p><pre>
    UErrorCode success = U_ZERO_ERROR;
    <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a> myLocale;
    <a class="el" href="classicu_1_1NumberFormat.html" title="Abstract base class for all number formats. ">NumberFormat</a> *nf;</pre><pre>    nf = NumberFormat::createInstance( success );          delete nf;
    nf = NumberFormat::createCurrencyInstance( success );  delete nf;
    nf = NumberFormat::createPercentInstance( success );   delete nf;
</pre><p>  </blockquote> Each of these methods has two variants; one with an explicit locale and one without; the latter using the default locale.  <blockquote> </p><pre>
    nf = NumberFormat::createInstance( myLocale, success );          delete nf;
    nf = NumberFormat::createCurrencyInstance( myLocale, success );  delete nf;
    nf = NumberFormat::createPercentInstance( myLocale, success );   delete nf;
</pre><p>  </blockquote> A <code><a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a></code> is the mechanism for identifying the kind of object (<code><a class="el" href="classicu_1_1NumberFormat.html" title="Abstract base class for all number formats. ">NumberFormat</a></code>) that you would like to get. The locale is <b>just</b> a mechanism for identifying objects, <b>not</b> a container for the objects themselves.</p>
<p>Each class that performs locale-sensitive operations allows you to get all the available objects of that type. You can sift through these objects by language, country, or variant, and use the display names to present a menu to the user. For example, you can create a menu of all the collation objects suitable for a given language. Such classes implement these three class methods:  <blockquote> </p><pre>
      static Locale* <a class="el" href="classicu_1_1Locale.html#a073d70df8c9c8d119c0d42d70de24137" title="Returns a list of all installed locales. ">getAvailableLocales(int32_t&amp; numLocales)</a>
      static <a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>&amp; getDisplayName(const <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a>&amp;  objectLocale,
                                           const <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a>&amp;  displayLocale,
                                           <a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>&amp; displayName)
      static <a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>&amp; getDisplayName(const <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a>&amp;  objectLocale,
                                           <a class="el" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>&amp; displayName)
</pre><p>  </blockquote></p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000269">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classicu_1_1ResourceBundle.html" title="A class representing a collection of resource information pertaining to a given locale. ">ResourceBundle</a> </dd></dl>

<p>Definition at line <a class="el" href="locid_8h_source.html#l00187">187</a> of file <a class="el" href="locid_8h_source.html">locid.h</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a2675e8918f9885a74649c4ff625f51bd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">icu::Locale::Locale </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Construct a default locale object, a <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a> for the default locale ID. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classicu_1_1Locale.html#a020c6966493a8f00572616b64b5527c3" title="Common methods of getting the current default Locale. ">getDefault</a> </dd>
<dd>
<a class="el" href="uloc_8h.html#adbc1e91581ae0e0ec421dafcc35c06c1" title="Gets ICU&#39;s default locale. ">uloc_getDefault</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000292">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a45013de19b5a1056c215e2182b150228"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">icu::Locale::Locale </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>language</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>country</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>variant</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>keywordsAndValues</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Construct a locale from language, country, variant. </p>
<p>If an error occurs, then the constructed object will be "bogus" (<a class="el" href="classicu_1_1Locale.html#a70cfc7bbdc208fdfc4c3474fe4508be8" title="Gets the bogus state. ">isBogus()</a> will return TRUE).</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">language</td><td>Lowercase two-letter or three-letter ISO-639 code. This parameter can instead be an ICU style C locale (e.g. "en_US"), but the other parameters must not be used. This parameter can be NULL; if so, the locale is initialized to match the current default locale. (This is the same as using the default constructor.) Please note: The Java <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a> class does NOT accept the form 'new <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a>("en_US")' but only 'new <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a>("en","US")'</td></tr>
    <tr><td class="paramname">country</td><td>Uppercase two-letter ISO-3166 code. (optional) </td></tr>
    <tr><td class="paramname">variant</td><td>Uppercase vendor and browser specific code. See class description. (optional) </td></tr>
    <tr><td class="paramname">keywordsAndValues</td><td>A string consisting of keyword/values pairs, such as "collation=phonebook;currency=euro"</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classicu_1_1Locale.html#a020c6966493a8f00572616b64b5527c3" title="Common methods of getting the current default Locale. ">getDefault</a> </dd>
<dd>
<a class="el" href="uloc_8h.html#adbc1e91581ae0e0ec421dafcc35c06c1" title="Gets ICU&#39;s default locale. ">uloc_getDefault</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000293">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="abdbc24cada37a35c661a0264c140073e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">icu::Locale::Locale </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initializes a <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a> object from another <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a> object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">other</td><td>The <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a> object being copied in. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000294">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a654d1c1020597b62a3347ef15fda00ef"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual icu::Locale::~Locale </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Destructor. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000295">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a8c9193f6857dec849513c20810fc16b2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1Locale.html">Locale</a>* icu::Locale::clone </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clone this object. </p>
<p>Clones can be used concurrently in multiple threads. If an error occurs, then NULL is returned. The caller must delete the clone.</p>
<dl class="section return"><dt>Returns</dt><dd>a clone of this object</dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classicu_1_1Locale.html#a382ebaae0039cc0c374da544f0ecd9d6" title="ICU &quot;poor man&#39;s RTTI&quot;, returns a UClassID for the actual class. ">getDynamicClassID</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000299">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

</div>
</div>
<a class="anchor" id="a1e27231da1d9e7bdf0a2f106599e8e79"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classicu_1_1Locale.html">Locale</a> icu::Locale::createCanonical </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a locale from the given string after canonicalizing the string by calling <a class="el" href="uloc_8h.html#afe5adae51e287be339c57142947eb290" title="Gets the full name for the specified locale. ">uloc_canonicalize()</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>the locale ID to create from. Must not be NULL. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a new locale object corresponding to the given name </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000303">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="uloc_8h.html#afe5adae51e287be339c57142947eb290" title="Gets the full name for the specified locale. ">uloc_canonicalize</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a11f078bd549698d012be82654925614a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classicu_1_1Locale.html">Locale</a> icu::Locale::createFromName </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a locale which has had minimal canonicalization as per <a class="el" href="uloc_8h.html#a1b817e9efa7ca5711d3b5abd19227296" title="Gets the full name for the specified locale. ">uloc_getName()</a>. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>The name to create from. If name is null, the default <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a> is used. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>new locale object </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000302">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="uloc_8h.html#a1b817e9efa7ca5711d3b5abd19227296" title="Gets the full name for the specified locale. ">uloc_getName</a> </dd></dl>

</div>
</div>
<a class="anchor" id="a2315b179905e5f8a8b6abbf58c3213ee"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1StringEnumeration.html">StringEnumeration</a>* icu::Locale::createKeywords </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the list of keywords for the specified locale. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td>the status code </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>pointer to <a class="el" href="classicu_1_1StringEnumeration.html" title="Base class for &#39;pure&#39; C++ implementations of uenum api. ">StringEnumeration</a> class, or NULL if there are no keywords. Client must dispose of it by calling delete. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000310">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

</div>
</div>
<a class="anchor" id="a073d70df8c9c8d119c0d42d70de24137"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classicu_1_1Locale.html">Locale</a>* icu::Locale::getAvailableLocales </td>
          <td>(</td>
          <td class="paramtype">int32_t &amp;&#160;</td>
          <td class="paramname"><em>count</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a list of all installed locales. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">count</td><td>Receives the number of locales in the list. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A pointer to an array of <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a> objects. This array is the list of all locales with installed resource files. The called does NOT get ownership of this list, and must NOT delete it. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000330">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a4c1acbbdf95dc15599db5f322fa4c4d0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* icu::Locale::getBaseName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the programmatic name of the entire locale as <a class="el" href="classicu_1_1Locale.html#a6b76b319a1430411bbd6d3fd2268513b" title="Returns the programmatic name of the entire locale, with the language, country and variant separated ...">getName()</a> would return, but without keywords. </p>
<dl class="section return"><dt>Returns</dt><dd>A pointer to "name". </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classicu_1_1Locale.html#a6b76b319a1430411bbd6d3fd2268513b" title="Returns the programmatic name of the entire locale, with the language, country and variant separated ...">getName</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000309">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

</div>
</div>
<a class="anchor" id="a5350364cf4dc1f11f35693b6cb3265c3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classicu_1_1Locale.html">Locale</a>&amp; icu::Locale::getCanada </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Useful constant for this country/region. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000290">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="abd9ae5fdc377c2e6f61053ef7c87ab65"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classicu_1_1Locale.html">Locale</a>&amp; icu::Locale::getCanadaFrench </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Useful constant for this country/region. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000291">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a0eca784e3d57cf731b79b362da392df4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classicu_1_1Locale.html">Locale</a>&amp; icu::Locale::getChina </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Useful constant for this country/region. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000285">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a3b6246ee2e28ce4a04ebf0ba0810636f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classicu_1_1Locale.html">Locale</a>&amp; icu::Locale::getChinese </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Useful constant for this language. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000277">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ae3f1fc415c00d4f0ab33288ceadccbf9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const char * icu::Locale::getCountry </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the locale's ISO-3166 country code. </p>
<dl class="section return"><dt>Returns</dt><dd>An alias to the code </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000306">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="locid_8h_source.html#l00778">778</a> of file <a class="el" href="locid_8h_source.html">locid.h</a>.</p>

</div>
</div>
<a class="anchor" id="a020c6966493a8f00572616b64b5527c3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classicu_1_1Locale.html">Locale</a>&amp; icu::Locale::getDefault </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Common methods of getting the current default <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a>. </p>
<p>Used for the presentation: menus, dialogs, etc. Generally set once when your applet or application is initialized, then never reset. (If you do reset the default locale, you probably want to reload your GUI, so that the change is reflected in your interface.)</p>
<p>More advanced programs will allow users to use different locales for different fields, e.g. in a spreadsheet.</p>
<p>Note that the initial setting will match the host system. </p><dl class="section return"><dt>Returns</dt><dd>a reference to the <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a> object for the default locale ID </dd></dl>
<dl class="system"><dt><b><a class="el" href="system.html#_system000001">System:</a></b></dt><dd>Do not use unless you know what you are doing. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000300">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ae2ecaa0a827c322651641fd193dbd998"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&amp; icu::Locale::getDisplayCountry </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>dispCountry</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Fills in "dispCountry" with the name of this locale's country in a format suitable for user display in the default locale. </p>
<p>For example, if the locale's country code is "FR" and the default locale's language code is "en", this function would set dispCountry to "France". </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dispCountry</td><td>Receives the country's display name. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to "dispCountry". </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000321">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="af1becdeed3a4b7bdc803442b388317d7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&amp; icu::Locale::getDisplayCountry </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td>
          <td class="paramname"><em>displayLocale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>dispCountry</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Fills in "dispCountry" with the name of this locale's country in a format suitable for user display in the locale specified by "displayLocale". </p>
<p>For example, if the locale's country code is "US" and displayLocale's language code is "fr", this function would set dispCountry to "&amp;Eacute;tats-Unis". </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">displayLocale</td><td>Specifies the locale to be used to display the name. In other words, if the locale's country code is "US", passing <a class="el" href="classicu_1_1Locale.html#aaf2344244680da0f18444a1b4f975e85" title="Useful constant for this language. ">Locale::getFrench()</a> for displayLocale would result in "&amp;Eacute;tats-Unis", while passing <a class="el" href="classicu_1_1Locale.html#a07581e3075cd057d7c36e6cc7aba1f60" title="Useful constant for this language. ">Locale::getGerman()</a> for displayLocale would result in "Vereinigte Staaten". </td></tr>
    <tr><td class="paramname">dispCountry</td><td>Receives the country's display name. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to "dispCountry". </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000322">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="aa0eb376a8d7e6b06cf382989f0dbc9e1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&amp; icu::Locale::getDisplayLanguage </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>dispLang</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Fills in "dispLang" with the name of this locale's language in a format suitable for user display in the default locale. </p>
<p>For example, if the locale's language code is "fr" and the default locale's language code is "en", this function would set dispLang to "French". </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dispLang</td><td>Receives the language's display name. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to "dispLang". </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000317">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a0e37abe5df162c4e31840e15c145d241"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&amp; icu::Locale::getDisplayLanguage </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td>
          <td class="paramname"><em>displayLocale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>dispLang</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Fills in "dispLang" with the name of this locale's language in a format suitable for user display in the locale specified by "displayLocale". </p>
<p>For example, if the locale's language code is "en" and displayLocale's language code is "fr", this function would set dispLang to "Anglais". </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">displayLocale</td><td>Specifies the locale to be used to display the name. In other words, if the locale's language code is "en", passing <a class="el" href="classicu_1_1Locale.html#aaf2344244680da0f18444a1b4f975e85" title="Useful constant for this language. ">Locale::getFrench()</a> for displayLocale would result in "Anglais", while passing <a class="el" href="classicu_1_1Locale.html#a07581e3075cd057d7c36e6cc7aba1f60" title="Useful constant for this language. ">Locale::getGerman()</a> for displayLocale would result in "Englisch". </td></tr>
    <tr><td class="paramname">dispLang</td><td>Receives the language's display name. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to "dispLang". </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000318">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="acc4a8c21f19103503663cf6fcda9170d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&amp; icu::Locale::getDisplayName </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>name</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Fills in "name" with the name of this locale in a format suitable for user display in the default locale. </p>
<p>This function uses <a class="el" href="classicu_1_1Locale.html#aa0eb376a8d7e6b06cf382989f0dbc9e1" title="Fills in &quot;dispLang&quot; with the name of this locale&#39;s language in a format suitable for user display in ...">getDisplayLanguage()</a>, <a class="el" href="classicu_1_1Locale.html#ae2ecaa0a827c322651641fd193dbd998" title="Fills in &quot;dispCountry&quot; with the name of this locale&#39;s country in a format suitable for user display i...">getDisplayCountry()</a>, and <a class="el" href="classicu_1_1Locale.html#ab853c7e22379d32542d91ae132f4f1b8" title="Fills in &quot;dispVar&quot; with the name of this locale&#39;s variant code in a format suitable for user display ...">getDisplayVariant()</a> to do its work, and outputs the display name in the format "language (country[,variant])". For example, if the default locale is en_US, then fr_FR's display name would be "French (France)", and es_MX_Traditional's display name would be "Spanish (Mexico,Traditional)". </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">name</td><td>Receives the locale's display name. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to "name". </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000325">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="add0dd18ea5d42618f9aad555c85b05f2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&amp; icu::Locale::getDisplayName </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td>
          <td class="paramname"><em>displayLocale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>name</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Fills in "name" with the name of this locale in a format suitable for user display in the locale specfied by "displayLocale". </p>
<p>This function uses <a class="el" href="classicu_1_1Locale.html#aa0eb376a8d7e6b06cf382989f0dbc9e1" title="Fills in &quot;dispLang&quot; with the name of this locale&#39;s language in a format suitable for user display in ...">getDisplayLanguage()</a>, <a class="el" href="classicu_1_1Locale.html#ae2ecaa0a827c322651641fd193dbd998" title="Fills in &quot;dispCountry&quot; with the name of this locale&#39;s country in a format suitable for user display i...">getDisplayCountry()</a>, and <a class="el" href="classicu_1_1Locale.html#ab853c7e22379d32542d91ae132f4f1b8" title="Fills in &quot;dispVar&quot; with the name of this locale&#39;s variant code in a format suitable for user display ...">getDisplayVariant()</a> to do its work, and outputs the display name in the format "language (country[,variant])". For example, if displayLocale is fr_FR, then en_US's display name would be "Anglais (&amp;Eacute;tats-Unis)", and no_NO_NY's display name would be "norv&amp;eacute;gien (Norv&amp;egrave;ge,NY)". </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">displayLocale</td><td>Specifies the locale to be used to display the name. </td></tr>
    <tr><td class="paramname">name</td><td>Receives the locale's display name. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to "name". </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000326">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ae0ba8523a81f7c3e6aeb3f2b436a59b6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&amp; icu::Locale::getDisplayScript </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>dispScript</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Fills in "dispScript" with the name of this locale's script in a format suitable for user display in the default locale. </p>
<p>For example, if the locale's script code is "LATN" and the default locale's language code is "en", this function would set dispScript to "Latin". </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dispScript</td><td>Receives the scripts's display name. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to "dispScript". </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000319">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

</div>
</div>
<a class="anchor" id="a3486d2c0e32e592a7ab63da207cc0a64"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&amp; icu::Locale::getDisplayScript </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td>
          <td class="paramname"><em>displayLocale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>dispScript</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Fills in "dispScript" with the name of this locale's country in a format suitable for user display in the locale specified by "displayLocale". </p>
<p>For example, if the locale's script code is "LATN" and displayLocale's language code is "en", this function would set dispScript to "Latin". </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">displayLocale</td><td>Specifies the locale to be used to display the name. In other words, if the locale's script code is "LATN", passing <a class="el" href="classicu_1_1Locale.html#aaf2344244680da0f18444a1b4f975e85" title="Useful constant for this language. ">Locale::getFrench()</a> for displayLocale would result in "", while passing <a class="el" href="classicu_1_1Locale.html#a07581e3075cd057d7c36e6cc7aba1f60" title="Useful constant for this language. ">Locale::getGerman()</a> for displayLocale would result in "". </td></tr>
    <tr><td class="paramname">dispScript</td><td>Receives the scripts's display name. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to "dispScript". </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000320">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

</div>
</div>
<a class="anchor" id="ab853c7e22379d32542d91ae132f4f1b8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&amp; icu::Locale::getDisplayVariant </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>dispVar</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Fills in "dispVar" with the name of this locale's variant code in a format suitable for user display in the default locale. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dispVar</td><td>Receives the variant's name. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to "dispVar". </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000323">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="aebb6832d0b21e3b63b5757c025c5afa1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a>&amp; icu::Locale::getDisplayVariant </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td>
          <td class="paramname"><em>displayLocale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;&#160;</td>
          <td class="paramname"><em>dispVar</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Fills in "dispVar" with the name of this locale's variant code in a format suitable for user display in the locale specified by "displayLocale". </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">displayLocale</td><td>Specifies the locale to be used to display the name. </td></tr>
    <tr><td class="paramname">dispVar</td><td>Receives the variant's display name. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A reference to "dispVar". </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000324">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a382ebaae0039cc0c374da544f0ecd9d6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> icu::Locale::getDynamicClassID </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>ICU "poor man's RTTI", returns a UClassID for the actual class. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000334">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>

<p>Reimplemented from <a class="el" href="classicu_1_1UObject.html#a1aa93096e880907080b503ff1fb0f8bc">icu::UObject</a>.</p>

</div>
</div>
<a class="anchor" id="a9c0b495c3d3a8a7d77859bbbbebe0912"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classicu_1_1Locale.html">Locale</a>&amp; icu::Locale::getEnglish </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Useful constant for this language. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000271">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ad9bd58caef2a7c11588ad8a830d504a9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classicu_1_1Locale.html">Locale</a>&amp; icu::Locale::getFrance </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Useful constant for this country/region. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000280">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="aaf2344244680da0f18444a1b4f975e85"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classicu_1_1Locale.html">Locale</a>&amp; icu::Locale::getFrench </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Useful constant for this language. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000272">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a07581e3075cd057d7c36e6cc7aba1f60"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classicu_1_1Locale.html">Locale</a>&amp; icu::Locale::getGerman </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Useful constant for this language. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000273">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a6657dce5a51d2959a61038f836c9c03b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classicu_1_1Locale.html">Locale</a>&amp; icu::Locale::getGermany </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Useful constant for this country/region. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000281">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ab7565c1fe1d242cc29619aad9a91e0d4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* icu::Locale::getISO3Country </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Fills in "name" with the locale's three-letter ISO-3166 country code. </p>
<dl class="section return"><dt>Returns</dt><dd>An alias to the code, or an empty string </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000314">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="abe5af63da827e6ffa8f189a8220d8bce"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* icu::Locale::getISO3Language </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>returns the locale's three-letter language code, as specified in ISO draft standard ISO-639-2. </p>
<dl class="section return"><dt>Returns</dt><dd>An alias to the code, or an empty string </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000313">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a0d7ad0dea54a784cefd1ff35be55c648"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const char* const* icu::Locale::getISOCountries </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gets a list of all available 2-letter country codes defined in ISO 3166. </p>
<p>This is a pointer to an array of pointers to arrays of char. All of these pointers are owned by ICU&ndash; do not delete them, and do not write through them. The array is terminated with a null pointer. </p><dl class="section return"><dt>Returns</dt><dd>a list of all available country codes </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000331">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a571cdf49b45b8f219de26749b9c7be18"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const char* const* icu::Locale::getISOLanguages </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gets a list of all available language codes defined in ISO 639. </p>
<p>This is a pointer to an array of pointers to arrays of char. All of these pointers are owned by ICU&ndash; do not delete them, and do not write through them. The array is terminated with a null pointer. </p><dl class="section return"><dt>Returns</dt><dd>a list of all available language codes </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000332">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="aebbb8a20209db5d3850e517f85aa402f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classicu_1_1Locale.html">Locale</a>&amp; icu::Locale::getItalian </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Useful constant for this language. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000274">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="abea6d123cc0dc48b7227332ce4df736f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classicu_1_1Locale.html">Locale</a>&amp; icu::Locale::getItaly </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Useful constant for this country/region. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000282">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="acbf8aa85ef60399cd056c5a1e48a2022"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classicu_1_1Locale.html">Locale</a>&amp; icu::Locale::getJapan </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Useful constant for this country/region. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000283">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a04c5829675a1839f1862bda410d58eba"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classicu_1_1Locale.html">Locale</a>&amp; icu::Locale::getJapanese </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Useful constant for this language. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000275">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a15b7cab06f5bdd9d27124dfa1bf24b09"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t icu::Locale::getKeywordValue </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>keywordName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>buffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>bufferCapacity</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the value for a keyword. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">keywordName</td><td>name of the keyword for which we want the value. Case insensitive. </td></tr>
    <tr><td class="paramname">buffer</td><td>The buffer to receive the keyword value. </td></tr>
    <tr><td class="paramname">bufferCapacity</td><td>The capacity of receiving buffer </td></tr>
    <tr><td class="paramname">status</td><td>Returns any error information while performing this operation. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the length of the keyword value</dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000311">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

</div>
</div>
<a class="anchor" id="ad466b243a4b439cab2837645f7b06104"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classicu_1_1Locale.html">Locale</a>&amp; icu::Locale::getKorea </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Useful constant for this country/region. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000284">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="aa56e1d1c41e820bb292b3329d133e7f0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classicu_1_1Locale.html">Locale</a>&amp; icu::Locale::getKorean </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Useful constant for this language. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000276">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="af36d821adced72a870d921ebadd0ca93"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const char * icu::Locale::getLanguage </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the locale's ISO-639 language code. </p>
<dl class="section return"><dt>Returns</dt><dd>An alias to the code </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000304">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="locid_8h_source.html#l00784">784</a> of file <a class="el" href="locid_8h_source.html">locid.h</a>.</p>

</div>
</div>
<a class="anchor" id="afb5cea8b6786b1161046cd374723b6a4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t icu::Locale::getLCID </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the Windows LCID value corresponding to this locale. </p>
<p>This value is stored in the resource data for the locale as a one-to-four-digit hexadecimal number. If the resource is missing, in the wrong format, or there is no Windows LCID value that corresponds to this locale, returns 0. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable000315">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a6b76b319a1430411bbd6d3fd2268513b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const char * icu::Locale::getName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the programmatic name of the entire locale, with the language, country and variant separated by underbars. </p>
<p>If a field is missing, up to two leading underbars will occur. Example: "en", "de_DE", "en_US_WIN", "de__POSIX", "fr__MAC", "__MAC", "_MT", "_FR_EURO" </p><dl class="section return"><dt>Returns</dt><dd>A pointer to "name". </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000308">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="locid_8h_source.html#l00802">802</a> of file <a class="el" href="locid_8h_source.html">locid.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4f6c05c8141d9a82fce1b6fe0e88aa1f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classicu_1_1Locale.html">Locale</a>&amp; icu::Locale::getPRC </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Useful constant for this country/region. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000286">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a1c046c2b7ca76f96e869cef9576880a7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classicu_1_1Locale.html">Locale</a>&amp; icu::Locale::getRoot </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Useful constant for the Root locale. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000270">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a5e0145a339d30794178a1412dcc55abe"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const char * icu::Locale::getScript </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the locale's ISO-15924 abbreviation script code. </p>
<dl class="section return"><dt>Returns</dt><dd>An alias to the code </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="uscript_8h.html#a34236e1bcb71635837fc9f0e045499fa" title="Returns the 4-letter ISO 15924 script code, which is the same as the short Unicode script name if Uni...">uscript_getShortName</a> </dd>
<dd>
<a class="el" href="uscript_8h.html#ad7c87340add879032324be150438f671" title="Gets the script codes associated with the given locale or ISO 15924 abbreviation or name...">uscript_getCode</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000305">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

<p>Definition at line <a class="el" href="locid_8h_source.html#l00790">790</a> of file <a class="el" href="locid_8h_source.html">locid.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9caf64e5a189a0c9b3bcc79e9d93c783"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classicu_1_1Locale.html">Locale</a>&amp; icu::Locale::getSimplifiedChinese </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Useful constant for this language. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000278">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a262572b67b518c07034b3f386a41bf76"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> icu::Locale::getStaticClassID </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>ICU "poor man's RTTI", returns a UClassID for this class. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000333">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>

</div>
</div>
<a class="anchor" id="af33739354f6bd8962d86ad190846f0ab"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classicu_1_1Locale.html">Locale</a>&amp; icu::Locale::getTaiwan </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Useful constant for this country/region. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000287">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a9963e0a63d31cca22ad95858f0d38dc2"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classicu_1_1Locale.html">Locale</a>&amp; icu::Locale::getTraditionalChinese </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Useful constant for this language. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000279">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ac21b1a22d3349309f3371a0d8e736871"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classicu_1_1Locale.html">Locale</a>&amp; icu::Locale::getUK </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Useful constant for this country/region. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000288">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a7804339f41684082ea10671ab70db23c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classicu_1_1Locale.html">Locale</a>&amp; icu::Locale::getUS </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Useful constant for this country/region. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000289">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a701bb7ff7fd4070bcd423c28af0d15a0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const char * icu::Locale::getVariant </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the locale's variant code. </p>
<dl class="section return"><dt>Returns</dt><dd>An alias to the code </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000307">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="locid_8h_source.html#l00796">796</a> of file <a class="el" href="locid_8h_source.html">locid.h</a>.</p>

</div>
</div>
<a class="anchor" id="a86032e1b66bae15e5e325ac7eaa1d646"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t icu::Locale::hashCode </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Generates a hash code for the locale. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000327">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a70cfc7bbdc208fdfc4c3474fe4508be8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::Locale::isBogus </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gets the bogus state. </p>
<p><a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a> object can be bogus if it doesn't exist </p><dl class="section return"><dt>Returns</dt><dd>FALSE if it is a real locale, TRUE if it is a bogus locale </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000329">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl>

<p>Definition at line <a class="el" href="locid_8h_source.html#l00808">808</a> of file <a class="el" href="locid_8h_source.html">locid.h</a>.</p>

<p>References <a class="el" href="uversion_8h_source.html#l00132">U_NAMESPACE_END</a>.</p>

</div>
</div>
<a class="anchor" id="a77711a6addbcf3e8ca7f6deae66d5392"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::Locale::isRightToLeft </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns whether this locale's script is written right-to-left. </p>
<p>If there is no script subtag, then the likely script is used, see <a class="el" href="uloc_8h.html#a0cb2dcd65f745e7a966a729395499770" title="Add the likely subtags for a provided locale ID, per the algorithm described in the following CLDR te...">uloc_addLikelySubtags()</a>. If no likely script is known, then FALSE is returned.</p>
<p>A script is right-to-left according to the CLDR script metadata which corresponds to whether the script's letters have Bidi_Class=R or AL.</p>
<p>Returns TRUE for "ar" and "en-Hebr", FALSE for "zh" and "fa-Cyrl".</p>
<dl class="section return"><dt>Returns</dt><dd>TRUE if the locale's script is written right-to-left </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000316">Stable:</a></b></dt><dd>ICU 54 </dd></dl>

</div>
</div>
<a class="anchor" id="aa3731a2b141a92f36c617536cd1b1739"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::Locale::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Checks if two locale keys are not the same. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">other</td><td>The locale key object to be compared with this. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if the two locale keys are not the same, false otherwise. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000298">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="locid_8h_source.html#l00772">772</a> of file <a class="el" href="locid_8h_source.html">locid.h</a>.</p>

<p>References <a class="el" href="namespaceicu.html#a1c2f6ca43e636f38d1a3291eb851e9f0">icu::operator==()</a>.</p>

</div>
</div>
<a class="anchor" id="a9780c55dc1bb3a3e065b8e7c0a18d52f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1Locale.html">Locale</a>&amp; icu::Locale::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Replaces the entire contents of *this with the specified value. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">other</td><td>The <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a> object being copied in. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>*this </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000296">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="abbf2755ceda11f2e34edd0f51e5795a8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::Locale::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Checks if two locale keys are the same. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">other</td><td>The locale key object to be compared with this. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if the two locale keys are the same, false otherwise. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000297">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a6a9edf0b1deb14ecbc8cedaae82a07ce"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void icu::Locale::setDefault </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td>
          <td class="paramname"><em>newLocale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>success</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Sets the default. </p>
<p>Normally set once at the beginning of a process, then never reset. <a class="el" href="classicu_1_1Locale.html#a6a9edf0b1deb14ecbc8cedaae82a07ce" title="Sets the default. ">setDefault()</a> only changes ICU's default locale ID, <b>not</b> the default locale ID of the runtime environment.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">newLocale</td><td><a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a> to set to. If NULL, set to the value obtained from the runtime environement. </td></tr>
    <tr><td class="paramname">success</td><td>The error code. </td></tr>
  </table>
  </dd>
</dl>
<dl class="system"><dt><b><a class="el" href="system.html#_system000002">System:</a></b></dt><dd>Do not use unless you know what you are doing. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000301">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ae42b6a9c1bae0656ba4a6703c1cafc81"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Locale::setFromPOSIXID </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>posixID</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set this from a single POSIX style locale string. </p>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000047">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

</div>
</div>
<a class="anchor" id="a335e03772c44908f2d00dc6c23623bb6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Locale::setKeywordValue </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>keywordName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>keywordValue</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#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>Sets or removes the value for a keyword. </p>
<p>For removing all keywords, use <a class="el" href="classicu_1_1Locale.html#a4c1acbbdf95dc15599db5f322fa4c4d0" title="Returns the programmatic name of the entire locale as getName() would return, but without keywords...">getBaseName()</a>, and construct a new <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a> if it differs from <a class="el" href="classicu_1_1Locale.html#a6b76b319a1430411bbd6d3fd2268513b" title="Returns the programmatic name of the entire locale, with the language, country and variant separated ...">getName()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">keywordName</td><td>name of the keyword to be set. Case insensitive. </td></tr>
    <tr><td class="paramname">keywordValue</td><td>value of the keyword to be set. If 0-length or NULL, will result in the keyword being removed. No error is given if that keyword does not exist. </td></tr>
    <tr><td class="paramname">status</td><td>Returns any error information while performing this operation.</td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000312">Stable:</a></b></dt><dd>ICU 49 </dd></dl>

</div>
</div>
<a class="anchor" id="a96f224077ded97bc3e778e79adaa7662"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Locale::setToBogus </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the locale to bogus A bogus locale represents a non-existing locale associated with services that can be instantiated from non-locale data in addition to locale (for example, collation can be instantiated from a locale and from a rule set). </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000328">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a class="anchor" id="a1b8bcbd6010e9e55481a99ad6c7dc0a0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void locale_available_init </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000049">Internal:</a></b></dt><dd>Do not use.</dd></dl>
<p>This API is for internal use only.</p>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000046">Internal:</a></b></dt><dd>Do not use.</dd></dl>
<p>This API is for internal use only. </p>

</div>
</div>
<a class="anchor" id="a1bdd482a1250d42ddd88881d94aa304c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1Locale.html">Locale</a>* locale_set_default_internal </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname">, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>A friend to allow the default locale to be set by either the C or C++ API. </p>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000048">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="locid_8h_source.html">locid.h</a></li>
</ul>
</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.11
</small></address>
</body>
</html>