404 Not Found


nginx
beegazpacho.com - GrazzMean
Uname: Linux in-mum-web1557.main-hosting.eu 5.14.0-611.42.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Mar 24 05:30:20 EDT 2026 x86_64
Software: LiteSpeed
PHP version: 8.2.30 [ PHP INFO ] PHP os: Linux
Server Ip: 88.222.243.153
Your Ip: 216.73.216.168
User: u848900432 (848900432) | Group: o51372345 (1051372345)
Safe Mode: OFF
Disable Function:
NONE

name : classLocale.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://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.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>ICU 77.1: 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="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.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 77.1
   &#160;<span id="projectnumber">77.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

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

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="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="#nested-classes">Data Structures</a> &#124;
<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="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale_1_1ConvertingIterator.html">ConvertingIterator</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A generic <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a> iterator implementation over <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a> input iterators.  <a href="classicu_1_1Locale_1_1ConvertingIterator.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale_1_1Iterator.html">Iterator</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a> iterator interface similar to a Java Iterator&lt;Locale&gt;.  <a href="classicu_1_1Locale_1_1Iterator.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale_1_1RangeIterator.html">RangeIterator</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">A generic <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a> iterator implementation over <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a> input iterators.  <a href="classicu_1_1Locale_1_1RangeIterator.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><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="classicu_1_1Locale.html#a2675e8918f9885a74649c4ff625f51bd">More...</a><br /></td></tr>
<tr class="separator:a2675e8918f9885a74649c4ff625f51bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a51e8495355dee3744a3640dac36ce7fe"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a51e8495355dee3744a3640dac36ce7fe">Locale</a> (const char *language, const char *country=nullptr, const char *variant=nullptr, const char *keywordsAndValues=nullptr)</td></tr>
<tr class="memdesc:a51e8495355dee3744a3640dac36ce7fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a locale from language, country, variant.  <a href="classicu_1_1Locale.html#a51e8495355dee3744a3640dac36ce7fe">More...</a><br /></td></tr>
<tr class="separator:a51e8495355dee3744a3640dac36ce7fe"><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="classicu_1_1Locale.html#abdbc24cada37a35c661a0264c140073e">More...</a><br /></td></tr>
<tr class="separator:abdbc24cada37a35c661a0264c140073e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd675b64153ba02e76dad8284be030a8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#afd675b64153ba02e76dad8284be030a8">Locale</a> (<a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&amp;other) noexcept</td></tr>
<tr class="memdesc:afd675b64153ba02e76dad8284be030a8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Move constructor; might leave source in bogus state.  <a href="classicu_1_1Locale.html#afd675b64153ba02e76dad8284be030a8">More...</a><br /></td></tr>
<tr class="separator:afd675b64153ba02e76dad8284be030a8"><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="classicu_1_1Locale.html#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="classicu_1_1Locale.html#a9780c55dc1bb3a3e065b8e7c0a18d52f">More...</a><br /></td></tr>
<tr class="separator:a9780c55dc1bb3a3e065b8e7c0a18d52f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a49adc0a16aa6489f2edfdd74e3e65f81"><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#a49adc0a16aa6489f2edfdd74e3e65f81">operator=</a> (<a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&amp;other) noexcept</td></tr>
<tr class="memdesc:a49adc0a16aa6489f2edfdd74e3e65f81"><td class="mdescLeft">&#160;</td><td class="mdescRight">Move assignment operator; might leave source in bogus state.  <a href="classicu_1_1Locale.html#a49adc0a16aa6489f2edfdd74e3e65f81">More...</a><br /></td></tr>
<tr class="separator:a49adc0a16aa6489f2edfdd74e3e65f81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7fc7f59eed1990ed246c5b01e99ba9c0"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a7fc7f59eed1990ed246c5b01e99ba9c0">operator==</a> (const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;other) const</td></tr>
<tr class="memdesc:a7fc7f59eed1990ed246c5b01e99ba9c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if two locale keys are the same.  <a href="classicu_1_1Locale.html#a7fc7f59eed1990ed246c5b01e99ba9c0">More...</a><br /></td></tr>
<tr class="separator:a7fc7f59eed1990ed246c5b01e99ba9c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9423f4eb4b671eec3d98c26ec923351e"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a9423f4eb4b671eec3d98c26ec923351e">operator!=</a> (const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;other) const</td></tr>
<tr class="memdesc:a9423f4eb4b671eec3d98c26ec923351e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks if two locale keys are not the same.  <a href="classicu_1_1Locale.html#a9423f4eb4b671eec3d98c26ec923351e">More...</a><br /></td></tr>
<tr class="separator:a9423f4eb4b671eec3d98c26ec923351e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26e1b7a9f1377d52d2d78f5509afbfce"><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#a26e1b7a9f1377d52d2d78f5509afbfce">clone</a> () const</td></tr>
<tr class="memdesc:a26e1b7a9f1377d52d2d78f5509afbfce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clone this object.  <a href="classicu_1_1Locale.html#a26e1b7a9f1377d52d2d78f5509afbfce">More...</a><br /></td></tr>
<tr class="separator:a26e1b7a9f1377d52d2d78f5509afbfce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f3be71ad2273a23d8ad237b77774bd9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a8f3be71ad2273a23d8ad237b77774bd9">toLanguageTag</a> (<a class="el" href="classicu_1_1ByteSink.html">ByteSink</a> &amp;sink, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>
<tr class="memdesc:a8f3be71ad2273a23d8ad237b77774bd9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a well-formed language tag for this <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a>.  <a href="classicu_1_1Locale.html#a8f3be71ad2273a23d8ad237b77774bd9">More...</a><br /></td></tr>
<tr class="separator:a8f3be71ad2273a23d8ad237b77774bd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3210d878359655028e0366723c325970"><td class="memTemplParams" colspan="2">template&lt;typename StringClass &gt; </td></tr>
<tr class="memitem:a3210d878359655028e0366723c325970"><td class="memTemplItemLeft" align="right" valign="top">StringClass&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a3210d878359655028e0366723c325970">toLanguageTag</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>
<tr class="memdesc:a3210d878359655028e0366723c325970"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a well-formed language tag for this <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a>.  <a href="classicu_1_1Locale.html#a3210d878359655028e0366723c325970">More...</a><br /></td></tr>
<tr class="separator:a3210d878359655028e0366723c325970"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2485515cb9df4e353da1727e02774f1"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#af2485515cb9df4e353da1727e02774f1">getLanguage</a> () const</td></tr>
<tr class="memdesc:af2485515cb9df4e353da1727e02774f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the locale's ISO-639 language code.  <a href="classicu_1_1Locale.html#af2485515cb9df4e353da1727e02774f1">More...</a><br /></td></tr>
<tr class="separator:af2485515cb9df4e353da1727e02774f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f3fc950f6d1315953427dac705272f4"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a5f3fc950f6d1315953427dac705272f4">getScript</a> () const</td></tr>
<tr class="memdesc:a5f3fc950f6d1315953427dac705272f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the locale's ISO-15924 abbreviation script code.  <a href="classicu_1_1Locale.html#a5f3fc950f6d1315953427dac705272f4">More...</a><br /></td></tr>
<tr class="separator:a5f3fc950f6d1315953427dac705272f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0e34de2b43dbc5588fbfcd95ae94155"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#ae0e34de2b43dbc5588fbfcd95ae94155">getCountry</a> () const</td></tr>
<tr class="memdesc:ae0e34de2b43dbc5588fbfcd95ae94155"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the locale's ISO-3166 country code.  <a href="classicu_1_1Locale.html#ae0e34de2b43dbc5588fbfcd95ae94155">More...</a><br /></td></tr>
<tr class="separator:ae0e34de2b43dbc5588fbfcd95ae94155"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a87accf553548ba91a68ef8037dddde"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a7a87accf553548ba91a68ef8037dddde">getVariant</a> () const</td></tr>
<tr class="memdesc:a7a87accf553548ba91a68ef8037dddde"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the locale's variant code.  <a href="classicu_1_1Locale.html#a7a87accf553548ba91a68ef8037dddde">More...</a><br /></td></tr>
<tr class="separator:a7a87accf553548ba91a68ef8037dddde"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90270d1498b534f04d9eb4fbe307b647"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a90270d1498b534f04d9eb4fbe307b647">getName</a> () const</td></tr>
<tr class="memdesc:a90270d1498b534f04d9eb4fbe307b647"><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="classicu_1_1Locale.html#a90270d1498b534f04d9eb4fbe307b647">More...</a><br /></td></tr>
<tr class="separator:a90270d1498b534f04d9eb4fbe307b647"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9162df9e38e589b286fc54512bf93454"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a9162df9e38e589b286fc54512bf93454">getBaseName</a> () const</td></tr>
<tr class="memdesc:a9162df9e38e589b286fc54512bf93454"><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#a90270d1498b534f04d9eb4fbe307b647" 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="classicu_1_1Locale.html#a9162df9e38e589b286fc54512bf93454">More...</a><br /></td></tr>
<tr class="separator:a9162df9e38e589b286fc54512bf93454"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a974d212572d7fc61a0579f820100a8f6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a974d212572d7fc61a0579f820100a8f6">addLikelySubtags</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a974d212572d7fc61a0579f820100a8f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add the likely subtags for this <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a>, per the algorithm described in the following CLDR technical report:  <a href="classicu_1_1Locale.html#a974d212572d7fc61a0579f820100a8f6">More...</a><br /></td></tr>
<tr class="separator:a974d212572d7fc61a0579f820100a8f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0638620f0b0c25aad55539f14f739244"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a0638620f0b0c25aad55539f14f739244">minimizeSubtags</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a0638620f0b0c25aad55539f14f739244"><td class="mdescLeft">&#160;</td><td class="mdescRight">Minimize the subtags for this <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a>, per the algorithm described in the following CLDR technical report:  <a href="classicu_1_1Locale.html#a0638620f0b0c25aad55539f14f739244">More...</a><br /></td></tr>
<tr class="separator:a0638620f0b0c25aad55539f14f739244"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e8ce3f1e540a132e9f8c754839f8ded"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a9e8ce3f1e540a132e9f8c754839f8ded">canonicalize</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a9e8ce3f1e540a132e9f8c754839f8ded"><td class="mdescLeft">&#160;</td><td class="mdescRight">Canonicalize the locale ID of this object according to CLDR.  <a href="classicu_1_1Locale.html#a9e8ce3f1e540a132e9f8c754839f8ded">More...</a><br /></td></tr>
<tr class="separator:a9e8ce3f1e540a132e9f8c754839f8ded"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a820f8ff8c15f2b721f6974d376c24a07"><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#a820f8ff8c15f2b721f6974d376c24a07">createKeywords</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>
<tr class="memdesc:a820f8ff8c15f2b721f6974d376c24a07"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the list of keywords for the specified locale.  <a href="classicu_1_1Locale.html#a820f8ff8c15f2b721f6974d376c24a07">More...</a><br /></td></tr>
<tr class="separator:a820f8ff8c15f2b721f6974d376c24a07"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ed0780b6792122c853de20e480e89b8"><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#a8ed0780b6792122c853de20e480e89b8">createUnicodeKeywords</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>
<tr class="memdesc:a8ed0780b6792122c853de20e480e89b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the list of Unicode keywords for the specified locale.  <a href="classicu_1_1Locale.html#a8ed0780b6792122c853de20e480e89b8">More...</a><br /></td></tr>
<tr class="separator:a8ed0780b6792122c853de20e480e89b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aacc9378a06c88cc1698f1d43671b8c55"><td class="memTemplParams" colspan="2">template&lt;typename StringClass , typename OutputIterator &gt; </td></tr>
<tr class="memitem:aacc9378a06c88cc1698f1d43671b8c55"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#aacc9378a06c88cc1698f1d43671b8c55">getKeywords</a> (OutputIterator iterator, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>
<tr class="memdesc:aacc9378a06c88cc1698f1d43671b8c55"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the set of keywords for this <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a>.  <a href="classicu_1_1Locale.html#aacc9378a06c88cc1698f1d43671b8c55">More...</a><br /></td></tr>
<tr class="separator:aacc9378a06c88cc1698f1d43671b8c55"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76d47ca0e75c61fcab9f2d55afd519ed"><td class="memTemplParams" colspan="2">template&lt;typename StringClass , typename OutputIterator &gt; </td></tr>
<tr class="memitem:a76d47ca0e75c61fcab9f2d55afd519ed"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a76d47ca0e75c61fcab9f2d55afd519ed">getUnicodeKeywords</a> (OutputIterator iterator, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>
<tr class="memdesc:a76d47ca0e75c61fcab9f2d55afd519ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the set of Unicode keywords for this <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a>.  <a href="classicu_1_1Locale.html#a76d47ca0e75c61fcab9f2d55afd519ed">More...</a><br /></td></tr>
<tr class="separator:a76d47ca0e75c61fcab9f2d55afd519ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6a504ee55c8f74fff0813921ae2e0330"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a6a504ee55c8f74fff0813921ae2e0330">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:a6a504ee55c8f74fff0813921ae2e0330"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the value for a keyword.  <a href="classicu_1_1Locale.html#a6a504ee55c8f74fff0813921ae2e0330">More...</a><br /></td></tr>
<tr class="separator:a6a504ee55c8f74fff0813921ae2e0330"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef599483560e19d4f0ac8a65e0a4ddd4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#aef599483560e19d4f0ac8a65e0a4ddd4">getKeywordValue</a> (<a class="el" href="classicu_1_1StringPiece.html">StringPiece</a> keywordName, <a class="el" href="classicu_1_1ByteSink.html">ByteSink</a> &amp;sink, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>
<tr class="memdesc:aef599483560e19d4f0ac8a65e0a4ddd4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the value for a keyword.  <a href="classicu_1_1Locale.html#aef599483560e19d4f0ac8a65e0a4ddd4">More...</a><br /></td></tr>
<tr class="separator:aef599483560e19d4f0ac8a65e0a4ddd4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb04894db45b909d9f064e51a4d8b317"><td class="memTemplParams" colspan="2">template&lt;typename StringClass &gt; </td></tr>
<tr class="memitem:abb04894db45b909d9f064e51a4d8b317"><td class="memTemplItemLeft" align="right" valign="top">StringClass&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#abb04894db45b909d9f064e51a4d8b317">getKeywordValue</a> (<a class="el" href="classicu_1_1StringPiece.html">StringPiece</a> keywordName, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>
<tr class="memdesc:abb04894db45b909d9f064e51a4d8b317"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the value for a keyword.  <a href="classicu_1_1Locale.html#abb04894db45b909d9f064e51a4d8b317">More...</a><br /></td></tr>
<tr class="separator:abb04894db45b909d9f064e51a4d8b317"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac65d88cb93b7aa6d16c72cf5b1851a5c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#ac65d88cb93b7aa6d16c72cf5b1851a5c">getUnicodeKeywordValue</a> (<a class="el" href="classicu_1_1StringPiece.html">StringPiece</a> keywordName, <a class="el" href="classicu_1_1ByteSink.html">ByteSink</a> &amp;sink, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>
<tr class="memdesc:ac65d88cb93b7aa6d16c72cf5b1851a5c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the Unicode value for a Unicode keyword.  <a href="classicu_1_1Locale.html#ac65d88cb93b7aa6d16c72cf5b1851a5c">More...</a><br /></td></tr>
<tr class="separator:ac65d88cb93b7aa6d16c72cf5b1851a5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53e5d9671297618029b3118ec1c0d08a"><td class="memTemplParams" colspan="2">template&lt;typename StringClass &gt; </td></tr>
<tr class="memitem:a53e5d9671297618029b3118ec1c0d08a"><td class="memTemplItemLeft" align="right" valign="top">StringClass&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a53e5d9671297618029b3118ec1c0d08a">getUnicodeKeywordValue</a> (<a class="el" href="classicu_1_1StringPiece.html">StringPiece</a> keywordName, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>
<tr class="memdesc:a53e5d9671297618029b3118ec1c0d08a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the Unicode value for a Unicode keyword.  <a href="classicu_1_1Locale.html#a53e5d9671297618029b3118ec1c0d08a">More...</a><br /></td></tr>
<tr class="separator:a53e5d9671297618029b3118ec1c0d08a"><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="classicu_1_1Locale.html#a335e03772c44908f2d00dc6c23623bb6">More...</a><br /></td></tr>
<tr class="separator:a335e03772c44908f2d00dc6c23623bb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8bd41ffabf473aaebae57f968cbf62f8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a8bd41ffabf473aaebae57f968cbf62f8">setKeywordValue</a> (<a class="el" href="classicu_1_1StringPiece.html">StringPiece</a> keywordName, <a class="el" href="classicu_1_1StringPiece.html">StringPiece</a> keywordValue, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a8bd41ffabf473aaebae57f968cbf62f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets or removes the value for a keyword.  <a href="classicu_1_1Locale.html#a8bd41ffabf473aaebae57f968cbf62f8">More...</a><br /></td></tr>
<tr class="separator:a8bd41ffabf473aaebae57f968cbf62f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8e93668bb15bf79777a0f7f2fff06c5a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a8e93668bb15bf79777a0f7f2fff06c5a">setUnicodeKeywordValue</a> (<a class="el" href="classicu_1_1StringPiece.html">StringPiece</a> keywordName, <a class="el" href="classicu_1_1StringPiece.html">StringPiece</a> keywordValue, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a8e93668bb15bf79777a0f7f2fff06c5a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets or removes the Unicode value for a Unicode keyword.  <a href="classicu_1_1Locale.html#a8e93668bb15bf79777a0f7f2fff06c5a">More...</a><br /></td></tr>
<tr class="separator:a8e93668bb15bf79777a0f7f2fff06c5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac625290b3457d3e3f820c38fbbf67d23"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#ac625290b3457d3e3f820c38fbbf67d23">getISO3Language</a> () const</td></tr>
<tr class="memdesc:ac625290b3457d3e3f820c38fbbf67d23"><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="classicu_1_1Locale.html#ac625290b3457d3e3f820c38fbbf67d23">More...</a><br /></td></tr>
<tr class="separator:ac625290b3457d3e3f820c38fbbf67d23"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b22c149844f507a2c5e08a57cfa0cb5"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a5b22c149844f507a2c5e08a57cfa0cb5">getISO3Country</a> () const</td></tr>
<tr class="memdesc:a5b22c149844f507a2c5e08a57cfa0cb5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Fills in "name" with the locale's three-letter ISO-3166 country code.  <a href="classicu_1_1Locale.html#a5b22c149844f507a2c5e08a57cfa0cb5">More...</a><br /></td></tr>
<tr class="separator:a5b22c149844f507a2c5e08a57cfa0cb5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac8ba427a69dca3618bd8a334860b98d"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#aac8ba427a69dca3618bd8a334860b98d">getLCID</a> () const</td></tr>
<tr class="memdesc:aac8ba427a69dca3618bd8a334860b98d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the Windows LCID value corresponding to this locale.  <a href="classicu_1_1Locale.html#aac8ba427a69dca3618bd8a334860b98d">More...</a><br /></td></tr>
<tr class="separator:aac8ba427a69dca3618bd8a334860b98d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:add806eb089dba37d5d7de725886b841b"><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#add806eb089dba37d5d7de725886b841b">isRightToLeft</a> () const</td></tr>
<tr class="memdesc:add806eb089dba37d5d7de725886b841b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether this locale's script is written right-to-left.  <a href="classicu_1_1Locale.html#add806eb089dba37d5d7de725886b841b">More...</a><br /></td></tr>
<tr class="separator:add806eb089dba37d5d7de725886b841b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8bb01ec355f3b49aa0ce2d846f9b7373"><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#a8bb01ec355f3b49aa0ce2d846f9b7373">getDisplayLanguage</a> (<a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;dispLang) const</td></tr>
<tr class="memdesc:a8bb01ec355f3b49aa0ce2d846f9b7373"><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="classicu_1_1Locale.html#a8bb01ec355f3b49aa0ce2d846f9b7373">More...</a><br /></td></tr>
<tr class="separator:a8bb01ec355f3b49aa0ce2d846f9b7373"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b0dd369e9ff8c743d4cf3c06073b06f"><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#a4b0dd369e9ff8c743d4cf3c06073b06f">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:a4b0dd369e9ff8c743d4cf3c06073b06f"><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="classicu_1_1Locale.html#a4b0dd369e9ff8c743d4cf3c06073b06f">More...</a><br /></td></tr>
<tr class="separator:a4b0dd369e9ff8c743d4cf3c06073b06f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2b0f13f18073c1bfa81399b04df18a5"><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#ad2b0f13f18073c1bfa81399b04df18a5">getDisplayScript</a> (<a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;dispScript) const</td></tr>
<tr class="memdesc:ad2b0f13f18073c1bfa81399b04df18a5"><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="classicu_1_1Locale.html#ad2b0f13f18073c1bfa81399b04df18a5">More...</a><br /></td></tr>
<tr class="separator:ad2b0f13f18073c1bfa81399b04df18a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac74d9797fd3ac9404b56d9bb41dba89d"><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#ac74d9797fd3ac9404b56d9bb41dba89d">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:ac74d9797fd3ac9404b56d9bb41dba89d"><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="classicu_1_1Locale.html#ac74d9797fd3ac9404b56d9bb41dba89d">More...</a><br /></td></tr>
<tr class="separator:ac74d9797fd3ac9404b56d9bb41dba89d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a37c7c7d02f01941e66f079b047bffa11"><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#a37c7c7d02f01941e66f079b047bffa11">getDisplayCountry</a> (<a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;dispCountry) const</td></tr>
<tr class="memdesc:a37c7c7d02f01941e66f079b047bffa11"><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="classicu_1_1Locale.html#a37c7c7d02f01941e66f079b047bffa11">More...</a><br /></td></tr>
<tr class="separator:a37c7c7d02f01941e66f079b047bffa11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20b57681f1027f32c8db20f81ccd0afa"><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#a20b57681f1027f32c8db20f81ccd0afa">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:a20b57681f1027f32c8db20f81ccd0afa"><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="classicu_1_1Locale.html#a20b57681f1027f32c8db20f81ccd0afa">More...</a><br /></td></tr>
<tr class="separator:a20b57681f1027f32c8db20f81ccd0afa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5bafbf7ecc3f3910434baaf92de39d4"><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#ac5bafbf7ecc3f3910434baaf92de39d4">getDisplayVariant</a> (<a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;dispVar) const</td></tr>
<tr class="memdesc:ac5bafbf7ecc3f3910434baaf92de39d4"><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="classicu_1_1Locale.html#ac5bafbf7ecc3f3910434baaf92de39d4">More...</a><br /></td></tr>
<tr class="separator:ac5bafbf7ecc3f3910434baaf92de39d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef67f43c27f58c9768ea0a6efec4f433"><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#aef67f43c27f58c9768ea0a6efec4f433">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:aef67f43c27f58c9768ea0a6efec4f433"><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="classicu_1_1Locale.html#aef67f43c27f58c9768ea0a6efec4f433">More...</a><br /></td></tr>
<tr class="separator:aef67f43c27f58c9768ea0a6efec4f433"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61def321a9cfd9904b59e3f1897f835e"><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#a61def321a9cfd9904b59e3f1897f835e">getDisplayName</a> (<a class="el" href="classicu_1_1UnicodeString.html">UnicodeString</a> &amp;name) const</td></tr>
<tr class="memdesc:a61def321a9cfd9904b59e3f1897f835e"><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="classicu_1_1Locale.html#a61def321a9cfd9904b59e3f1897f835e">More...</a><br /></td></tr>
<tr class="separator:a61def321a9cfd9904b59e3f1897f835e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9255df735dfbc5af6b2883edc4ca4f15"><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#a9255df735dfbc5af6b2883edc4ca4f15">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:a9255df735dfbc5af6b2883edc4ca4f15"><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 specified by "displayLocale".  <a href="classicu_1_1Locale.html#a9255df735dfbc5af6b2883edc4ca4f15">More...</a><br /></td></tr>
<tr class="separator:a9255df735dfbc5af6b2883edc4ca4f15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa0f4a15762d8d82702c855bc94fcaaf"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#aaa0f4a15762d8d82702c855bc94fcaaf">hashCode</a> () const</td></tr>
<tr class="memdesc:aaa0f4a15762d8d82702c855bc94fcaaf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Generates a hash code for the locale.  <a href="classicu_1_1Locale.html#aaa0f4a15762d8d82702c855bc94fcaaf">More...</a><br /></td></tr>
<tr class="separator:aaa0f4a15762d8d82702c855bc94fcaaf"><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="classicu_1_1Locale.html#a96f224077ded97bc3e778e79adaa7662">More...</a><br /></td></tr>
<tr class="separator:a96f224077ded97bc3e778e79adaa7662"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afdb109f19bab35f861cd62a2d0eb7269"><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#afdb109f19bab35f861cd62a2d0eb7269">isBogus</a> () const</td></tr>
<tr class="memdesc:afdb109f19bab35f861cd62a2d0eb7269"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the bogus state.  <a href="classicu_1_1Locale.html#afdb109f19bab35f861cd62a2d0eb7269">More...</a><br /></td></tr>
<tr class="separator:afdb109f19bab35f861cd62a2d0eb7269"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af41aa151b9f96d468621e7d2842f51ff"><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#af41aa151b9f96d468621e7d2842f51ff">getDynamicClassID</a> () const override</td></tr>
<tr class="memdesc:af41aa151b9f96d468621e7d2842f51ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">ICU "poor man's RTTI", returns a UClassID for the actual class.  <a href="classicu_1_1Locale.html#af41aa151b9f96d468621e7d2842f51ff">More...</a><br /></td></tr>
<tr class="separator:af41aa151b9f96d468621e7d2842f51ff"><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="classicu_1_1UObject.html#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:a88bd0745b94c7c7609a97637984b87fb"><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#a88bd0745b94c7c7609a97637984b87fb">getRoot</a> ()</td></tr>
<tr class="memdesc:a88bd0745b94c7c7609a97637984b87fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for the Root locale.  <a href="classicu_1_1Locale.html#a88bd0745b94c7c7609a97637984b87fb">More...</a><br /></td></tr>
<tr class="separator:a88bd0745b94c7c7609a97637984b87fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6cda88d259f1d221037b2dc7aaf19930"><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#a6cda88d259f1d221037b2dc7aaf19930">getEnglish</a> ()</td></tr>
<tr class="memdesc:a6cda88d259f1d221037b2dc7aaf19930"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this language.  <a href="classicu_1_1Locale.html#a6cda88d259f1d221037b2dc7aaf19930">More...</a><br /></td></tr>
<tr class="separator:a6cda88d259f1d221037b2dc7aaf19930"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3eec7180cfb740a6f1fbd57195104fb0"><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#a3eec7180cfb740a6f1fbd57195104fb0">getFrench</a> ()</td></tr>
<tr class="memdesc:a3eec7180cfb740a6f1fbd57195104fb0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this language.  <a href="classicu_1_1Locale.html#a3eec7180cfb740a6f1fbd57195104fb0">More...</a><br /></td></tr>
<tr class="separator:a3eec7180cfb740a6f1fbd57195104fb0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a055a30dfa48613be29f21249db70cfb8"><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#a055a30dfa48613be29f21249db70cfb8">getGerman</a> ()</td></tr>
<tr class="memdesc:a055a30dfa48613be29f21249db70cfb8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this language.  <a href="classicu_1_1Locale.html#a055a30dfa48613be29f21249db70cfb8">More...</a><br /></td></tr>
<tr class="separator:a055a30dfa48613be29f21249db70cfb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59e6dba94882c6e3da59216d392cf201"><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#a59e6dba94882c6e3da59216d392cf201">getItalian</a> ()</td></tr>
<tr class="memdesc:a59e6dba94882c6e3da59216d392cf201"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this language.  <a href="classicu_1_1Locale.html#a59e6dba94882c6e3da59216d392cf201">More...</a><br /></td></tr>
<tr class="separator:a59e6dba94882c6e3da59216d392cf201"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a794ca3a134bf6e7b85c912b765a130"><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#a9a794ca3a134bf6e7b85c912b765a130">getJapanese</a> ()</td></tr>
<tr class="memdesc:a9a794ca3a134bf6e7b85c912b765a130"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this language.  <a href="classicu_1_1Locale.html#a9a794ca3a134bf6e7b85c912b765a130">More...</a><br /></td></tr>
<tr class="separator:a9a794ca3a134bf6e7b85c912b765a130"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f4365fbf7299d2e645597d9ae3dfc29"><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#a9f4365fbf7299d2e645597d9ae3dfc29">getKorean</a> ()</td></tr>
<tr class="memdesc:a9f4365fbf7299d2e645597d9ae3dfc29"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this language.  <a href="classicu_1_1Locale.html#a9f4365fbf7299d2e645597d9ae3dfc29">More...</a><br /></td></tr>
<tr class="separator:a9f4365fbf7299d2e645597d9ae3dfc29"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52cd2e203f93fe6c86bfd25986286a53"><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#a52cd2e203f93fe6c86bfd25986286a53">getChinese</a> ()</td></tr>
<tr class="memdesc:a52cd2e203f93fe6c86bfd25986286a53"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this language.  <a href="classicu_1_1Locale.html#a52cd2e203f93fe6c86bfd25986286a53">More...</a><br /></td></tr>
<tr class="separator:a52cd2e203f93fe6c86bfd25986286a53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad7f3c86a9397a1c0cbf5a739b1a56a83"><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#ad7f3c86a9397a1c0cbf5a739b1a56a83">getSimplifiedChinese</a> ()</td></tr>
<tr class="memdesc:ad7f3c86a9397a1c0cbf5a739b1a56a83"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this language.  <a href="classicu_1_1Locale.html#ad7f3c86a9397a1c0cbf5a739b1a56a83">More...</a><br /></td></tr>
<tr class="separator:ad7f3c86a9397a1c0cbf5a739b1a56a83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6bb7d475375670f5fb61b1f148d95794"><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#a6bb7d475375670f5fb61b1f148d95794">getTraditionalChinese</a> ()</td></tr>
<tr class="memdesc:a6bb7d475375670f5fb61b1f148d95794"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this language.  <a href="classicu_1_1Locale.html#a6bb7d475375670f5fb61b1f148d95794">More...</a><br /></td></tr>
<tr class="separator:a6bb7d475375670f5fb61b1f148d95794"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2b1782e846bdad555d140467df524bf"><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#af2b1782e846bdad555d140467df524bf">getFrance</a> ()</td></tr>
<tr class="memdesc:af2b1782e846bdad555d140467df524bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this country/region.  <a href="classicu_1_1Locale.html#af2b1782e846bdad555d140467df524bf">More...</a><br /></td></tr>
<tr class="separator:af2b1782e846bdad555d140467df524bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abfd503aeaeed719902cb3242dbe06ad0"><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#abfd503aeaeed719902cb3242dbe06ad0">getGermany</a> ()</td></tr>
<tr class="memdesc:abfd503aeaeed719902cb3242dbe06ad0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this country/region.  <a href="classicu_1_1Locale.html#abfd503aeaeed719902cb3242dbe06ad0">More...</a><br /></td></tr>
<tr class="separator:abfd503aeaeed719902cb3242dbe06ad0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a881432e327ba92e13649f3ac96d96451"><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#a881432e327ba92e13649f3ac96d96451">getItaly</a> ()</td></tr>
<tr class="memdesc:a881432e327ba92e13649f3ac96d96451"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this country/region.  <a href="classicu_1_1Locale.html#a881432e327ba92e13649f3ac96d96451">More...</a><br /></td></tr>
<tr class="separator:a881432e327ba92e13649f3ac96d96451"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa99cc19ab45b06a8cae216191c2c2285"><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#aa99cc19ab45b06a8cae216191c2c2285">getJapan</a> ()</td></tr>
<tr class="memdesc:aa99cc19ab45b06a8cae216191c2c2285"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this country/region.  <a href="classicu_1_1Locale.html#aa99cc19ab45b06a8cae216191c2c2285">More...</a><br /></td></tr>
<tr class="separator:aa99cc19ab45b06a8cae216191c2c2285"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8aa0b4eeb4beb7105e86366327002d58"><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#a8aa0b4eeb4beb7105e86366327002d58">getKorea</a> ()</td></tr>
<tr class="memdesc:a8aa0b4eeb4beb7105e86366327002d58"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this country/region.  <a href="classicu_1_1Locale.html#a8aa0b4eeb4beb7105e86366327002d58">More...</a><br /></td></tr>
<tr class="separator:a8aa0b4eeb4beb7105e86366327002d58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a168f00a77e2b854d1ac36d8d7278cb92"><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#a168f00a77e2b854d1ac36d8d7278cb92">getChina</a> ()</td></tr>
<tr class="memdesc:a168f00a77e2b854d1ac36d8d7278cb92"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this country/region.  <a href="classicu_1_1Locale.html#a168f00a77e2b854d1ac36d8d7278cb92">More...</a><br /></td></tr>
<tr class="separator:a168f00a77e2b854d1ac36d8d7278cb92"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61c4e3c78f8034bd550c1a38d939dc25"><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#a61c4e3c78f8034bd550c1a38d939dc25">getPRC</a> ()</td></tr>
<tr class="memdesc:a61c4e3c78f8034bd550c1a38d939dc25"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this country/region.  <a href="classicu_1_1Locale.html#a61c4e3c78f8034bd550c1a38d939dc25">More...</a><br /></td></tr>
<tr class="separator:a61c4e3c78f8034bd550c1a38d939dc25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af71e303d13a07ea852492e2a53c06e81"><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#af71e303d13a07ea852492e2a53c06e81">getTaiwan</a> ()</td></tr>
<tr class="memdesc:af71e303d13a07ea852492e2a53c06e81"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this country/region.  <a href="classicu_1_1Locale.html#af71e303d13a07ea852492e2a53c06e81">More...</a><br /></td></tr>
<tr class="separator:af71e303d13a07ea852492e2a53c06e81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b47729bfbc72f6c409ef6e5e3bae7ed"><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#a9b47729bfbc72f6c409ef6e5e3bae7ed">getUK</a> ()</td></tr>
<tr class="memdesc:a9b47729bfbc72f6c409ef6e5e3bae7ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this country/region.  <a href="classicu_1_1Locale.html#a9b47729bfbc72f6c409ef6e5e3bae7ed">More...</a><br /></td></tr>
<tr class="separator:a9b47729bfbc72f6c409ef6e5e3bae7ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b699f949d81ee94ff5f10cb10fcff3e"><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#a5b699f949d81ee94ff5f10cb10fcff3e">getUS</a> ()</td></tr>
<tr class="memdesc:a5b699f949d81ee94ff5f10cb10fcff3e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this country/region.  <a href="classicu_1_1Locale.html#a5b699f949d81ee94ff5f10cb10fcff3e">More...</a><br /></td></tr>
<tr class="separator:a5b699f949d81ee94ff5f10cb10fcff3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad960cd1a8424e9056c297c6388cb7549"><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#ad960cd1a8424e9056c297c6388cb7549">getCanada</a> ()</td></tr>
<tr class="memdesc:ad960cd1a8424e9056c297c6388cb7549"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this country/region.  <a href="classicu_1_1Locale.html#ad960cd1a8424e9056c297c6388cb7549">More...</a><br /></td></tr>
<tr class="separator:ad960cd1a8424e9056c297c6388cb7549"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a85b79b52195008a20881db39acb75710"><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#a85b79b52195008a20881db39acb75710">getCanadaFrench</a> ()</td></tr>
<tr class="memdesc:a85b79b52195008a20881db39acb75710"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for this country/region.  <a href="classicu_1_1Locale.html#a85b79b52195008a20881db39acb75710">More...</a><br /></td></tr>
<tr class="separator:a85b79b52195008a20881db39acb75710"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aecbcfddec8afb937d1a0254c77c85018"><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#aecbcfddec8afb937d1a0254c77c85018">getDefault</a> ()</td></tr>
<tr class="memdesc:aecbcfddec8afb937d1a0254c77c85018"><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="classicu_1_1Locale.html#aecbcfddec8afb937d1a0254c77c85018">More...</a><br /></td></tr>
<tr class="separator:aecbcfddec8afb937d1a0254c77c85018"><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="classicu_1_1Locale.html#a6a9edf0b1deb14ecbc8cedaae82a07ce">More...</a><br /></td></tr>
<tr class="separator:a6a9edf0b1deb14ecbc8cedaae82a07ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af76028775e37fd75a30209aaede551e2"><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#af76028775e37fd75a30209aaede551e2">forLanguageTag</a> (<a class="el" href="classicu_1_1StringPiece.html">StringPiece</a> tag, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:af76028775e37fd75a30209aaede551e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns 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 specified BCP47 language tag string.  <a href="classicu_1_1Locale.html#af76028775e37fd75a30209aaede551e2">More...</a><br /></td></tr>
<tr class="separator:af76028775e37fd75a30209aaede551e2"><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#ab93f80d3432943a815afb03ec3fab6c7" title="Gets the full name for the specified locale.">uloc_getName()</a>.  <a href="classicu_1_1Locale.html#a11f078bd549698d012be82654925614a">More...</a><br /></td></tr>
<tr class="separator:a11f078bd549698d012be82654925614a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73f65a28ec1ef4a5e7a5189889207f9a"><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#a73f65a28ec1ef4a5e7a5189889207f9a">createFromName</a> (<a class="el" href="classicu_1_1StringPiece.html">StringPiece</a> name)</td></tr>
<tr class="separator:a73f65a28ec1ef4a5e7a5189889207f9a"><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 according to CLDR by calling <a class="el" href="uloc_8h.html#a69b148194cf57ac40d4bb15c5b905260" title="Gets the full name for the specified locale.">uloc_canonicalize()</a>.  <a href="classicu_1_1Locale.html#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="classicu_1_1Locale.html#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="classicu_1_1Locale.html#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">Returns a list of all unique language codes defined in ISO 639.  <a href="classicu_1_1Locale.html#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="classicu_1_1Locale.html#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="classicu_1_1Locale.html#ae42b6a9c1bae0656ba4a6703c1cafc81">More...</a><br /></td></tr>
<tr class="separator:ae42b6a9c1bae0656ba4a6703c1cafc81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a088d207ccac532fa09322311432aa8e3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Locale.html#a088d207ccac532fa09322311432aa8e3">minimizeSubtags</a> (bool favorScript, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a088d207ccac532fa09322311432aa8e3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Minimize the subtags for this <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a>, per the algorithm described.  <a href="classicu_1_1Locale.html#a088d207ccac532fa09322311432aa8e3">More...</a><br /></td></tr>
<tr class="separator:a088d207ccac532fa09322311432aa8e3"><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="classicu_1_1Locale.html#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 language'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">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#a5b699f949d81ee94ff5f10cb10fcff3e" 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">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">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">NumberFormat</a></code> class provides these three convenience methods for creating a default <code><a class="el" href="classicu_1_1NumberFormat.html">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">NumberFormat</a> *nf;

    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">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#_stable000406">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 class="definition">Definition at line <a class="el" href="locid_8h_source.html#l00195">195</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 id="a2675e8918f9885a74649c4ff625f51bd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2675e8918f9885a74649c4ff625f51bd">&#9670;&nbsp;</a></span>Locale() <span class="overload">[1/4]</span></h2>

<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#aecbcfddec8afb937d1a0254c77c85018" title="Common methods of getting the current default Locale.">getDefault</a> </dd>
<dd>
<a class="el" href="uloc_8h.html#a196a502d25cf1f047a8854808bc0b911" title="Gets ICU&#39;s default locale.">uloc_getDefault</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000429">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a51e8495355dee3744a3640dac36ce7fe"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a51e8495355dee3744a3640dac36ce7fe">&#9670;&nbsp;</a></span>Locale() <span class="overload">[2/4]</span></h2>

<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>nullptr</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>variant</em> = <code>nullptr</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>keywordsAndValues</em> = <code>nullptr</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#afdb109f19bab35f861cd62a2d0eb7269" 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 nullptr; 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#aecbcfddec8afb937d1a0254c77c85018" title="Common methods of getting the current default Locale.">getDefault</a> </dd>
<dd>
<a class="el" href="uloc_8h.html#a196a502d25cf1f047a8854808bc0b911" title="Gets ICU&#39;s default locale.">uloc_getDefault</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000430">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="abdbc24cada37a35c661a0264c140073e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abdbc24cada37a35c661a0264c140073e">&#9670;&nbsp;</a></span>Locale() <span class="overload">[3/4]</span></h2>

<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#_stable000431">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="afd675b64153ba02e76dad8284be030a8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd675b64153ba02e76dad8284be030a8">&#9670;&nbsp;</a></span>Locale() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">icu::Locale::Locale </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Move constructor; might leave source in bogus state. </p>
<p>This locale will have the same contents that the source locale had.</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 moved in. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000432">Stable:</a></b></dt><dd>ICU 63 </dd></dl>

</div>
</div>
<a id="a654d1c1020597b62a3347ef15fda00ef"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a654d1c1020597b62a3347ef15fda00ef">&#9670;&nbsp;</a></span>~Locale()</h2>

<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#_stable000433">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a974d212572d7fc61a0579f820100a8f6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a974d212572d7fc61a0579f820100a8f6">&#9670;&nbsp;</a></span>addLikelySubtags()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Locale::addLikelySubtags </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></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Add the likely subtags for this <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a>, per the algorithm described in the following CLDR technical report: </p>
<p><a href="http://www.unicode.org/reports/tr35/#Likely_Subtags">http://www.unicode.org/reports/tr35/#Likely_Subtags</a></p>
<p>If this <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a> is already in the maximal form, or not valid, or there is no data available for maximization, the <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a> will be unchanged.</p>
<p>For example, "sh" cannot be maximized, since there is no reasonable maximization.</p>
<p>Examples:</p>
<p>"und_Zzzz" maximizes to "en_Latn_US"</p>
<p>"en" maximizes to "en_Latn_US"</p>
<p>"de" maximizes to "de_Latn_DE"</p>
<p>"sr" maximizes to "sr_Cyrl_RS"</p>
<p>"zh_Hani" maximizes to "zh_Hani_CN"</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td>error information if maximizing this <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a> failed. If this <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a> is not well-formed, the error code is U_ILLEGAL_ARGUMENT_ERROR. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000452">Stable:</a></b></dt><dd>ICU 63 </dd></dl>

</div>
</div>
<a id="a9e8ce3f1e540a132e9f8c754839f8ded"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9e8ce3f1e540a132e9f8c754839f8ded">&#9670;&nbsp;</a></span>canonicalize()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Locale::canonicalize </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></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Canonicalize the locale ID of this object according to CLDR. </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="stable"><dt><b><a class="el" href="stable.html#_stable000454">Stable:</a></b></dt><dd>ICU 67 </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classicu_1_1Locale.html#a1e27231da1d9e7bdf0a2f106599e8e79" title="Creates a locale from the given string after canonicalizing the string according to CLDR by calling u...">createCanonical</a> </dd></dl>

</div>
</div>
<a id="a26e1b7a9f1377d52d2d78f5509afbfce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a26e1b7a9f1377d52d2d78f5509afbfce">&#9670;&nbsp;</a></span>clone()</h2>

<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 nullptr 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#af41aa151b9f96d468621e7d2842f51ff" 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#_stable000438">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

</div>
</div>
<a id="a1e27231da1d9e7bdf0a2f106599e8e79"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1e27231da1d9e7bdf0a2f106599e8e79">&#9670;&nbsp;</a></span>createCanonical()</h2>

<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 according to CLDR by calling <a class="el" href="uloc_8h.html#a69b148194cf57ac40d4bb15c5b905260" 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 nullptr. </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#_stable000445">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#a69b148194cf57ac40d4bb15c5b905260" title="Gets the full name for the specified locale.">uloc_canonicalize</a> </dd></dl>

</div>
</div>
<a id="a11f078bd549698d012be82654925614a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a11f078bd549698d012be82654925614a">&#9670;&nbsp;</a></span>createFromName() <span class="overload">[1/2]</span></h2>

<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#ab93f80d3432943a815afb03ec3fab6c7" 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#_stable000444">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#ab93f80d3432943a815afb03ec3fab6c7" title="Gets the full name for the specified locale.">uloc_getName</a> </dd></dl>

</div>
</div>
<a id="a73f65a28ec1ef4a5e7a5189889207f9a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a73f65a28ec1ef4a5e7a5189889207f9a">&#9670;&nbsp;</a></span>createFromName() <span class="overload">[2/2]</span></h2>

<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"><a class="el" href="classicu_1_1StringPiece.html">StringPiece</a>&#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">
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000051">Internal:</a></b></dt><dd>Do not use.</dd></dl>
<p>This API is for internal use only. </p>

</div>
</div>
<a id="a820f8ff8c15f2b721f6974d376c24a07"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a820f8ff8c15f2b721f6974d376c24a07">&#9670;&nbsp;</a></span>createKeywords()</h2>

<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 nullptr if there are no keywords. Client must dispose of it by calling delete. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classicu_1_1Locale.html#aacc9378a06c88cc1698f1d43671b8c55" title="Gets the set of keywords for this Locale.">getKeywords</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000455">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

</div>
</div>
<a id="a8ed0780b6792122c853de20e480e89b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8ed0780b6792122c853de20e480e89b8">&#9670;&nbsp;</a></span>createUnicodeKeywords()</h2>

<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::createUnicodeKeywords </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 Unicode 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 nullptr if there are no keywords. Client must dispose of it by calling delete. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classicu_1_1Locale.html#a76d47ca0e75c61fcab9f2d55afd519ed" title="Gets the set of Unicode keywords for this Locale.">getUnicodeKeywords</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000456">Stable:</a></b></dt><dd>ICU 63 </dd></dl>

</div>
</div>
<a id="af76028775e37fd75a30209aaede551e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af76028775e37fd75a30209aaede551e2">&#9670;&nbsp;</a></span>forLanguageTag()</h2>

<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::forLanguageTag </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1StringPiece.html">StringPiece</a>&#160;</td>
          <td class="paramname"><em>tag</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>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns 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 specified BCP47 language tag string. </p>
<p>If the specified language tag contains any ill-formed subtags, the first such subtag and all following subtags are ignored. </p>
<p>This implements the 'Language-Tag' production of BCP 47, and so supports legacy language tags (marked as “Type: grandfathered” in BCP 47) (regular and irregular) as well as private use language tags.</p>
<p>Private use tags are represented as 'x-whatever', and legacy tags are converted to their canonical replacements where they exist.</p>
<p>Note that a few legacy tags have no modern replacement; these will be converted using the fallback described in the first paragraph, so some information might be lost.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">tag</td><td>the input BCP47 language tag. </td></tr>
    <tr><td class="paramname">status</td><td>error information if creating the <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a> failed. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a> for the specified BCP47 language tag. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000441">Stable:</a></b></dt><dd>ICU 63 </dd></dl>

</div>
</div>
<a id="a073d70df8c9c8d119c0d42d70de24137"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a073d70df8c9c8d119c0d42d70de24137">&#9670;&nbsp;</a></span>getAvailableLocales()</h2>

<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#_stable000484">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a9162df9e38e589b286fc54512bf93454"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9162df9e38e589b286fc54512bf93454">&#9670;&nbsp;</a></span>getBaseName()</h2>

<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#a90270d1498b534f04d9eb4fbe307b647" 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#a90270d1498b534f04d9eb4fbe307b647" 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#_stable000451">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

</div>
</div>
<a id="ad960cd1a8424e9056c297c6388cb7549"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad960cd1a8424e9056c297c6388cb7549">&#9670;&nbsp;</a></span>getCanada()</h2>

<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="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#_stable000427">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a85b79b52195008a20881db39acb75710"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a85b79b52195008a20881db39acb75710">&#9670;&nbsp;</a></span>getCanadaFrench()</h2>

<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="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#_stable000428">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a168f00a77e2b854d1ac36d8d7278cb92"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a168f00a77e2b854d1ac36d8d7278cb92">&#9670;&nbsp;</a></span>getChina()</h2>

<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="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#_stable000422">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a52cd2e203f93fe6c86bfd25986286a53"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a52cd2e203f93fe6c86bfd25986286a53">&#9670;&nbsp;</a></span>getChinese()</h2>

<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="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#_stable000414">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="ae0e34de2b43dbc5588fbfcd95ae94155"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae0e34de2b43dbc5588fbfcd95ae94155">&#9670;&nbsp;</a></span>getCountry()</h2>

<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#_stable000448">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

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

</div>
</div>
<a id="aecbcfddec8afb937d1a0254c77c85018"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aecbcfddec8afb937d1a0254c77c85018">&#9670;&nbsp;</a></span>getDefault()</h2>

<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="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><br  />
 Do not use unless you know what you are doing. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000439">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a20b57681f1027f32c8db20f81ccd0afa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a20b57681f1027f32c8db20f81ccd0afa">&#9670;&nbsp;</a></span>getDisplayCountry() <span class="overload">[1/2]</span></h2>

<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#a3eec7180cfb740a6f1fbd57195104fb0" 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#a055a30dfa48613be29f21249db70cfb8" 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#_stable000476">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a37c7c7d02f01941e66f079b047bffa11"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a37c7c7d02f01941e66f079b047bffa11">&#9670;&nbsp;</a></span>getDisplayCountry() <span class="overload">[2/2]</span></h2>

<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#_stable000475">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a4b0dd369e9ff8c743d4cf3c06073b06f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4b0dd369e9ff8c743d4cf3c06073b06f">&#9670;&nbsp;</a></span>getDisplayLanguage() <span class="overload">[1/2]</span></h2>

<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#a3eec7180cfb740a6f1fbd57195104fb0" 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#a055a30dfa48613be29f21249db70cfb8" 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#_stable000472">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a8bb01ec355f3b49aa0ce2d846f9b7373"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8bb01ec355f3b49aa0ce2d846f9b7373">&#9670;&nbsp;</a></span>getDisplayLanguage() <span class="overload">[2/2]</span></h2>

<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#_stable000471">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a9255df735dfbc5af6b2883edc4ca4f15"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9255df735dfbc5af6b2883edc4ca4f15">&#9670;&nbsp;</a></span>getDisplayName() <span class="overload">[1/2]</span></h2>

<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 specified by "displayLocale". </p>
<p>This function uses <a class="el" href="classicu_1_1Locale.html#a8bb01ec355f3b49aa0ce2d846f9b7373" 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#a37c7c7d02f01941e66f079b047bffa11" 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#ac5bafbf7ecc3f3910434baaf92de39d4" 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#_stable000480">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a61def321a9cfd9904b59e3f1897f835e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a61def321a9cfd9904b59e3f1897f835e">&#9670;&nbsp;</a></span>getDisplayName() <span class="overload">[2/2]</span></h2>

<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#a8bb01ec355f3b49aa0ce2d846f9b7373" 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#a37c7c7d02f01941e66f079b047bffa11" 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#ac5bafbf7ecc3f3910434baaf92de39d4" 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#_stable000479">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="ac74d9797fd3ac9404b56d9bb41dba89d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac74d9797fd3ac9404b56d9bb41dba89d">&#9670;&nbsp;</a></span>getDisplayScript() <span class="overload">[1/2]</span></h2>

<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#a3eec7180cfb740a6f1fbd57195104fb0" title="Useful constant for this language.">Locale::getFrench()</a> for displayLocale would result in "", while passing <a class="el" href="classicu_1_1Locale.html#a055a30dfa48613be29f21249db70cfb8" 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#_stable000474">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

</div>
</div>
<a id="ad2b0f13f18073c1bfa81399b04df18a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad2b0f13f18073c1bfa81399b04df18a5">&#9670;&nbsp;</a></span>getDisplayScript() <span class="overload">[2/2]</span></h2>

<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#_stable000473">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

</div>
</div>
<a id="aef67f43c27f58c9768ea0a6efec4f433"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef67f43c27f58c9768ea0a6efec4f433">&#9670;&nbsp;</a></span>getDisplayVariant() <span class="overload">[1/2]</span></h2>

<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#_stable000478">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="ac5bafbf7ecc3f3910434baaf92de39d4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac5bafbf7ecc3f3910434baaf92de39d4">&#9670;&nbsp;</a></span>getDisplayVariant() <span class="overload">[2/2]</span></h2>

<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#_stable000477">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="af41aa151b9f96d468621e7d2842f51ff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af41aa151b9f96d468621e7d2842f51ff">&#9670;&nbsp;</a></span>getDynamicClassID()</h2>

<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">override</span><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#_stable000488">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>

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

</div>
</div>
<a id="a6cda88d259f1d221037b2dc7aaf19930"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6cda88d259f1d221037b2dc7aaf19930">&#9670;&nbsp;</a></span>getEnglish()</h2>

<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="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#_stable000408">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="af2b1782e846bdad555d140467df524bf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af2b1782e846bdad555d140467df524bf">&#9670;&nbsp;</a></span>getFrance()</h2>

<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="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#_stable000417">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a3eec7180cfb740a6f1fbd57195104fb0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3eec7180cfb740a6f1fbd57195104fb0">&#9670;&nbsp;</a></span>getFrench()</h2>

<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="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#_stable000409">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a055a30dfa48613be29f21249db70cfb8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a055a30dfa48613be29f21249db70cfb8">&#9670;&nbsp;</a></span>getGerman()</h2>

<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="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#_stable000410">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="abfd503aeaeed719902cb3242dbe06ad0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abfd503aeaeed719902cb3242dbe06ad0">&#9670;&nbsp;</a></span>getGermany()</h2>

<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="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#_stable000418">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a5b22c149844f507a2c5e08a57cfa0cb5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5b22c149844f507a2c5e08a57cfa0cb5">&#9670;&nbsp;</a></span>getISO3Country()</h2>

<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#_stable000468">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="ac625290b3457d3e3f820c38fbbf67d23"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac625290b3457d3e3f820c38fbbf67d23">&#9670;&nbsp;</a></span>getISO3Language()</h2>

<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#_stable000467">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a0d7ad0dea54a784cefd1ff35be55c648"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0d7ad0dea54a784cefd1ff35be55c648">&#9670;&nbsp;</a></span>getISOCountries()</h2>

<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#_stable000485">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a571cdf49b45b8f219de26749b9c7be18"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a571cdf49b45b8f219de26749b9c7be18">&#9670;&nbsp;</a></span>getISOLanguages()</h2>

<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>Returns a list of all unique language codes defined in ISO 639. </p>
<p>They can be 2 or 3 letter codes, as defined by <a href="https://www.ietf.org/rfc/bcp/bcp47.html#section-2.2.1">BCP 47, section 2.2.1</a>. 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#_stable000486">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a59e6dba94882c6e3da59216d392cf201"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a59e6dba94882c6e3da59216d392cf201">&#9670;&nbsp;</a></span>getItalian()</h2>

<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="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#_stable000411">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a881432e327ba92e13649f3ac96d96451"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a881432e327ba92e13649f3ac96d96451">&#9670;&nbsp;</a></span>getItaly()</h2>

<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="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#_stable000419">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="aa99cc19ab45b06a8cae216191c2c2285"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa99cc19ab45b06a8cae216191c2c2285">&#9670;&nbsp;</a></span>getJapan()</h2>

<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="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#_stable000420">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a9a794ca3a134bf6e7b85c912b765a130"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a794ca3a134bf6e7b85c912b765a130">&#9670;&nbsp;</a></span>getJapanese()</h2>

<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="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#_stable000412">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="aacc9378a06c88cc1698f1d43671b8c55"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aacc9378a06c88cc1698f1d43671b8c55">&#9670;&nbsp;</a></span>getKeywords()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename StringClass , typename OutputIterator &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Locale::getKeywords </td>
          <td>(</td>
          <td class="paramtype">OutputIterator&#160;</td>
          <td class="paramname"><em>iterator</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>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gets the set of keywords for this <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a>. </p>
<p>A wrapper to call <a class="el" href="classicu_1_1Locale.html#a820f8ff8c15f2b721f6974d376c24a07" title="Gets the list of keywords for the specified locale.">createKeywords()</a> and write the resulting keywords as standard strings (or compatible objects) into any kind of container that can be written to by an STL style output iterator.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">iterator</td><td>an STL style output iterator to write the keywords to. </td></tr>
    <tr><td class="paramname">status</td><td>error information if creating set of keywords failed. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000457">Stable:</a></b></dt><dd>ICU 63 </dd></dl>

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

<p class="reference">References <a class="el" href="localpointer_8h_source.html#l00094">icu::LocalPointerBase&lt; T &gt;::isNull()</a>, and <a class="el" href="utypes_8h_source.html#l00748">U_FAILURE</a>.</p>

</div>
</div>
<a id="a6a504ee55c8f74fff0813921ae2e0330"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a504ee55c8f74fff0813921ae2e0330">&#9670;&nbsp;</a></span>getKeywordValue() <span class="overload">[1/3]</span></h2>

<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>
<p>This uses legacy keyword=value pairs, like "collation=phonebook".</p>
<p>ICU4C doesn't do automatic conversion between legacy and Unicode keywords and values in getters and setters (as opposed to ICU4J).</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#_stable000459">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

</div>
</div>
<a id="aef599483560e19d4f0ac8a65e0a4ddd4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aef599483560e19d4f0ac8a65e0a4ddd4">&#9670;&nbsp;</a></span>getKeywordValue() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Locale::getKeywordValue </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1StringPiece.html">StringPiece</a>&#160;</td>
          <td class="paramname"><em>keywordName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classicu_1_1ByteSink.html">ByteSink</a> &amp;&#160;</td>
          <td class="paramname"><em>sink</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>
<p>This uses legacy keyword=value pairs, like "collation=phonebook".</p>
<p>ICU4C doesn't do automatic conversion between legacy and Unicode keywords and values in getters and setters (as opposed to ICU4J).</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. </td></tr>
    <tr><td class="paramname">sink</td><td>the sink to receive the keyword value. </td></tr>
    <tr><td class="paramname">status</td><td>error information if getting the value failed. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000460">Stable:</a></b></dt><dd>ICU 63 </dd></dl>

</div>
</div>
<a id="abb04894db45b909d9f064e51a4d8b317"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abb04894db45b909d9f064e51a4d8b317">&#9670;&nbsp;</a></span>getKeywordValue() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename StringClass &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">StringClass icu::Locale::getKeywordValue </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1StringPiece.html">StringPiece</a>&#160;</td>
          <td class="paramname"><em>keywordName</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>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gets the value for a keyword. </p>
<p>This uses legacy keyword=value pairs, like "collation=phonebook".</p>
<p>ICU4C doesn't do automatic conversion between legacy and Unicode keywords and values in getters and setters (as opposed to ICU4J).</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. </td></tr>
    <tr><td class="paramname">status</td><td>error information if getting the value failed. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the keyword value. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000461">Stable:</a></b></dt><dd>ICU 63 </dd></dl>

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

<p class="reference">References <a class="el" href="utypes_8h_source.html#l00748">U_FAILURE</a>.</p>

</div>
</div>
<a id="a8aa0b4eeb4beb7105e86366327002d58"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8aa0b4eeb4beb7105e86366327002d58">&#9670;&nbsp;</a></span>getKorea()</h2>

<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="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#_stable000421">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a9f4365fbf7299d2e645597d9ae3dfc29"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f4365fbf7299d2e645597d9ae3dfc29">&#9670;&nbsp;</a></span>getKorean()</h2>

<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="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#_stable000413">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="af2485515cb9df4e353da1727e02774f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af2485515cb9df4e353da1727e02774f1">&#9670;&nbsp;</a></span>getLanguage()</h2>

<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#_stable000446">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

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

</div>
</div>
<a id="aac8ba427a69dca3618bd8a334860b98d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aac8ba427a69dca3618bd8a334860b98d">&#9670;&nbsp;</a></span>getLCID()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t icu::Locale::getLCID </td>
          <td>(</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#_stable000469">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a90270d1498b534f04d9eb4fbe307b647"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a90270d1498b534f04d9eb4fbe307b647">&#9670;&nbsp;</a></span>getName()</h2>

<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#_stable000450">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

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

</div>
</div>
<a id="a61c4e3c78f8034bd550c1a38d939dc25"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a61c4e3c78f8034bd550c1a38d939dc25">&#9670;&nbsp;</a></span>getPRC()</h2>

<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="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#_stable000423">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a88bd0745b94c7c7609a97637984b87fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a88bd0745b94c7c7609a97637984b87fb">&#9670;&nbsp;</a></span>getRoot()</h2>

<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="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#_stable000407">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl>

</div>
</div>
<a id="a5f3fc950f6d1315953427dac705272f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5f3fc950f6d1315953427dac705272f4">&#9670;&nbsp;</a></span>getScript()</h2>

<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#ac39403502a294ca4bc250ce566c15fea" 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#a14b7a17b1eb0e7ca9395cc505fb9c0ca" 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#_stable000447">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

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

</div>
</div>
<a id="ad7f3c86a9397a1c0cbf5a739b1a56a83"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad7f3c86a9397a1c0cbf5a739b1a56a83">&#9670;&nbsp;</a></span>getSimplifiedChinese()</h2>

<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="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#_stable000415">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a262572b67b518c07034b3f386a41bf76"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a262572b67b518c07034b3f386a41bf76">&#9670;&nbsp;</a></span>getStaticClassID()</h2>

<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#_stable000487">Stable:</a></b></dt><dd>ICU 2.2 </dd></dl>

</div>
</div>
<a id="af71e303d13a07ea852492e2a53c06e81"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af71e303d13a07ea852492e2a53c06e81">&#9670;&nbsp;</a></span>getTaiwan()</h2>

<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="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#_stable000424">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a6bb7d475375670f5fb61b1f148d95794"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6bb7d475375670f5fb61b1f148d95794">&#9670;&nbsp;</a></span>getTraditionalChinese()</h2>

<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="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#_stable000416">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a9b47729bfbc72f6c409ef6e5e3bae7ed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9b47729bfbc72f6c409ef6e5e3bae7ed">&#9670;&nbsp;</a></span>getUK()</h2>

<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="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#_stable000425">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a76d47ca0e75c61fcab9f2d55afd519ed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a76d47ca0e75c61fcab9f2d55afd519ed">&#9670;&nbsp;</a></span>getUnicodeKeywords()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename StringClass , typename OutputIterator &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Locale::getUnicodeKeywords </td>
          <td>(</td>
          <td class="paramtype">OutputIterator&#160;</td>
          <td class="paramname"><em>iterator</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>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gets the set of Unicode keywords for this <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a>. </p>
<p>A wrapper to call <a class="el" href="classicu_1_1Locale.html#a8ed0780b6792122c853de20e480e89b8" title="Gets the list of Unicode keywords for the specified locale.">createUnicodeKeywords()</a> and write the resulting keywords as standard strings (or compatible objects) into any kind of container that can be written to by an STL style output iterator.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">iterator</td><td>an STL style output iterator to write the keywords to. </td></tr>
    <tr><td class="paramname">status</td><td>error information if creating set of keywords failed. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000458">Stable:</a></b></dt><dd>ICU 63 </dd></dl>

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

<p class="reference">References <a class="el" href="localpointer_8h_source.html#l00094">icu::LocalPointerBase&lt; T &gt;::isNull()</a>, and <a class="el" href="utypes_8h_source.html#l00748">U_FAILURE</a>.</p>

</div>
</div>
<a id="ac65d88cb93b7aa6d16c72cf5b1851a5c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac65d88cb93b7aa6d16c72cf5b1851a5c">&#9670;&nbsp;</a></span>getUnicodeKeywordValue() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Locale::getUnicodeKeywordValue </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1StringPiece.html">StringPiece</a>&#160;</td>
          <td class="paramname"><em>keywordName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classicu_1_1ByteSink.html">ByteSink</a> &amp;&#160;</td>
          <td class="paramname"><em>sink</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 Unicode value for a Unicode keyword. </p>
<p>This uses Unicode key-value pairs, like "co-phonebk".</p>
<p>ICU4C doesn't do automatic conversion between legacy and Unicode keywords and values in getters and setters (as opposed to ICU4J).</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. </td></tr>
    <tr><td class="paramname">sink</td><td>the sink to receive the keyword value. </td></tr>
    <tr><td class="paramname">status</td><td>error information if getting the value failed. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000462">Stable:</a></b></dt><dd>ICU 63 </dd></dl>

</div>
</div>
<a id="a53e5d9671297618029b3118ec1c0d08a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a53e5d9671297618029b3118ec1c0d08a">&#9670;&nbsp;</a></span>getUnicodeKeywordValue() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename StringClass &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">StringClass icu::Locale::getUnicodeKeywordValue </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1StringPiece.html">StringPiece</a>&#160;</td>
          <td class="paramname"><em>keywordName</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>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gets the Unicode value for a Unicode keyword. </p>
<p>This uses Unicode key-value pairs, like "co-phonebk".</p>
<p>ICU4C doesn't do automatic conversion between legacy and Unicode keywords and values in getters and setters (as opposed to ICU4J).</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. </td></tr>
    <tr><td class="paramname">status</td><td>error information if getting the value failed. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the keyword value. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000463">Stable:</a></b></dt><dd>ICU 63 </dd></dl>

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

<p class="reference">References <a class="el" href="utypes_8h_source.html#l00748">U_FAILURE</a>.</p>

</div>
</div>
<a id="a5b699f949d81ee94ff5f10cb10fcff3e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5b699f949d81ee94ff5f10cb10fcff3e">&#9670;&nbsp;</a></span>getUS()</h2>

<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="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#_stable000426">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a7a87accf553548ba91a68ef8037dddde"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a87accf553548ba91a68ef8037dddde">&#9670;&nbsp;</a></span>getVariant()</h2>

<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#_stable000449">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

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

</div>
</div>
<a id="aaa0f4a15762d8d82702c855bc94fcaaf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aaa0f4a15762d8d82702c855bc94fcaaf">&#9670;&nbsp;</a></span>hashCode()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t icu::Locale::hashCode </td>
          <td>(</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#_stable000481">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="afdb109f19bab35f861cd62a2d0eb7269"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afdb109f19bab35f861cd62a2d0eb7269">&#9670;&nbsp;</a></span>isBogus()</h2>

<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="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#_stable000483">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl>

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

</div>
</div>
<a id="add806eb089dba37d5d7de725886b841b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#add806eb089dba37d5d7de725886b841b">&#9670;&nbsp;</a></span>isRightToLeft()</h2>

<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#a7d64ef121e3f860958838c56c854f34f" 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#_stable000470">Stable:</a></b></dt><dd>ICU 54 </dd></dl>

</div>
</div>
<a id="a088d207ccac532fa09322311432aa8e3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a088d207ccac532fa09322311432aa8e3">&#9670;&nbsp;</a></span>minimizeSubtags() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Locale::minimizeSubtags </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>favorScript</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>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Minimize the subtags for this <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a>, per the algorithm described. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">favorScript</td><td>favor to keep script if true, to keep region if false. </td></tr>
    <tr><td class="paramname">status</td><td>error information if maximizing this <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a> failed. If this <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a> is not well-formed, the error code is U_ILLEGAL_ARGUMENT_ERROR. </td></tr>
  </table>
  </dd>
</dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000053">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

</div>
</div>
<a id="a0638620f0b0c25aad55539f14f739244"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0638620f0b0c25aad55539f14f739244">&#9670;&nbsp;</a></span>minimizeSubtags() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Locale::minimizeSubtags </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></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Minimize the subtags for this <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a>, per the algorithm described in the following CLDR technical report: </p>
<p><a href="http://www.unicode.org/reports/tr35/#Likely_Subtags">http://www.unicode.org/reports/tr35/#Likely_Subtags</a></p>
<p>If this <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a> is already in the minimal form, or not valid, or there is no data available for minimization, the <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a> will be unchanged.</p>
<p>Since the minimization algorithm relies on proper maximization, see the comments for addLikelySubtags for reasons why there might not be any data.</p>
<p>Examples:</p>
<p>"en_Latn_US" minimizes to "en"</p>
<p>"de_Latn_US" minimizes to "de"</p>
<p>"sr_Cyrl_RS" minimizes to "sr"</p>
<p>"zh_Hant_TW" minimizes to "zh_TW" (The region is preferred to the script, and minimizing to "zh" would imply "zh_Hans_CN".)</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td>error information if maximizing this <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a> failed. If this <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a> is not well-formed, the error code is U_ILLEGAL_ARGUMENT_ERROR. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000453">Stable:</a></b></dt><dd>ICU 63 </dd></dl>

</div>
</div>
<a id="a9423f4eb4b671eec3d98c26ec923351e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9423f4eb4b671eec3d98c26ec923351e">&#9670;&nbsp;</a></span>operator!=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool 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#_stable000437">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

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

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

</div>
</div>
<a id="a9780c55dc1bb3a3e065b8e7c0a18d52f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9780c55dc1bb3a3e065b8e7c0a18d52f">&#9670;&nbsp;</a></span>operator=() <span class="overload">[1/2]</span></h2>

<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#_stable000434">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a49adc0a16aa6489f2edfdd74e3e65f81"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a49adc0a16aa6489f2edfdd74e3e65f81">&#9670;&nbsp;</a></span>operator=() <span class="overload">[2/2]</span></h2>

<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>&amp; icu::Locale::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Move assignment operator; might leave source in bogus state. </p>
<p>This locale will have the same contents that the source locale had. The behavior is undefined if *this and the source are the same 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 moved 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#_stable000435">Stable:</a></b></dt><dd>ICU 63 </dd></dl>

</div>
</div>
<a id="a7fc7f59eed1990ed246c5b01e99ba9c0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7fc7f59eed1990ed246c5b01e99ba9c0">&#9670;&nbsp;</a></span>operator==()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool 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#_stable000436">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="a6a9edf0b1deb14ecbc8cedaae82a07ce"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6a9edf0b1deb14ecbc8cedaae82a07ce">&#9670;&nbsp;</a></span>setDefault()</h2>

<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 nullptr, set to the value obtained from the runtime environment. </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><br  />
 Do not use unless you know what you are doing. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000440">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a id="ae42b6a9c1bae0656ba4a6703c1cafc81"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae42b6a9c1bae0656ba4a6703c1cafc81">&#9670;&nbsp;</a></span>setFromPOSIXID()</h2>

<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#_internal000052">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

</div>
</div>
<a id="a335e03772c44908f2d00dc6c23623bb6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a335e03772c44908f2d00dc6c23623bb6">&#9670;&nbsp;</a></span>setKeywordValue() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <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>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </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#a9162df9e38e589b286fc54512bf93454" 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#a90270d1498b534f04d9eb4fbe307b647" title="Returns the programmatic name of the entire locale, with the language, country and variant separated ...">getName()</a>.</p>
<p>This uses legacy keyword=value pairs, like "collation=phonebook".</p>
<p>ICU4C doesn't do automatic conversion between legacy and Unicode keywords and values in getters and setters (as opposed to ICU4J).</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 nullptr, 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#_stable000464">Stable:</a></b></dt><dd>ICU 49 </dd></dl>

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

</div>
</div>
<a id="a8bd41ffabf473aaebae57f968cbf62f8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8bd41ffabf473aaebae57f968cbf62f8">&#9670;&nbsp;</a></span>setKeywordValue() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Locale::setKeywordValue </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1StringPiece.html">StringPiece</a>&#160;</td>
          <td class="paramname"><em>keywordName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classicu_1_1StringPiece.html">StringPiece</a>&#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#a9162df9e38e589b286fc54512bf93454" 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#a90270d1498b534f04d9eb4fbe307b647" title="Returns the programmatic name of the entire locale, with the language, country and variant separated ...">getName()</a>.</p>
<p>This uses legacy keyword=value pairs, like "collation=phonebook".</p>
<p>ICU4C doesn't do automatic conversion between legacy and Unicode keywords and values in getters and setters (as opposed to ICU4J).</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. </td></tr>
    <tr><td class="paramname">keywordValue</td><td>value of the keyword to be set. If 0-length or nullptr, 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#_stable000465">Stable:</a></b></dt><dd>ICU 63 </dd></dl>

</div>
</div>
<a id="a96f224077ded97bc3e778e79adaa7662"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a96f224077ded97bc3e778e79adaa7662">&#9670;&nbsp;</a></span>setToBogus()</h2>

<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#_stable000482">Stable:</a></b></dt><dd>ICU 2.1 </dd></dl>

</div>
</div>
<a id="a8e93668bb15bf79777a0f7f2fff06c5a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8e93668bb15bf79777a0f7f2fff06c5a">&#9670;&nbsp;</a></span>setUnicodeKeywordValue()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Locale::setUnicodeKeywordValue </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1StringPiece.html">StringPiece</a>&#160;</td>
          <td class="paramname"><em>keywordName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classicu_1_1StringPiece.html">StringPiece</a>&#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 Unicode value for a Unicode keyword. </p>
<p>For removing all keywords, use <a class="el" href="classicu_1_1Locale.html#a9162df9e38e589b286fc54512bf93454" 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#a90270d1498b534f04d9eb4fbe307b647" title="Returns the programmatic name of the entire locale, with the language, country and variant separated ...">getName()</a>.</p>
<p>This uses Unicode key-value pairs, like "co-phonebk".</p>
<p>ICU4C doesn't do automatic conversion between legacy and Unicode keywords and values in getters and setters (as opposed to ICU4J).</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. </td></tr>
    <tr><td class="paramname">keywordValue</td><td>value of the keyword to be set. If 0-length or nullptr, 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#_stable000466">Stable:</a></b></dt><dd>ICU 63 </dd></dl>

</div>
</div>
<a id="a8f3be71ad2273a23d8ad237b77774bd9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8f3be71ad2273a23d8ad237b77774bd9">&#9670;&nbsp;</a></span>toLanguageTag() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Locale::toLanguageTag </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1ByteSink.html">ByteSink</a> &amp;&#160;</td>
          <td class="paramname"><em>sink</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>Returns a well-formed language tag for this <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a>. </p>
<p><b>Note</b>: Any locale fields which do not satisfy the BCP47 syntax requirement will be silently omitted from the result.</p>
<p>If this function fails, partial output may have been written to the sink.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sink</td><td>the output sink receiving the BCP47 language tag for this <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a>. </td></tr>
    <tr><td class="paramname">status</td><td>error information if creating the language tag failed. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000442">Stable:</a></b></dt><dd>ICU 63 </dd></dl>

</div>
</div>
<a id="a3210d878359655028e0366723c325970"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3210d878359655028e0366723c325970">&#9670;&nbsp;</a></span>toLanguageTag() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename StringClass &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">StringClass icu::Locale::toLanguageTag </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>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a well-formed language tag for this <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a>. </p>
<p><b>Note</b>: Any locale fields which do not satisfy the BCP47 syntax requirement will be silently omitted from the result.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td>error information if creating the language tag failed. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the BCP47 language tag for this <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a>. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable000443">Stable:</a></b></dt><dd>ICU 63 </dd></dl>

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

<p class="reference">References <a class="el" href="utypes_8h_source.html#l00748">U_FAILURE</a>.</p>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="a1b8bcbd6010e9e55481a99ad6c7dc0a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1b8bcbd6010e9e55481a99ad6c7dc0a0">&#9670;&nbsp;</a></span>locale_available_init</h2>

<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#_internal000056">Internal:</a></b></dt><dd>Do not use.</dd></dl>
<p>This API is for internal use only. (private)</p>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000050">Internal:</a></b></dt><dd>Do not use.</dd></dl>
<p>This API is for internal use only. </p>

</div>
</div>
<a id="a1bdd482a1250d42ddd88881d94aa304c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1bdd482a1250d42ddd88881d94aa304c">&#9670;&nbsp;</a></span>locale_set_default_internal</h2>

<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#_internal000055">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. (private) </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>common/unicode/<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="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>
© 2026 GrazzMean
Beegazpacho


Let’s  Start  Your  Online  Journey  with  Beegazpacho 

Welcome to Beegazpacho,
where creativity meets strategy,
and innovation drives success.


Contact
Now


OUR CLIENTS

WhatsApp-Image-2021-12-06.png
Untitled-design-11.png
niaf-logo.png
20220406-163308-scaled.jpg
karchi-logo.png
20220405-171252.png
20220405-171309.png
20220321-161603.png
20220321-161611.png
20220321-161628.png
20220321-161244.png
20220321-161256.png
20220321-161450.png
20220321-161205.png
20220226-170222.png
20220321-161051.png
20211202-170852.png
Untitled-design-9
pidilite-png-logo-colour
logo-black-e1706125740216-qisosldqhzgcaerhdt6n4t3m4s50jr0iik48z0h5vk
Fraikin-Dayim-logo-1
hpcl-logo-2-1
services

Transforming Ideas into
Success

.01
Digital Marketing

We drive growth through data-driven strategies and cutting-edge techniques.

Learn More

.02
SEO

Improve your online visibility and rank higher on search engines with our expert SEO services.

Learn More

.03
Website Designing

We design websites that are not only visually stunning but also user-centric, ensuring seamless navigation and enhanced user experience.

Learn More

.04
App Development

Our apps are crafted to be intuitive, engaging, and functional, providing your users with an exceptional mobile experience.

Learn More

.05
Social Media Ads

Target the right audience with precision and creativity to maximize engagement and conversions.

Learn More

.06
Google Ads

Maximize ROI with precision-targeted campaigns on Google’s powerful ad platform.

Learn More

.07
Google My Business

Optimize your local presence with strategies that put your business on the map and attract more customers.

Learn More

.08
Graphic Designing

Our designs tell your brand’s story in a visually compelling way.

Learn More

.09
3D Videos

Bring your product to life with immersive and dynamic 3D explainer videos.

Learn More

about BEEGAZPACHO

creating special Things
For special brands

Join the ranks of successful brands by partnering with Beegazpacho

00+

Happy Customer

00+

Continents

Our vision is not just to be a service provider but to be your partner in growth. We see ourselves as an extension of your team, working tirelessly to ensure that your brand not only meets its goals but surpasses them.

Explore
more

Our Recent Work

Crafted with Passion and Precision

Connect now


Web Design
Design, Development & Identity

Logo Design
Design, Development & Identity

Creative Brand design
Design, Development & Identity

Product Design Marketing
Design, Development & Identity

DIGITAL MARKETING
SEO
WEBSITE DESIGNING
APP DEVELOPMENT
SOCIAL MEDIA ADS
GOOGLE ADS
GOOGLE MY BUSINESS
GRAPHIC DESINING
3D VIDEOS
Client Stories

Hear It from Those Who Know Us Best

Our clients’ success stories speak volumes about our commitment to excellence. Don’t just take our word for it—hear directly from the brands we’ve partnered with. Their testimonials highlight our ability to bring visions to life and create a lasting impact on their businesses.

“Beegazpacho feels like an extension of our team. Their content marketing and social media expertise have elevated our brand. They listen, adapt, and always deliver on time. We look forward to continuing this partnership.”

— Sarah Williams

Head of Marketing, GreenPlanet Apparel

“Beegazpacho’s data-driven strategies helped us improve our online ads, optimize our website, and enhance branding. We’ve seen great ROI and increased visibility. Their professionalism is unmatched.”

— Arvind Shah

CEO, InnovateTech Solutions

“Partnering with Beegazpacho has been a game-changer for our brand. Their creative ad campaigns and SEO services have boosted our online presence and significantly increased leads and sales. We couldn’t ask for a better partner!”

— Rina Kapoor

Marketing Director, Luxury Home Interiors

“Beegazpacho feels like an extension of our team. Their content marketing and social media expertise have elevated our brand. They listen, adapt, and always deliver on time. We look forward to continuing this partnership.”

— Sarah Williams

Head of Marketing, GreenPlanet Apparel

“Beegazpacho’s data-driven strategies helped us improve our online ads, optimize our website, and enhance branding. We’ve seen great ROI and increased visibility. Their professionalism is unmatched.”

— Arvind Shah

CEO, InnovateTech Solutions

“Partnering with Beegazpacho has been a game-changer for our brand. Their creative ad campaigns and SEO services have boosted our online presence and significantly increased leads and sales. We couldn’t ask for a better partner!”

— Rina Kapoor

Marketing Director, Luxury Home Interiors