<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <title>ICU 52.1: tznames.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">ICU 52.1  <span id="projectnumber">52.1</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.1.2 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_73bc6a9bb617ea1bc89a10aa59ce84e4.html">i18n</a></li><li class="navelem"><a class="el" href="dir_0119ce638985e8a1561a00fdb5f76ff6.html">unicode</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">tznames.h</div> </div> </div><!--header--> <div class="contents"> <a href="tznames_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div> <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment">*******************************************************************************</span></div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment">* Copyright (C) 2011-2013, International Business Machines Corporation and *</span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment">* others. All Rights Reserved. *</span></div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment">*******************************************************************************</span></div> <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment">*/</span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="preprocessor">#ifndef __TZNAMES_H</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor"></span><span class="preprocessor">#define __TZNAMES_H</span></div> <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="preprocessor">#include "<a class="code" href="utypes_8h.html" title="Basic definitions for ICU, for both C and C++ APIs.">unicode/utypes.h</a>"</span></div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> </div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="preprocessor">#if !UCONFIG_NO_FORMATTING</span></div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor">#include "<a class="code" href="uloc_8h.html" title="C API: Locale.">unicode/uloc.h</a>"</span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include "<a class="code" href="unistr_8h.html" title="C++ API: Unicode String.">unicode/unistr.h</a>"</span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> </div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <a class="code" href="umachine_8h.html#a82c853d86803ab75c89267be54fbac6a" title="This is used to begin a declaration of a library private ICU C API.">U_CDECL_BEGIN</a></div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> </div> <div class="line"><a name="l00027"></a><span class="lineno"><a class="code" href="tznames_8h.html#a8fbf9ebf198c9ad6a217b010b5b75878"> 27</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="tznames_8h.html#a8fbf9ebf198c9ad6a217b010b5b75878" title="Constants for time zone display name types.">UTimeZoneNameType</a> {</div> <div class="line"><a name="l00032"></a><span class="lineno"><a class="code" href="tznames_8h.html#a8fbf9ebf198c9ad6a217b010b5b75878ade1f40cf4c60c21a5043b3fb143c76d8"> 32</a></span>  <a class="code" href="tznames_8h.html#a8fbf9ebf198c9ad6a217b010b5b75878ade1f40cf4c60c21a5043b3fb143c76d8" title="Unknown display name type.">UTZNM_UNKNOWN</a> = 0x00,</div> <div class="line"><a name="l00037"></a><span class="lineno"><a class="code" href="tznames_8h.html#a8fbf9ebf198c9ad6a217b010b5b75878a20ddc2d8b55e1769eb0d604d0884c4bd"> 37</a></span>  <a class="code" href="tznames_8h.html#a8fbf9ebf198c9ad6a217b010b5b75878a20ddc2d8b55e1769eb0d604d0884c4bd" title="Long display name, such as "Eastern Time".">UTZNM_LONG_GENERIC</a> = 0x01,</div> <div class="line"><a name="l00042"></a><span class="lineno"><a class="code" href="tznames_8h.html#a8fbf9ebf198c9ad6a217b010b5b75878acc2ff5ee68fad8181cfe835ffa095562"> 42</a></span>  <a class="code" href="tznames_8h.html#a8fbf9ebf198c9ad6a217b010b5b75878acc2ff5ee68fad8181cfe835ffa095562" title="Long display name for standard time, such as "Eastern Standard Time".">UTZNM_LONG_STANDARD</a> = 0x02,</div> <div class="line"><a name="l00047"></a><span class="lineno"><a class="code" href="tznames_8h.html#a8fbf9ebf198c9ad6a217b010b5b75878a498bcded80a85b32bbde16fa1067b205"> 47</a></span>  <a class="code" href="tznames_8h.html#a8fbf9ebf198c9ad6a217b010b5b75878a498bcded80a85b32bbde16fa1067b205" title="Long display name for daylight saving time, such as "Eastern Daylight Time".">UTZNM_LONG_DAYLIGHT</a> = 0x04,</div> <div class="line"><a name="l00052"></a><span class="lineno"><a class="code" href="tznames_8h.html#a8fbf9ebf198c9ad6a217b010b5b75878a5598fedb8f6e1ddf23537b5d7718a7fd"> 52</a></span>  <a class="code" href="tznames_8h.html#a8fbf9ebf198c9ad6a217b010b5b75878a5598fedb8f6e1ddf23537b5d7718a7fd" title="Short display name, such as "ET".">UTZNM_SHORT_GENERIC</a> = 0x08,</div> <div class="line"><a name="l00057"></a><span class="lineno"><a class="code" href="tznames_8h.html#a8fbf9ebf198c9ad6a217b010b5b75878a0a89052bafbc1c5e3f1987abfdb0bc6b"> 57</a></span>  <a class="code" href="tznames_8h.html#a8fbf9ebf198c9ad6a217b010b5b75878a0a89052bafbc1c5e3f1987abfdb0bc6b" title="Short display name for standard time, such as "EST".">UTZNM_SHORT_STANDARD</a> = 0x10,</div> <div class="line"><a name="l00062"></a><span class="lineno"><a class="code" href="tznames_8h.html#a8fbf9ebf198c9ad6a217b010b5b75878a2fd8f3197ccf77671817b5581035951e"> 62</a></span>  <a class="code" href="tznames_8h.html#a8fbf9ebf198c9ad6a217b010b5b75878a2fd8f3197ccf77671817b5581035951e" title="Short display name for daylight saving time, such as "EDT".">UTZNM_SHORT_DAYLIGHT</a> = 0x20,</div> <div class="line"><a name="l00063"></a><span class="lineno"> 63</span> <span class="preprocessor">#ifndef U_HIDE_DRAFT_API</span></div> <div class="line"><a name="l00064"></a><span class="lineno"> 64</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00068"></a><span class="lineno"><a class="code" href="tznames_8h.html#a8fbf9ebf198c9ad6a217b010b5b75878a7798ea42e550bf3b2b953d12d27d1cae"> 68</a></span>  <a class="code" href="tznames_8h.html#a8fbf9ebf198c9ad6a217b010b5b75878a7798ea42e550bf3b2b953d12d27d1cae" title="Exemplar location name, such as "Los Angeles".">UTZNM_EXEMPLAR_LOCATION</a> = 0x40</div> <div class="line"><a name="l00069"></a><span class="lineno"> 69</span> <span class="preprocessor">#endif </span><span class="comment">/* U_HIDE_DRAFT_API */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00070"></a><span class="lineno"> 70</span> <span class="preprocessor"></span>} <a class="code" href="tznames_8h.html#a8fbf9ebf198c9ad6a217b010b5b75878" title="Constants for time zone display name types.">UTimeZoneNameType</a>;</div> <div class="line"><a name="l00071"></a><span class="lineno"> 71</span> </div> <div class="line"><a name="l00072"></a><span class="lineno"> 72</span> <a class="code" href="umachine_8h.html#a1a820e5c6cbe8ac1742b654e6bf9ed7d" title="This is used to end a declaration of a library private ICU C API.">U_CDECL_END</a></div> <div class="line"><a name="l00073"></a><span class="lineno"> 73</span> </div> <div class="line"><a name="l00074"></a><span class="lineno"> 74</span> <a class="code" href="uversion_8h.html#a7d9374e037299886d4192b763b4c5e8b" title="This is used to begin a declaration of a public ICU C++ API.">U_NAMESPACE_BEGIN</a></div> <div class="line"><a name="l00075"></a><span class="lineno"> 75</span> </div> <div class="line"><a name="l00076"></a><span class="lineno"> 76</span> <span class="keyword">class </span>UVector;</div> <div class="line"><a name="l00077"></a><span class="lineno"> 77</span> <span class="keyword">struct </span>MatchInfo;</div> <div class="line"><a name="l00078"></a><span class="lineno"> 78</span> </div> <div class="line"><a name="l00129"></a><span class="lineno"><a class="code" href="classicu_1_1TimeZoneNames.html"> 129</a></span> <span class="keyword">class </span><a class="code" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a" title="Set to export library symbols from inside the i18n library, and to import them from outside...">U_I18N_API</a> <a class="code" href="classicu_1_1TimeZoneNames.html" title="TimeZoneNames is an abstract class representing the time zone display name data model defined by UTS#...">TimeZoneNames</a> : <span class="keyword">public</span> <a class="code" href="classicu_1_1UObject.html" title="UObject is the common ICU "boilerplate" class.">UObject</a> {</div> <div class="line"><a name="l00130"></a><span class="lineno"> 130</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00135"></a><span class="lineno"> 135</span>  <span class="keyword">virtual</span> ~<a class="code" href="classicu_1_1TimeZoneNames.html" title="TimeZoneNames is an abstract class representing the time zone display name data model defined by UTS#...">TimeZoneNames</a>();</div> <div class="line"><a name="l00136"></a><span class="lineno"> 136</span> </div> <div class="line"><a name="l00143"></a><span class="lineno"> 143</span>  <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> <a class="code" href="namespaceicu.html#a1c2f6ca43e636f38d1a3291eb851e9f0" title="Global operator == for StringPiece.">operator==</a>(<span class="keyword">const</span> <a class="code" href="classicu_1_1TimeZoneNames.html" title="TimeZoneNames is an abstract class representing the time zone display name data model defined by UTS#...">TimeZoneNames</a>& other) <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00144"></a><span class="lineno"> 144</span> </div> <div class="line"><a name="l00152"></a><span class="lineno"><a class="code" href="classicu_1_1TimeZoneNames.html#af513a94da52a98a5b85f658fd5a72d38"> 152</a></span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> <a class="code" href="classicu_1_1TimeZoneNames.html#af513a94da52a98a5b85f658fd5a72d38" title="Return true if the given TimeZoneNames objects are not semantically equal.">operator!=</a>(<span class="keyword">const</span> <a class="code" href="classicu_1_1TimeZoneNames.html" title="TimeZoneNames is an abstract class representing the time zone display name data model defined by UTS#...">TimeZoneNames</a>& other)<span class="keyword"> const </span>{ <span class="keywordflow">return</span> !<a class="code" href="namespaceicu.html#a1c2f6ca43e636f38d1a3291eb851e9f0" title="Global operator == for StringPiece.">operator==</a>(other); }</div> <div class="line"><a name="l00153"></a><span class="lineno"> 153</span> </div> <div class="line"><a name="l00160"></a><span class="lineno"> 160</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1TimeZoneNames.html" title="TimeZoneNames is an abstract class representing the time zone display name data model defined by UTS#...">TimeZoneNames</a>* clone() <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00161"></a><span class="lineno"> 161</span> </div> <div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <span class="keyword">static</span> <a class="code" href="classicu_1_1TimeZoneNames.html" title="TimeZoneNames is an abstract class representing the time zone display name data model defined by UTS#...">TimeZoneNames</a>* U_EXPORT2 createInstance(<span class="keyword">const</span> <a class="code" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a>& locale, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>& status);</div> <div class="line"><a name="l00171"></a><span class="lineno"> 171</span> </div> <div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1StringEnumeration.html" title="Base class for 'pure' C++ implementations of uenum api.">StringEnumeration</a>* getAvailableMetaZoneIDs(<a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>& status) <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00179"></a><span class="lineno"> 179</span> </div> <div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1StringEnumeration.html" title="Base class for 'pure' C++ implementations of uenum api.">StringEnumeration</a>* getAvailableMetaZoneIDs(<span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& tzID, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>& status) <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00188"></a><span class="lineno"> 188</span> </div> <div class="line"><a name="l00199"></a><span class="lineno"> 199</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& getMetaZoneID(<span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& tzID, <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> date, <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& mzID) <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00200"></a><span class="lineno"> 200</span> </div> <div class="line"><a name="l00217"></a><span class="lineno"> 217</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& getReferenceZoneID(<span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& mzID, <span class="keyword">const</span> <span class="keywordtype">char</span>* region, <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& tzID) <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00218"></a><span class="lineno"> 218</span> </div> <div class="line"><a name="l00229"></a><span class="lineno"> 229</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& getMetaZoneDisplayName(<span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& mzID, <a class="code" href="tznames_8h.html#a8fbf9ebf198c9ad6a217b010b5b75878" title="Constants for time zone display name types.">UTimeZoneNameType</a> type, <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& name) <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00230"></a><span class="lineno"> 230</span> </div> <div class="line"><a name="l00241"></a><span class="lineno"> 241</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& getTimeZoneDisplayName(<span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& tzID, <a class="code" href="tznames_8h.html#a8fbf9ebf198c9ad6a217b010b5b75878" title="Constants for time zone display name types.">UTimeZoneNameType</a> type, <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& name) <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00242"></a><span class="lineno"> 242</span> </div> <div class="line"><a name="l00262"></a><span class="lineno"> 262</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& getExemplarLocationName(<span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& tzID, <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& name) <span class="keyword">const</span>;</div> <div class="line"><a name="l00263"></a><span class="lineno"> 263</span> </div> <div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& getDisplayName(<span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& tzID, <a class="code" href="tznames_8h.html#a8fbf9ebf198c9ad6a217b010b5b75878" title="Constants for time zone display name types.">UTimeZoneNameType</a> type, <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> date, <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& name) <span class="keyword">const</span>;</div> <div class="line"><a name="l00280"></a><span class="lineno"> 280</span> </div> <div class="line"><a name="l00286"></a><span class="lineno"><a class="code" href="classicu_1_1TimeZoneNames_1_1MatchInfoCollection.html"> 286</a></span>  <span class="keyword">class </span><a class="code" href="utypes_8h.html#ab9d90a30137b6ec046fe59e79b09745a" title="Set to export library symbols from inside the i18n library, and to import them from outside...">U_I18N_API</a> <a class="code" href="classicu_1_1TimeZoneNames_1_1MatchInfoCollection.html" title="MatchInfoCollection represents a collection of time zone name matches used by TimeZoneNames#find.">MatchInfoCollection</a> : <span class="keyword">public</span> <a class="code" href="classicu_1_1UMemory.html" title="UMemory is the common ICU base class.">UMemory</a> {</div> <div class="line"><a name="l00287"></a><span class="lineno"> 287</span>  <span class="keyword">public</span>:</div> <div class="line"><a name="l00292"></a><span class="lineno"> 292</span>  <a class="code" href="classicu_1_1TimeZoneNames_1_1MatchInfoCollection.html" title="MatchInfoCollection represents a collection of time zone name matches used by TimeZoneNames#find.">MatchInfoCollection</a>();</div> <div class="line"><a name="l00297"></a><span class="lineno"> 297</span>  <span class="keyword">virtual</span> ~<a class="code" href="classicu_1_1TimeZoneNames_1_1MatchInfoCollection.html" title="MatchInfoCollection represents a collection of time zone name matches used by TimeZoneNames#find.">MatchInfoCollection</a>();</div> <div class="line"><a name="l00298"></a><span class="lineno"> 298</span> </div> <div class="line"><a name="l00299"></a><span class="lineno"> 299</span> <span class="preprocessor">#ifndef U_HIDE_INTERNAL_API</span></div> <div class="line"><a name="l00300"></a><span class="lineno"> 300</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00308"></a><span class="lineno"> 308</span>  <span class="keywordtype">void</span> addZone(<a class="code" href="tznames_8h.html#a8fbf9ebf198c9ad6a217b010b5b75878" title="Constants for time zone display name types.">UTimeZoneNameType</a> nameType, int32_t matchLength,</div> <div class="line"><a name="l00309"></a><span class="lineno"> 309</span>  <span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& tzID, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>& status);</div> <div class="line"><a name="l00310"></a><span class="lineno"> 310</span> </div> <div class="line"><a name="l00319"></a><span class="lineno"> 319</span>  <span class="keywordtype">void</span> addMetaZone(<a class="code" href="tznames_8h.html#a8fbf9ebf198c9ad6a217b010b5b75878" title="Constants for time zone display name types.">UTimeZoneNameType</a> nameType, int32_t matchLength,</div> <div class="line"><a name="l00320"></a><span class="lineno"> 320</span>  <span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& mzID, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>& status);</div> <div class="line"><a name="l00321"></a><span class="lineno"> 321</span> </div> <div class="line"><a name="l00327"></a><span class="lineno"> 327</span>  int32_t size() <span class="keyword">const</span>;</div> <div class="line"><a name="l00328"></a><span class="lineno"> 328</span> </div> <div class="line"><a name="l00337"></a><span class="lineno"> 337</span>  <a class="code" href="tznames_8h.html#a8fbf9ebf198c9ad6a217b010b5b75878" title="Constants for time zone display name types.">UTimeZoneNameType</a> getNameTypeAt(int32_t idx) <span class="keyword">const</span>;</div> <div class="line"><a name="l00338"></a><span class="lineno"> 338</span> </div> <div class="line"><a name="l00346"></a><span class="lineno"> 346</span>  int32_t getMatchLengthAt(int32_t idx) <span class="keyword">const</span>;</div> <div class="line"><a name="l00347"></a><span class="lineno"> 347</span> </div> <div class="line"><a name="l00355"></a><span class="lineno"> 355</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> getTimeZoneIDAt(int32_t idx, <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& tzID) <span class="keyword">const</span>;</div> <div class="line"><a name="l00356"></a><span class="lineno"> 356</span> </div> <div class="line"><a name="l00364"></a><span class="lineno"> 364</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> getMetaZoneIDAt(int32_t idx, <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& mzID) <span class="keyword">const</span>;</div> <div class="line"><a name="l00365"></a><span class="lineno"> 365</span> <span class="preprocessor">#endif </span><span class="comment">/* U_HIDE_INTERNAL_API */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00366"></a><span class="lineno"> 366</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00367"></a><span class="lineno"> 367</span>  <span class="keyword">private</span>:</div> <div class="line"><a name="l00368"></a><span class="lineno"> 368</span>  UVector* fMatches; <span class="comment">// vector of MatchEntry</span></div> <div class="line"><a name="l00369"></a><span class="lineno"> 369</span> </div> <div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  UVector* matches(<a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>& status);</div> <div class="line"><a name="l00371"></a><span class="lineno"> 371</span>  };</div> <div class="line"><a name="l00372"></a><span class="lineno"> 372</span> </div> <div class="line"><a name="l00386"></a><span class="lineno"> 386</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1TimeZoneNames_1_1MatchInfoCollection.html" title="MatchInfoCollection represents a collection of time zone name matches used by TimeZoneNames#find.">MatchInfoCollection</a>* find(<span class="keyword">const</span> <a class="code" href="classicu_1_1UnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& text, int32_t start, uint32_t types, <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c" title="Error code to replace exception handling, so that the code is compatible with all C++ compilers...">UErrorCode</a>& status) <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00387"></a><span class="lineno"> 387</span> };</div> <div class="line"><a name="l00388"></a><span class="lineno"> 388</span> </div> <div class="line"><a name="l00389"></a><span class="lineno"> 389</span> <a class="code" href="uversion_8h.html#a3da1f00f3b02976ac53c014a3e4c0933" title="This is used to end a declaration of a public ICU C++ API.">U_NAMESPACE_END</a></div> <div class="line"><a name="l00390"></a><span class="lineno"> 390</span> </div> <div class="line"><a name="l00391"></a><span class="lineno"> 391</span> <span class="preprocessor">#endif</span></div> <div class="line"><a name="l00392"></a><span class="lineno"> 392</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Fri Oct 4 2013 14:10:21 for ICU 52.1 by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.1.2 </small></address> </body> </html>