<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.3.1"/> <title>ICU 49.1.1: tzfmt.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 49.1.1  <span id="projectnumber">49.1.1</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.3.1 --> <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="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">tzfmt.h</div> </div> </div><!--header--> <div class="contents"> <a href="tzfmt_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-2012, 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 __TZFMT_H</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor"></span><span class="preprocessor">#define __TZFMT_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="l00015"></a><span class="lineno"> 15</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="l00016"></a><span class="lineno"> 16</span> </div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="preprocessor">#if !UCONFIG_NO_FORMATTING</span></div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="preprocessor"></span><span class="preprocessor">#ifndef U_HIDE_INTERNAL_API</span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include "<a class="code" href="format_8h.html" title="C++ API: Base class for all formats.">unicode/format.h</a>"</span></div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include "<a class="code" href="timezone_8h.html" title="C++ API: TimeZone object.">unicode/timezone.h</a>"</span></div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor">#include "<a class="code" href="tznames_8h.html" title="C++ API: TimeZoneNames.">unicode/tznames.h</a>"</span></div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> </div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</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="l00030"></a><span class="lineno"><a class="code" href="tzfmt_8h.html#a3dac1059745347e3c0c920e9f9d75800"> 30</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="tzfmt_8h.html#a3dac1059745347e3c0c920e9f9d75800" title="Constants for time zone display format style used by format/parse APIs in TimeZoneFormat.">UTimeZoneFormatStyle</a> {</div> <div class="line"><a name="l00035"></a><span class="lineno"><a class="code" href="tzfmt_8h.html#a3dac1059745347e3c0c920e9f9d75800add4272d4a2db6237f54db4f33842a074"> 35</a></span>  <a class="code" href="tzfmt_8h.html#a3dac1059745347e3c0c920e9f9d75800add4272d4a2db6237f54db4f33842a074" title="Generic location format, such as "United States Time (New York)", "Italy Time".">UTZFMT_STYLE_GENERIC_LOCATION</a>,</div> <div class="line"><a name="l00040"></a><span class="lineno"><a class="code" href="tzfmt_8h.html#a3dac1059745347e3c0c920e9f9d75800a70b44d144f5b2908aedfd70b339ec2f3"> 40</a></span>  <a class="code" href="tzfmt_8h.html#a3dac1059745347e3c0c920e9f9d75800a70b44d144f5b2908aedfd70b339ec2f3" title="Generic long non-location format, such as "Eastern Time".">UTZFMT_STYLE_GENERIC_LONG</a>,</div> <div class="line"><a name="l00045"></a><span class="lineno"><a class="code" href="tzfmt_8h.html#a3dac1059745347e3c0c920e9f9d75800af65ab4479e3766bdc9da3c8c98421e4f"> 45</a></span>  <a class="code" href="tzfmt_8h.html#a3dac1059745347e3c0c920e9f9d75800af65ab4479e3766bdc9da3c8c98421e4f" title="Generic short non-location format, such as "ET".">UTZFMT_STYLE_GENERIC_SHORT</a>,</div> <div class="line"><a name="l00050"></a><span class="lineno"><a class="code" href="tzfmt_8h.html#a3dac1059745347e3c0c920e9f9d75800afc20715c460cad0add99ca3482be9a03"> 50</a></span>  <a class="code" href="tzfmt_8h.html#a3dac1059745347e3c0c920e9f9d75800afc20715c460cad0add99ca3482be9a03" title="Specific long format, such as "Eastern Standard Time".">UTZFMT_STYLE_SPECIFIC_LONG</a>,</div> <div class="line"><a name="l00055"></a><span class="lineno"><a class="code" href="tzfmt_8h.html#a3dac1059745347e3c0c920e9f9d75800ae14e07c5f2f69206038fa50406c742ed"> 55</a></span>  <a class="code" href="tzfmt_8h.html#a3dac1059745347e3c0c920e9f9d75800ae14e07c5f2f69206038fa50406c742ed" title="Specific short format, such as "EST", "PDT".">UTZFMT_STYLE_SPECIFIC_SHORT</a>,</div> <div class="line"><a name="l00060"></a><span class="lineno"><a class="code" href="tzfmt_8h.html#a3dac1059745347e3c0c920e9f9d75800a7b0899907657e27667f9ff3b6e65bb19"> 60</a></span>  <a class="code" href="tzfmt_8h.html#a3dac1059745347e3c0c920e9f9d75800a7b0899907657e27667f9ff3b6e65bb19" title="RFC822 format, such as "-0500".">UTZFMT_STYLE_RFC822</a>,</div> <div class="line"><a name="l00065"></a><span class="lineno"><a class="code" href="tzfmt_8h.html#a3dac1059745347e3c0c920e9f9d75800a717306512833bc2529b1a26649f7790e"> 65</a></span>  <a class="code" href="tzfmt_8h.html#a3dac1059745347e3c0c920e9f9d75800a717306512833bc2529b1a26649f7790e" title="Localized GMT offset format, such as "GMT-05:00", "UTC+0100".">UTZFMT_STYLE_LOCALIZED_GMT</a>,</div> <div class="line"><a name="l00070"></a><span class="lineno"><a class="code" href="tzfmt_8h.html#a3dac1059745347e3c0c920e9f9d75800a34c76c942bc1f30932e7ae3ebfd88d69"> 70</a></span>  <a class="code" href="tzfmt_8h.html#a3dac1059745347e3c0c920e9f9d75800a34c76c942bc1f30932e7ae3ebfd88d69" title="ISO 8601 format (extended), such as "-05:00", "Z"(UTC)">UTZFMT_STYLE_ISO8601</a></div> <div class="line"><a name="l00071"></a><span class="lineno"> 71</span> } <a class="code" href="tzfmt_8h.html#a3dac1059745347e3c0c920e9f9d75800" title="Constants for time zone display format style used by format/parse APIs in TimeZoneFormat.">UTimeZoneFormatStyle</a>;</div> <div class="line"><a name="l00072"></a><span class="lineno"> 72</span> </div> <div class="line"><a name="l00077"></a><span class="lineno"><a class="code" href="tzfmt_8h.html#a358bf0a2a403f619f9df3e794b9d9900"> 77</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="tzfmt_8h.html#a358bf0a2a403f619f9df3e794b9d9900" title="Constants for GMT offset pattern types.">UTimeZoneFormatGMTOffsetPatternType</a> {</div> <div class="line"><a name="l00082"></a><span class="lineno"><a class="code" href="tzfmt_8h.html#a358bf0a2a403f619f9df3e794b9d9900a93255bbbc16e21110dd6a1c1031ac8a5"> 82</a></span>  <a class="code" href="tzfmt_8h.html#a358bf0a2a403f619f9df3e794b9d9900a93255bbbc16e21110dd6a1c1031ac8a5" title="Positive offset with hour and minute fields.">UTZFMT_PAT_POSITIVE_HM</a>,</div> <div class="line"><a name="l00087"></a><span class="lineno"><a class="code" href="tzfmt_8h.html#a358bf0a2a403f619f9df3e794b9d9900a3b4fd5222a9f80849b162d4c3b22e341"> 87</a></span>  <a class="code" href="tzfmt_8h.html#a358bf0a2a403f619f9df3e794b9d9900a3b4fd5222a9f80849b162d4c3b22e341" title="Positive offset with hour, minute and second fields.">UTZFMT_PAT_POSITIVE_HMS</a>,</div> <div class="line"><a name="l00092"></a><span class="lineno"><a class="code" href="tzfmt_8h.html#a358bf0a2a403f619f9df3e794b9d9900a31ffaa0e64457e3c67b1d40f686d03ef"> 92</a></span>  <a class="code" href="tzfmt_8h.html#a358bf0a2a403f619f9df3e794b9d9900a31ffaa0e64457e3c67b1d40f686d03ef" title="Negative offset with hour and minute fields.">UTZFMT_PAT_NEGATIVE_HM</a>,</div> <div class="line"><a name="l00097"></a><span class="lineno"><a class="code" href="tzfmt_8h.html#a358bf0a2a403f619f9df3e794b9d9900a509d3c122c6d51c4f5d933f87de8c364"> 97</a></span>  <a class="code" href="tzfmt_8h.html#a358bf0a2a403f619f9df3e794b9d9900a509d3c122c6d51c4f5d933f87de8c364" title="Negative offset with hour, minute and second fields.">UTZFMT_PAT_NEGATIVE_HMS</a></div> <div class="line"><a name="l00098"></a><span class="lineno"> 98</span> } <a class="code" href="tzfmt_8h.html#a358bf0a2a403f619f9df3e794b9d9900" title="Constants for GMT offset pattern types.">UTimeZoneFormatGMTOffsetPatternType</a>;</div> <div class="line"><a name="l00099"></a><span class="lineno"> 99</span> </div> <div class="line"><a name="l00105"></a><span class="lineno"><a class="code" href="tzfmt_8h.html#af339c4ae29aa56db8c0f6cef84a5f11e"> 105</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="tzfmt_8h.html#af339c4ae29aa56db8c0f6cef84a5f11e" title="Constants for time types used by TimeZoneFormat APIs for receiving time type (standard time...">UTimeZoneFormatTimeType</a> {</div> <div class="line"><a name="l00110"></a><span class="lineno"><a class="code" href="tzfmt_8h.html#af339c4ae29aa56db8c0f6cef84a5f11ea45eb4270c429d9dcbbe48b2cfbb816c7"> 110</a></span>  <a class="code" href="tzfmt_8h.html#af339c4ae29aa56db8c0f6cef84a5f11ea45eb4270c429d9dcbbe48b2cfbb816c7" title="Unknown.">UTZFMT_TIME_TYPE_UNKNOWN</a>,</div> <div class="line"><a name="l00115"></a><span class="lineno"><a class="code" href="tzfmt_8h.html#af339c4ae29aa56db8c0f6cef84a5f11eac9f765e0e3770df5be74693e33b5eb55"> 115</a></span>  <a class="code" href="tzfmt_8h.html#af339c4ae29aa56db8c0f6cef84a5f11eac9f765e0e3770df5be74693e33b5eb55" title="Standard time.">UTZFMT_TIME_TYPE_STANDARD</a>,</div> <div class="line"><a name="l00120"></a><span class="lineno"><a class="code" href="tzfmt_8h.html#af339c4ae29aa56db8c0f6cef84a5f11ea21ef310fc3ac5ac1ac038c4c364f4f6f"> 120</a></span>  <a class="code" href="tzfmt_8h.html#af339c4ae29aa56db8c0f6cef84a5f11ea21ef310fc3ac5ac1ac038c4c364f4f6f" title="Daylight saving time.">UTZFMT_TIME_TYPE_DAYLIGHT</a></div> <div class="line"><a name="l00121"></a><span class="lineno"> 121</span> } <a class="code" href="tzfmt_8h.html#af339c4ae29aa56db8c0f6cef84a5f11e" title="Constants for time types used by TimeZoneFormat APIs for receiving time type (standard time...">UTimeZoneFormatTimeType</a>;</div> <div class="line"><a name="l00122"></a><span class="lineno"> 122</span> </div> <div class="line"><a name="l00127"></a><span class="lineno"><a class="code" href="tzfmt_8h.html#a44bcd9b133233e9c54b420fa4da7371b"> 127</a></span> <span class="keyword">typedef</span> <span class="keyword">enum</span> <a class="code" href="tzfmt_8h.html#a44bcd9b133233e9c54b420fa4da7371b" title="Constants for parse option flags, used for specifying optional parse behavior.">UTimeZoneFormatParseOption</a> {</div> <div class="line"><a name="l00132"></a><span class="lineno"><a class="code" href="tzfmt_8h.html#a44bcd9b133233e9c54b420fa4da7371bacc1c5771eee2c2a56d8c70f6c7ffda4f"> 132</a></span>  <a class="code" href="tzfmt_8h.html#a44bcd9b133233e9c54b420fa4da7371bacc1c5771eee2c2a56d8c70f6c7ffda4f" title="No option.">UTZFMT_PARSE_OPTION_NONE</a> = 0x00,</div> <div class="line"><a name="l00139"></a><span class="lineno"><a class="code" href="tzfmt_8h.html#a44bcd9b133233e9c54b420fa4da7371ba7b2bfe189caf1a0712b33812b32c25b4"> 139</a></span>  <a class="code" href="tzfmt_8h.html#a44bcd9b133233e9c54b420fa4da7371ba7b2bfe189caf1a0712b33812b32c25b4" title="When a time zone display name is not found within a set of display names used for the specified style...">UTZFMT_PARSE_OPTION_ALL_STYLES</a> = 0x01</div> <div class="line"><a name="l00140"></a><span class="lineno"> 140</span> } <a class="code" href="tzfmt_8h.html#a44bcd9b133233e9c54b420fa4da7371b" title="Constants for parse option flags, used for specifying optional parse behavior.">UTimeZoneFormatParseOption</a>;</div> <div class="line"><a name="l00141"></a><span class="lineno"> 141</span> </div> <div class="line"><a name="l00142"></a><span class="lineno"> 142</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="l00143"></a><span class="lineno"> 143</span> </div> <div class="line"><a name="l00144"></a><span class="lineno"> 144</span> <span class="keyword">typedef</span> <span class="keywordtype">void</span> *<a class="code" href="uclean_8h.html#af125d56147c708c2d8ecc5327449c41d" title="An opaque pointer type that represents an ICU mutex.">UMTX</a>;</div> <div class="line"><a name="l00145"></a><span class="lineno"> 145</span> </div> <div class="line"><a name="l00146"></a><span class="lineno"> 146</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="l00147"></a><span class="lineno"> 147</span> </div> <div class="line"><a name="l00148"></a><span class="lineno"> 148</span> <span class="keyword">class </span>TimeZoneGenericNames;</div> <div class="line"><a name="l00149"></a><span class="lineno"> 149</span> <span class="keyword">class </span>UVector;</div> <div class="line"><a name="l00150"></a><span class="lineno"> 150</span> </div> <div class="line"><a name="l00166"></a><span class="lineno"><a class="code" href="classTimeZoneFormat.html"> 166</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="classTimeZoneFormat.html" title="TimeZoneFormat supports time zone display name formatting and parsing.">TimeZoneFormat</a> : <span class="keyword">public</span> <a class="code" href="classFormat.html" title="Base class for all formats.">Format</a> {</div> <div class="line"><a name="l00167"></a><span class="lineno"> 167</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00172"></a><span class="lineno"> 172</span>  <a class="code" href="classTimeZoneFormat.html" title="TimeZoneFormat supports time zone display name formatting and parsing.">TimeZoneFormat</a>(<span class="keyword">const</span> <a class="code" href="classTimeZoneFormat.html" title="TimeZoneFormat supports time zone display name formatting and parsing.">TimeZoneFormat</a>& other);</div> <div class="line"><a name="l00173"></a><span class="lineno"> 173</span> </div> <div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="keyword">virtual</span> ~<a class="code" href="classTimeZoneFormat.html" title="TimeZoneFormat supports time zone display name formatting and parsing.">TimeZoneFormat</a>();</div> <div class="line"><a name="l00179"></a><span class="lineno"> 179</span> </div> <div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <a class="code" href="classTimeZoneFormat.html" title="TimeZoneFormat supports time zone display name formatting and parsing.">TimeZoneFormat</a>& <a class="code" href="classFormat.html#a7a5276a88c488462eea3a508b71f4d9c">operator=</a>(<span class="keyword">const</span> <a class="code" href="classTimeZoneFormat.html" title="TimeZoneFormat supports time zone display name formatting and parsing.">TimeZoneFormat</a>& other);</div> <div class="line"><a name="l00185"></a><span class="lineno"> 185</span> </div> <div class="line"><a name="l00194"></a><span class="lineno"> 194</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="classFormat.html#ad9be7e8b7bef97013ff74ef1be3903a5" title="Return true if the given Format objects are semantically equal.">operator==</a>(<span class="keyword">const</span> <a class="code" href="classFormat.html" title="Base class for all formats.">Format</a>& other) <span class="keyword">const</span>;</div> <div class="line"><a name="l00195"></a><span class="lineno"> 195</span> </div> <div class="line"><a name="l00202"></a><span class="lineno"> 202</span>  <span class="keyword">virtual</span> <a class="code" href="classFormat.html" title="Base class for all formats.">Format</a>* <a class="code" href="classFormat.html#a4e7ebd5cfd390c35e2bda88257f8b51a" title="Clone this object polymorphically.">clone</a>() <span class="keyword">const</span>;</div> <div class="line"><a name="l00203"></a><span class="lineno"> 203</span> </div> <div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  <span class="keyword">static</span> <a class="code" href="classTimeZoneFormat.html" title="TimeZoneFormat supports time zone display name formatting and parsing.">TimeZoneFormat</a>* U_EXPORT2 createInstance(<span class="keyword">const</span> <a class="code" href="classLocale.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="l00213"></a><span class="lineno"> 213</span> </div> <div class="line"><a name="l00219"></a><span class="lineno"> 219</span>  <span class="keyword">const</span> <a class="code" href="classTimeZoneNames.html" title="TimeZoneNames is an abstract class representing the time zone display name data model defined by UTS#...">TimeZoneNames</a>* getTimeZoneNames() <span class="keyword">const</span>;</div> <div class="line"><a name="l00220"></a><span class="lineno"> 220</span> </div> <div class="line"><a name="l00228"></a><span class="lineno"> 228</span>  <span class="keywordtype">void</span> adoptTimeZoneNames(<a class="code" href="classTimeZoneNames.html" title="TimeZoneNames is an abstract class representing the time zone display name data model defined by UTS#...">TimeZoneNames</a> *tznames);</div> <div class="line"><a name="l00229"></a><span class="lineno"> 229</span> </div> <div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  <span class="keywordtype">void</span> setTimeZoneNames(<span class="keyword">const</span> <a class="code" href="classTimeZoneNames.html" title="TimeZoneNames is an abstract class representing the time zone display name data model defined by UTS#...">TimeZoneNames</a> &tznames);</div> <div class="line"><a name="l00236"></a><span class="lineno"> 236</span> </div> <div class="line"><a name="l00244"></a><span class="lineno"> 244</span>  <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& getGMTPattern(<a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& pattern) <span class="keyword">const</span>;</div> <div class="line"><a name="l00245"></a><span class="lineno"> 245</span> </div> <div class="line"><a name="l00254"></a><span class="lineno"> 254</span>  <span class="keywordtype">void</span> setGMTPattern(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& pattern, <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="l00255"></a><span class="lineno"> 255</span> </div> <div class="line"><a name="l00264"></a><span class="lineno"> 264</span>  <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& getGMTOffsetPattern(<a class="code" href="tzfmt_8h.html#a358bf0a2a403f619f9df3e794b9d9900" title="Constants for GMT offset pattern types.">UTimeZoneFormatGMTOffsetPatternType</a> type, <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& pattern) <span class="keyword">const</span>;</div> <div class="line"><a name="l00265"></a><span class="lineno"> 265</span> </div> <div class="line"><a name="l00274"></a><span class="lineno"> 274</span>  <span class="keywordtype">void</span> setGMTOffsetPattern(<a class="code" href="tzfmt_8h.html#a358bf0a2a403f619f9df3e794b9d9900" title="Constants for GMT offset pattern types.">UTimeZoneFormatGMTOffsetPatternType</a> type, <span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& pattern, <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="l00275"></a><span class="lineno"> 275</span> </div> <div class="line"><a name="l00282"></a><span class="lineno"> 282</span>  <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& getGMTOffsetDigits(<a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& digits) <span class="keyword">const</span>;</div> <div class="line"><a name="l00283"></a><span class="lineno"> 283</span> </div> <div class="line"><a name="l00290"></a><span class="lineno"> 290</span>  <span class="keywordtype">void</span> setGMTOffsetDigits(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& digits, <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="l00291"></a><span class="lineno"> 291</span> </div> <div class="line"><a name="l00298"></a><span class="lineno"> 298</span>  <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& getGMTZeroFormat(<a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& gmtZeroFormat) <span class="keyword">const</span>;</div> <div class="line"><a name="l00299"></a><span class="lineno"> 299</span> </div> <div class="line"><a name="l00306"></a><span class="lineno"> 306</span>  <span class="keywordtype">void</span> setGMTZeroFormat(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& gmtZeroFormat, <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="l00307"></a><span class="lineno"> 307</span> </div> <div class="line"><a name="l00315"></a><span class="lineno"> 315</span>  int32_t getDefaultParseOptions(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> <div class="line"><a name="l00316"></a><span class="lineno"> 316</span> </div> <div class="line"><a name="l00325"></a><span class="lineno"> 325</span>  <span class="keywordtype">void</span> setDefaultParseOptions(int32_t flags);</div> <div class="line"><a name="l00326"></a><span class="lineno"> 326</span> </div> <div class="line"><a name="l00336"></a><span class="lineno"> 336</span>  <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& formatOffsetRFC822(int32_t offset, <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& result, <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>;</div> <div class="line"><a name="l00337"></a><span class="lineno"> 337</span> </div> <div class="line"><a name="l00347"></a><span class="lineno"> 347</span>  <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& formatOffsetISO8601(int32_t offset, <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& result, <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>;</div> <div class="line"><a name="l00348"></a><span class="lineno"> 348</span> </div> <div class="line"><a name="l00364"></a><span class="lineno"> 364</span>  <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& formatOffsetLocalizedGMT(int32_t offset, <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& result, <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>;</div> <div class="line"><a name="l00365"></a><span class="lineno"> 365</span> </div> <div class="line"><a name="l00379"></a><span class="lineno"> 379</span>  <span class="keyword">virtual</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& <a class="code" href="classFormat.html#af3f0b157f07d6e9f908da69c99239600" title="Formats an object to produce a string.">format</a>(<a class="code" href="tzfmt_8h.html#a3dac1059745347e3c0c920e9f9d75800" title="Constants for time zone display format style used by format/parse APIs in TimeZoneFormat.">UTimeZoneFormatStyle</a> style, <span class="keyword">const</span> <a class="code" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings.">TimeZone</a>& tz, <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> date,</div> <div class="line"><a name="l00380"></a><span class="lineno"> 380</span>  <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& name, <a class="code" href="tzfmt_8h.html#af339c4ae29aa56db8c0f6cef84a5f11e" title="Constants for time types used by TimeZoneFormat APIs for receiving time type (standard time...">UTimeZoneFormatTimeType</a>* timeType = <a class="code" href="utypes_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4" title="Define NULL if necessary, to 0 for C++ and to ((void *)0) for C.">NULL</a>) <span class="keyword">const</span>;</div> <div class="line"><a name="l00381"></a><span class="lineno"> 381</span> </div> <div class="line"><a name="l00395"></a><span class="lineno"> 395</span>  int32_t parseOffsetRFC822(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& text, <a class="code" href="classParsePosition.html" title="ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...">ParsePosition</a>& pos) <span class="keyword">const</span>;</div> <div class="line"><a name="l00396"></a><span class="lineno"> 396</span> </div> <div class="line"><a name="l00410"></a><span class="lineno"> 410</span>  int32_t parseOffsetISO8601(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& text, <a class="code" href="classParsePosition.html" title="ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...">ParsePosition</a>& pos) <span class="keyword">const</span>;</div> <div class="line"><a name="l00411"></a><span class="lineno"> 411</span> </div> <div class="line"><a name="l00424"></a><span class="lineno"> 424</span>  int32_t parseOffsetLocalizedGMT(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& text, <a class="code" href="classParsePosition.html" title="ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...">ParsePosition</a>& pos) <span class="keyword">const</span>;</div> <div class="line"><a name="l00425"></a><span class="lineno"> 425</span> </div> <div class="line"><a name="l00442"></a><span class="lineno"> 442</span>  <span class="keyword">virtual</span> <a class="code" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings.">TimeZone</a>* parse(<a class="code" href="tzfmt_8h.html#a3dac1059745347e3c0c920e9f9d75800" title="Constants for time zone display format style used by format/parse APIs in TimeZoneFormat.">UTimeZoneFormatStyle</a> style, <span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& text, <a class="code" href="classParsePosition.html" title="ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...">ParsePosition</a>& pos,</div> <div class="line"><a name="l00443"></a><span class="lineno"> 443</span>  int32_t parseOptions, <a class="code" href="tzfmt_8h.html#af339c4ae29aa56db8c0f6cef84a5f11e" title="Constants for time types used by TimeZoneFormat APIs for receiving time type (standard time...">UTimeZoneFormatTimeType</a>* timeType = <a class="code" href="utypes_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4" title="Define NULL if necessary, to 0 for C++ and to ((void *)0) for C.">NULL</a>) <span class="keyword">const</span>;</div> <div class="line"><a name="l00444"></a><span class="lineno"> 444</span> </div> <div class="line"><a name="l00460"></a><span class="lineno"> 460</span>  <a class="code" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings.">TimeZone</a>* parse(<a class="code" href="tzfmt_8h.html#a3dac1059745347e3c0c920e9f9d75800" title="Constants for time zone display format style used by format/parse APIs in TimeZoneFormat.">UTimeZoneFormatStyle</a> style, <span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& text, <a class="code" href="classParsePosition.html" title="ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...">ParsePosition</a>& pos,</div> <div class="line"><a name="l00461"></a><span class="lineno"> 461</span>  <a class="code" href="tzfmt_8h.html#af339c4ae29aa56db8c0f6cef84a5f11e" title="Constants for time types used by TimeZoneFormat APIs for receiving time type (standard time...">UTimeZoneFormatTimeType</a>* timeType = <a class="code" href="utypes_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4" title="Define NULL if necessary, to 0 for C++ and to ((void *)0) for C.">NULL</a>) <span class="keyword">const</span>;</div> <div class="line"><a name="l00462"></a><span class="lineno"> 462</span> </div> <div class="line"><a name="l00463"></a><span class="lineno"> 463</span>  <span class="comment">/* ----------------------------------------------</span></div> <div class="line"><a name="l00464"></a><span class="lineno"> 464</span> <span class="comment"> * Format APIs</span></div> <div class="line"><a name="l00465"></a><span class="lineno"> 465</span> <span class="comment"> * ---------------------------------------------- */</span></div> <div class="line"><a name="l00466"></a><span class="lineno"> 466</span> </div> <div class="line"><a name="l00478"></a><span class="lineno"> 478</span>  <span class="keyword">virtual</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& <a class="code" href="classFormat.html#af3f0b157f07d6e9f908da69c99239600" title="Formats an object to produce a string.">format</a>(<span class="keyword">const</span> <a class="code" href="classFormattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a>& obj, <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& appendTo,</div> <div class="line"><a name="l00479"></a><span class="lineno"> 479</span>  <a class="code" href="classFieldPosition.html" title="FieldPosition is a simple class used by Format and its subclasses to identify fields in formatted out...">FieldPosition</a>& pos, <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>;</div> <div class="line"><a name="l00480"></a><span class="lineno"> 480</span> </div> <div class="line"><a name="l00493"></a><span class="lineno"> 493</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classFormat.html#aa53bea97b986c2f21e5638aa30aa08b7" title="Parse a string to produce an object.">parseObject</a>(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& source, <a class="code" href="classFormattable.html" title="Formattable objects can be passed to the Format class or its subclasses for formatting.">Formattable</a>& result, <a class="code" href="classParsePosition.html" title="ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...">ParsePosition</a>& parse_pos) <span class="keyword">const</span>;</div> <div class="line"><a name="l00494"></a><span class="lineno"> 494</span> </div> <div class="line"><a name="l00499"></a><span class="lineno"> 499</span>  <span class="keyword">static</span> <a class="code" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f" title="UClassID is used to identify classes without using the compiler's RTTI.">UClassID</a> U_EXPORT2 getStaticClassID(<span class="keywordtype">void</span>);</div> <div class="line"><a name="l00500"></a><span class="lineno"> 500</span> </div> <div class="line"><a name="l00505"></a><span class="lineno"> 505</span>  <span class="keyword">virtual</span> <a class="code" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f" title="UClassID is used to identify classes without using the compiler's RTTI.">UClassID</a> <a class="code" href="classUObject.html#a9b1acc95efd89cb86ec31f2dc947a262" title="ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class.">getDynamicClassID</a>() <span class="keyword">const</span>;</div> <div class="line"><a name="l00506"></a><span class="lineno"> 506</span> </div> <div class="line"><a name="l00507"></a><span class="lineno"> 507</span> <span class="keyword">protected</span>:</div> <div class="line"><a name="l00514"></a><span class="lineno"> 514</span>  <a class="code" href="classTimeZoneFormat.html" title="TimeZoneFormat supports time zone display name formatting and parsing.">TimeZoneFormat</a>(<span class="keyword">const</span> <a class="code" href="classLocale.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="l00515"></a><span class="lineno"> 515</span> </div> <div class="line"><a name="l00516"></a><span class="lineno"> 516</span> <span class="keyword">private</span>:</div> <div class="line"><a name="l00517"></a><span class="lineno"> 517</span>  <span class="comment">/* mutex */</span></div> <div class="line"><a name="l00518"></a><span class="lineno"> 518</span>  <a class="code" href="uclean_8h.html#af125d56147c708c2d8ecc5327449c41d" title="An opaque pointer type that represents an ICU mutex.">UMTX</a> fLock;</div> <div class="line"><a name="l00519"></a><span class="lineno"> 519</span> </div> <div class="line"><a name="l00520"></a><span class="lineno"> 520</span>  <span class="comment">/* Locale of this object */</span></div> <div class="line"><a name="l00521"></a><span class="lineno"> 521</span>  <a class="code" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region.">Locale</a> fLocale;</div> <div class="line"><a name="l00522"></a><span class="lineno"> 522</span> </div> <div class="line"><a name="l00523"></a><span class="lineno"> 523</span>  <span class="comment">/* Stores the region (could be implicit default) */</span> </div> <div class="line"><a name="l00524"></a><span class="lineno"> 524</span>  <span class="keywordtype">char</span> fTargetRegion[<a class="code" href="uloc_8h.html#a356983b956cf3cb61e5d5ed0cd296385" title="Useful constant for the maximum size of the country part of a locale ID (including the terminating NU...">ULOC_COUNTRY_CAPACITY</a>];</div> <div class="line"><a name="l00525"></a><span class="lineno"> 525</span> </div> <div class="line"><a name="l00526"></a><span class="lineno"> 526</span>  <span class="comment">/* TimeZoneNames object used by this formatter */</span></div> <div class="line"><a name="l00527"></a><span class="lineno"> 527</span>  <a class="code" href="classTimeZoneNames.html" title="TimeZoneNames is an abstract class representing the time zone display name data model defined by UTS#...">TimeZoneNames</a>* fTimeZoneNames;</div> <div class="line"><a name="l00528"></a><span class="lineno"> 528</span> </div> <div class="line"><a name="l00529"></a><span class="lineno"> 529</span>  <span class="comment">/* TimeZoneGenericNames object used by this formatter - lazily instantiated */</span></div> <div class="line"><a name="l00530"></a><span class="lineno"> 530</span>  TimeZoneGenericNames* fTimeZoneGenericNames;</div> <div class="line"><a name="l00531"></a><span class="lineno"> 531</span> </div> <div class="line"><a name="l00532"></a><span class="lineno"> 532</span>  <span class="comment">/* Localized GMT format pattern - e.g. "GMT{0}" */</span></div> <div class="line"><a name="l00533"></a><span class="lineno"> 533</span>  <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> fGMTPattern;</div> <div class="line"><a name="l00534"></a><span class="lineno"> 534</span> </div> <div class="line"><a name="l00535"></a><span class="lineno"> 535</span>  <span class="comment">/* Array of offset patterns used by Localized GMT format - e.g. "+HH:mm" */</span></div> <div class="line"><a name="l00536"></a><span class="lineno"> 536</span>  <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> fGMTOffsetPatterns[<a class="code" href="tzfmt_8h.html#a358bf0a2a403f619f9df3e794b9d9900a509d3c122c6d51c4f5d933f87de8c364" title="Negative offset with hour, minute and second fields.">UTZFMT_PAT_NEGATIVE_HMS</a> + 1];</div> <div class="line"><a name="l00537"></a><span class="lineno"> 537</span> </div> <div class="line"><a name="l00538"></a><span class="lineno"> 538</span>  <span class="comment">/* Localized decimal digits used by Localized GMT format */</span></div> <div class="line"><a name="l00539"></a><span class="lineno"> 539</span>  <a class="code" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809" title="Define UChar32 as a type for single Unicode code points.">UChar32</a> fGMTOffsetDigits[10];</div> <div class="line"><a name="l00540"></a><span class="lineno"> 540</span> </div> <div class="line"><a name="l00541"></a><span class="lineno"> 541</span>  <span class="comment">/* Localized GMT zero format - e.g. "GMT" */</span></div> <div class="line"><a name="l00542"></a><span class="lineno"> 542</span>  <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> fGMTZeroFormat;</div> <div class="line"><a name="l00543"></a><span class="lineno"> 543</span> </div> <div class="line"><a name="l00544"></a><span class="lineno"> 544</span>  <span class="comment">/* Bit flags representing parse options */</span></div> <div class="line"><a name="l00545"></a><span class="lineno"> 545</span>  int32_t fDefParseOptionFlags;</div> <div class="line"><a name="l00546"></a><span class="lineno"> 546</span> </div> <div class="line"><a name="l00547"></a><span class="lineno"> 547</span>  <span class="comment">/* Constant parts of GMT format pattern, populated from localized GMT format pattern*/</span></div> <div class="line"><a name="l00548"></a><span class="lineno"> 548</span>  <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> fGMTPatternPrefix; <span class="comment">/* Substring before {0} */</span></div> <div class="line"><a name="l00549"></a><span class="lineno"> 549</span>  <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> fGMTPatternSuffix; <span class="comment">/* Substring after {0} */</span></div> <div class="line"><a name="l00550"></a><span class="lineno"> 550</span> </div> <div class="line"><a name="l00551"></a><span class="lineno"> 551</span>  <span class="comment">/* Compiled offset patterns generated from fGMTOffsetPatterns[] */</span></div> <div class="line"><a name="l00552"></a><span class="lineno"> 552</span>  UVector* fGMTOffsetPatternItems[<a class="code" href="tzfmt_8h.html#a358bf0a2a403f619f9df3e794b9d9900a509d3c122c6d51c4f5d933f87de8c364" title="Negative offset with hour, minute and second fields.">UTZFMT_PAT_NEGATIVE_HMS</a> + 1];</div> <div class="line"><a name="l00553"></a><span class="lineno"> 553</span> </div> <div class="line"><a name="l00564"></a><span class="lineno"> 564</span>  <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& formatSpecific(<span class="keyword">const</span> <a class="code" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings.">TimeZone</a>& tz, <a class="code" href="tznames_8h.html#a8fbf9ebf198c9ad6a217b010b5b75878" title="Constants for time zone display name types.">UTimeZoneNameType</a> stdType, <a class="code" href="tznames_8h.html#a8fbf9ebf198c9ad6a217b010b5b75878" title="Constants for time zone display name types.">UTimeZoneNameType</a> dstType,</div> <div class="line"><a name="l00565"></a><span class="lineno"> 565</span>  <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> date, <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& name, <a class="code" href="tzfmt_8h.html#af339c4ae29aa56db8c0f6cef84a5f11e" title="Constants for time types used by TimeZoneFormat APIs for receiving time type (standard time...">UTimeZoneFormatTimeType</a> *timeType) <span class="keyword">const</span>;</div> <div class="line"><a name="l00566"></a><span class="lineno"> 566</span> </div> <div class="line"><a name="l00575"></a><span class="lineno"> 575</span>  <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& formatGeneric(<span class="keyword">const</span> <a class="code" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings.">TimeZone</a>& tz, int32_t genType, <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> date, <a class="code" href="classUnicodeString.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="l00576"></a><span class="lineno"> 576</span> </div> <div class="line"><a name="l00582"></a><span class="lineno"> 582</span>  <span class="keyword">const</span> TimeZoneGenericNames* getTimeZoneGenericNames(<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>;</div> <div class="line"><a name="l00583"></a><span class="lineno"> 583</span> </div> <div class="line"><a name="l00587"></a><span class="lineno"> 587</span>  <span class="keyword">enum</span> OffsetFields {</div> <div class="line"><a name="l00588"></a><span class="lineno"> 588</span>  FIELDS_H,</div> <div class="line"><a name="l00589"></a><span class="lineno"> 589</span>  FIELDS_HM,</div> <div class="line"><a name="l00590"></a><span class="lineno"> 590</span>  FIELDS_HMS</div> <div class="line"><a name="l00591"></a><span class="lineno"> 591</span>  };</div> <div class="line"><a name="l00592"></a><span class="lineno"> 592</span> </div> <div class="line"><a name="l00600"></a><span class="lineno"> 600</span>  <span class="keywordtype">void</span> initGMTPattern(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& gmtPattern, <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="l00601"></a><span class="lineno"> 601</span> </div> <div class="line"><a name="l00610"></a><span class="lineno"> 610</span>  <span class="keyword">static</span> UVector* parseOffsetPattern(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& pattern, OffsetFields required, <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="l00611"></a><span class="lineno"> 611</span> </div> <div class="line"><a name="l00619"></a><span class="lineno"> 619</span>  <span class="keyword">static</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& expandOffsetPattern(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& offsetHM, <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& result);</div> <div class="line"><a name="l00620"></a><span class="lineno"> 620</span> </div> <div class="line"><a name="l00631"></a><span class="lineno"> 631</span>  <span class="keyword">static</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> toCodePoints(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& str, <a class="code" href="umachine_8h.html#a09fff5c3b5a5b015324dc3ec3cf92809" title="Define UChar32 as a type for single Unicode code points.">UChar32</a>* codeArray, int32_t capacity);</div> <div class="line"><a name="l00632"></a><span class="lineno"> 632</span> </div> <div class="line"><a name="l00647"></a><span class="lineno"> 647</span>  int32_t parseOffsetISO8601(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& text, <a class="code" href="classParsePosition.html" title="ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...">ParsePosition</a>& pos, <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> extendedOnly,</div> <div class="line"><a name="l00648"></a><span class="lineno"> 648</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a>* hasDigitOffset = <a class="code" href="utypes_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4" title="Define NULL if necessary, to 0 for C++ and to ((void *)0) for C.">NULL</a>) <span class="keyword">const</span>;</div> <div class="line"><a name="l00649"></a><span class="lineno"> 649</span> </div> <div class="line"><a name="l00657"></a><span class="lineno"> 657</span>  <span class="keywordtype">void</span> appendOffsetDigits(<a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& buf, int32_t n, uint8_t minDigits) <span class="keyword">const</span>;</div> <div class="line"><a name="l00658"></a><span class="lineno"> 658</span> </div> <div class="line"><a name="l00670"></a><span class="lineno"> 670</span>  int32_t parseOffsetLocalizedGMT(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& text, <a class="code" href="classParsePosition.html" title="ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...">ParsePosition</a>& pos,</div> <div class="line"><a name="l00671"></a><span class="lineno"> 671</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a>* hasDigitOffset) <span class="keyword">const</span>;</div> <div class="line"><a name="l00672"></a><span class="lineno"> 672</span> </div> <div class="line"><a name="l00681"></a><span class="lineno"> 681</span>  int32_t parseOffsetFields(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& text, int32_t start, <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> minimumHourWidth,</div> <div class="line"><a name="l00682"></a><span class="lineno"> 682</span>  int32_t& parsedLen) <span class="keyword">const</span>;</div> <div class="line"><a name="l00683"></a><span class="lineno"> 683</span> </div> <div class="line"><a name="l00691"></a><span class="lineno"> 691</span>  int32_t parseAbuttingOffsetFields(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& text, int32_t start, int32_t& parsedLen) <span class="keyword">const</span>;</div> <div class="line"><a name="l00692"></a><span class="lineno"> 692</span> </div> <div class="line"><a name="l00700"></a><span class="lineno"> 700</span>  int32_t parseOffsetDefaultLocalizedGMT(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& text, <span class="keywordtype">int</span> start, int32_t& parsedLen) <span class="keyword">const</span>;</div> <div class="line"><a name="l00701"></a><span class="lineno"> 701</span> </div> <div class="line"><a name="l00710"></a><span class="lineno"> 710</span>  int32_t parseDefaultOffsetFields(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& text, int32_t start, <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be char16_t, if available, or wchar_t if that is 16 bits wide; always assumed to be u...">UChar</a> separator,</div> <div class="line"><a name="l00711"></a><span class="lineno"> 711</span>  int32_t& parsedLen) <span class="keyword">const</span>;</div> <div class="line"><a name="l00712"></a><span class="lineno"> 712</span> </div> <div class="line"><a name="l00727"></a><span class="lineno"> 727</span>  int32_t parseOffsetFieldWithLocalizedDigits(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& text, int32_t start,</div> <div class="line"><a name="l00728"></a><span class="lineno"> 728</span>  uint8_t minDigits, uint8_t maxDigits, uint16_t minVal, uint16_t maxVal, int32_t& parsedLen) <span class="keyword">const</span>;</div> <div class="line"><a name="l00729"></a><span class="lineno"> 729</span> </div> <div class="line"><a name="l00739"></a><span class="lineno"> 739</span>  int32_t parseSingleLocalizedDigit(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& text, int32_t start, int32_t& len) <span class="keyword">const</span>;</div> <div class="line"><a name="l00740"></a><span class="lineno"> 740</span> </div> <div class="line"><a name="l00750"></a><span class="lineno"> 750</span>  <span class="keyword">static</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& formatOffsetWithAsciiDigits(int32_t offset, <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be char16_t, if available, or wchar_t if that is 16 bits wide; always assumed to be u...">UChar</a> sep,</div> <div class="line"><a name="l00751"></a><span class="lineno"> 751</span>  OffsetFields minFields, OffsetFields maxFields, <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& result);</div> <div class="line"><a name="l00752"></a><span class="lineno"> 752</span> </div> <div class="line"><a name="l00765"></a><span class="lineno"> 765</span>  <span class="keyword">static</span> int32_t parseAbuttingAsciiOffsetFields(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& text, <a class="code" href="classParsePosition.html" title="ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...">ParsePosition</a>& pos,</div> <div class="line"><a name="l00766"></a><span class="lineno"> 766</span>  OffsetFields minFields, OffsetFields maxFields, <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> fixedHourWidth);</div> <div class="line"><a name="l00767"></a><span class="lineno"> 767</span> </div> <div class="line"><a name="l00781"></a><span class="lineno"> 781</span>  <span class="keyword">static</span> int32_t parseAsciiOffsetFields(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& text, <a class="code" href="classParsePosition.html" title="ParsePosition is a simple class used by Format and its subclasses to keep track of the current positi...">ParsePosition</a>& pos, <a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac" title="Define UChar to be char16_t, if available, or wchar_t if that is 16 bits wide; always assumed to be u...">UChar</a> sep,</div> <div class="line"><a name="l00782"></a><span class="lineno"> 782</span>  OffsetFields minFields, OffsetFields maxFields, <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> fixedHourWidth);</div> <div class="line"><a name="l00783"></a><span class="lineno"> 783</span> </div> <div class="line"><a name="l00790"></a><span class="lineno"> 790</span>  <span class="keyword">static</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& unquote(<span class="keyword">const</span> <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& pattern, <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& result);</div> <div class="line"><a name="l00791"></a><span class="lineno"> 791</span> </div> <div class="line"><a name="l00797"></a><span class="lineno"> 797</span>  <span class="keywordtype">void</span> initGMTOffsetPatterns(<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="l00798"></a><span class="lineno"> 798</span> </div> <div class="line"><a name="l00804"></a><span class="lineno"> 804</span>  <a class="code" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings.">TimeZone</a>* createTimeZoneForOffset(int32_t offset) <span class="keyword">const</span>;</div> <div class="line"><a name="l00805"></a><span class="lineno"> 805</span> </div> <div class="line"><a name="l00811"></a><span class="lineno"> 811</span>  <span class="keyword">static</span> <a class="code" href="tzfmt_8h.html#af339c4ae29aa56db8c0f6cef84a5f11e" title="Constants for time types used by TimeZoneFormat APIs for receiving time type (standard time...">UTimeZoneFormatTimeType</a> getTimeType(<a class="code" href="tznames_8h.html#a8fbf9ebf198c9ad6a217b010b5b75878" title="Constants for time zone display name types.">UTimeZoneNameType</a> nameType);</div> <div class="line"><a name="l00812"></a><span class="lineno"> 812</span> </div> <div class="line"><a name="l00813"></a><span class="lineno"> 813</span>  <span class="comment">/*</span></div> <div class="line"><a name="l00814"></a><span class="lineno"> 814</span> <span class="comment"> * Returns the time zone ID of a match at the specified index within</span></div> <div class="line"><a name="l00815"></a><span class="lineno"> 815</span> <span class="comment"> * the MatchInfoCollection.</span></div> <div class="line"><a name="l00816"></a><span class="lineno"> 816</span> <span class="comment"> * @param matches the collection of matches</span></div> <div class="line"><a name="l00817"></a><span class="lineno"> 817</span> <span class="comment"> * @param idx the index withing matches</span></div> <div class="line"><a name="l00818"></a><span class="lineno"> 818</span> <span class="comment"> * @param tzID receives the resolved time zone ID</span></div> <div class="line"><a name="l00819"></a><span class="lineno"> 819</span> <span class="comment"> * @return a reference to tzID.</span></div> <div class="line"><a name="l00820"></a><span class="lineno"> 820</span> <span class="comment"> */</span></div> <div class="line"><a name="l00821"></a><span class="lineno"> 821</span>  <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& getTimeZoneID(<span class="keyword">const</span> <a class="code" href="classTimeZoneNames_1_1MatchInfoCollection.html" title="MatchInfoCollection represents a collection of time zone name matches used by TimeZoneNames#find.">TimeZoneNames::MatchInfoCollection</a>* matches, int32_t idx, <a class="code" href="classUnicodeString.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="l00822"></a><span class="lineno"> 822</span> };</div> <div class="line"><a name="l00823"></a><span class="lineno"> 823</span> </div> <div class="line"><a name="l00824"></a><span class="lineno"> 824</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="l00825"></a><span class="lineno"> 825</span> </div> <div class="line"><a name="l00826"></a><span class="lineno"> 826</span> <span class="preprocessor">#endif </span><span class="comment">/* U_HIDE_INTERNAL_API */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00827"></a><span class="lineno"> 827</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div> <div class="line"><a name="l00828"></a><span class="lineno"> 828</span> <span class="preprocessor"></span><span class="preprocessor">#endif</span></div> <div class="line"><a name="l00829"></a><span class="lineno"> 829</span> <span class="preprocessor"></span></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.3.1 </small></address> </body> </html>