<!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: vtzone.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">vtzone.h</div> </div> </div><!--header--> <div class="contents"> <a href="vtzone_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) 2007-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 VTZONE_H</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor"></span><span class="preprocessor">#define VTZONE_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="l00010"></a><span class="lineno"> 10</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="l00011"></a><span class="lineno"> 11</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></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include "<a class="code" href="basictz_8h.html" title="C++ API: ICU TimeZone base class.">unicode/basictz.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="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="l00022"></a><span class="lineno"> 22</span> </div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="keyword">class </span>VTZWriter;</div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="keyword">class </span>VTZReader;</div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> <span class="keyword">class </span>UVector;</div> <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> </div> <div class="line"><a name="l00041"></a><span class="lineno"><a class="code" href="classicu_1_1VTimeZone.html"> 41</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_1VTimeZone.html" title="VTimeZone is a class implementing RFC2445 VTIMEZONE.">VTimeZone</a> : <span class="keyword">public</span> <a class="code" href="classicu_1_1BasicTimeZone.html" title="BasicTimeZone is an abstract class extending TimeZone.">BasicTimeZone</a> {</div> <div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00048"></a><span class="lineno"> 48</span>  <a class="code" href="classicu_1_1VTimeZone.html" title="VTimeZone is a class implementing RFC2445 VTIMEZONE.">VTimeZone</a>(<span class="keyword">const</span> <a class="code" href="classicu_1_1VTimeZone.html" title="VTimeZone is a class implementing RFC2445 VTIMEZONE.">VTimeZone</a>& source);</div> <div class="line"><a name="l00049"></a><span class="lineno"> 49</span> </div> <div class="line"><a name="l00054"></a><span class="lineno"> 54</span>  <span class="keyword">virtual</span> ~<a class="code" href="classicu_1_1VTimeZone.html" title="VTimeZone is a class implementing RFC2445 VTIMEZONE.">VTimeZone</a>();</div> <div class="line"><a name="l00055"></a><span class="lineno"> 55</span> </div> <div class="line"><a name="l00061"></a><span class="lineno"> 61</span>  <a class="code" href="classicu_1_1VTimeZone.html" title="VTimeZone is a class implementing RFC2445 VTIMEZONE.">VTimeZone</a>& <a class="code" href="classicu_1_1TimeZone.html#a7b3f170ef0dc76e81249898960b787ba" title="Default assignment operator.">operator=</a>(<span class="keyword">const</span> <a class="code" href="classicu_1_1VTimeZone.html" title="VTimeZone is a class implementing RFC2445 VTIMEZONE.">VTimeZone</a>& right);</div> <div class="line"><a name="l00062"></a><span class="lineno"> 62</span> </div> <div class="line"><a name="l00071"></a><span class="lineno"> 71</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="classicu_1_1TimeZone.html#a8c2b510e0d3d56ccc00de547b39efa80" title="Returns true if the two TimeZones are equal.">operator==</a>(<span class="keyword">const</span> <a class="code" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings.">TimeZone</a>& that) <span class="keyword">const</span>;</div> <div class="line"><a name="l00072"></a><span class="lineno"> 72</span> </div> <div class="line"><a name="l00081"></a><span class="lineno"> 81</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="classicu_1_1TimeZone.html#aeb82ab341bda5d2ad69df3b5684f70c1" title="Returns true if the two TimeZones are NOT equal; that is, if operator==() returns false...">operator!=</a>(<span class="keyword">const</span> <a class="code" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings.">TimeZone</a>& that) <span class="keyword">const</span>;</div> <div class="line"><a name="l00082"></a><span class="lineno"> 82</span> </div> <div class="line"><a name="l00090"></a><span class="lineno"> 90</span>  <span class="keyword">static</span> <a class="code" href="classicu_1_1VTimeZone.html" title="VTimeZone is a class implementing RFC2445 VTIMEZONE.">VTimeZone</a>* createVTimeZoneByID(<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>& ID);</div> <div class="line"><a name="l00091"></a><span class="lineno"> 91</span> </div> <div class="line"><a name="l00099"></a><span class="lineno"> 99</span>  <span class="keyword">static</span> <a class="code" href="classicu_1_1VTimeZone.html" title="VTimeZone is a class implementing RFC2445 VTIMEZONE.">VTimeZone</a>* createVTimeZoneFromBasicTimeZone(<span class="keyword">const</span> <a class="code" href="classicu_1_1BasicTimeZone.html" title="BasicTimeZone is an abstract class extending TimeZone.">BasicTimeZone</a>& basicTZ,</div> <div class="line"><a name="l00100"></a><span class="lineno"> 100</span>  <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="l00101"></a><span class="lineno"> 101</span> </div> <div class="line"><a name="l00111"></a><span class="lineno"> 111</span>  <span class="keyword">static</span> <a class="code" href="classicu_1_1VTimeZone.html" title="VTimeZone is a class implementing RFC2445 VTIMEZONE.">VTimeZone</a>* createVTimeZone(<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>& vtzdata, <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="l00112"></a><span class="lineno"> 112</span> </div> <div class="line"><a name="l00121"></a><span class="lineno"> 121</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> getTZURL(<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>& url) <span class="keyword">const</span>;</div> <div class="line"><a name="l00122"></a><span class="lineno"> 122</span> </div> <div class="line"><a name="l00128"></a><span class="lineno"> 128</span>  <span class="keywordtype">void</span> setTZURL(<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>& url);</div> <div class="line"><a name="l00129"></a><span class="lineno"> 129</span> </div> <div class="line"><a name="l00138"></a><span class="lineno"> 138</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> getLastModified(<a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a>& lastModified) <span class="keyword">const</span>;</div> <div class="line"><a name="l00139"></a><span class="lineno"> 139</span> </div> <div class="line"><a name="l00145"></a><span class="lineno"> 145</span>  <span class="keywordtype">void</span> setLastModified(<a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> lastModified);</div> <div class="line"><a name="l00146"></a><span class="lineno"> 146</span> </div> <div class="line"><a name="l00153"></a><span class="lineno"> 153</span>  <span class="keywordtype">void</span> write(<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>& 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="l00154"></a><span class="lineno"> 154</span> </div> <div class="line"><a name="l00163"></a><span class="lineno"> 163</span>  <span class="keywordtype">void</span> write(<a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> start, <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>& 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="l00164"></a><span class="lineno"> 164</span> </div> <div class="line"><a name="l00178"></a><span class="lineno"> 178</span>  <span class="keywordtype">void</span> writeSimple(<a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> time, <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>& 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="l00179"></a><span class="lineno"> 179</span> </div> <div class="line"><a name="l00186"></a><span class="lineno"> 186</span>  <span class="keyword">virtual</span> <a class="code" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings.">TimeZone</a>* <a class="code" href="classicu_1_1TimeZone.html#adb3568dd3c62e6dcb55a74037535bcbb" title="Clones TimeZone objects polymorphically.">clone</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> <div class="line"><a name="l00187"></a><span class="lineno"> 187</span> </div> <div class="line"><a name="l00212"></a><span class="lineno"> 212</span>  <span class="keyword">virtual</span> int32_t <a class="code" href="classicu_1_1TimeZone.html#a46ea292ce977f08f7a1b4868994b5914" title="Returns the TimeZone's adjusted GMT offset (i.e., the number of milliseconds to add to GMT to get loc...">getOffset</a>(uint8_t era, int32_t year, int32_t month, int32_t day,</div> <div class="line"><a name="l00213"></a><span class="lineno"> 213</span>  uint8_t dayOfWeek, int32_t millis, <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="l00214"></a><span class="lineno"> 214</span> </div> <div class="line"><a name="l00234"></a><span class="lineno"> 234</span>  <span class="keyword">virtual</span> int32_t <a class="code" href="classicu_1_1TimeZone.html#a46ea292ce977f08f7a1b4868994b5914" title="Returns the TimeZone's adjusted GMT offset (i.e., the number of milliseconds to add to GMT to get loc...">getOffset</a>(uint8_t era, int32_t year, int32_t month, int32_t day,</div> <div class="line"><a name="l00235"></a><span class="lineno"> 235</span>  uint8_t dayOfWeek, int32_t millis,</div> <div class="line"><a name="l00236"></a><span class="lineno"> 236</span>  int32_t monthLength, <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="l00237"></a><span class="lineno"> 237</span> </div> <div class="line"><a name="l00260"></a><span class="lineno"> 260</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classicu_1_1TimeZone.html#a46ea292ce977f08f7a1b4868994b5914" title="Returns the TimeZone's adjusted GMT offset (i.e., the number of milliseconds to add to GMT to get loc...">getOffset</a>(<a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> date, <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> local, int32_t& rawOffset,</div> <div class="line"><a name="l00261"></a><span class="lineno"> 261</span>  int32_t& dstOffset, <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>& ec) <span class="keyword">const</span>;</div> <div class="line"><a name="l00262"></a><span class="lineno"> 262</span> </div> <div class="line"><a name="l00270"></a><span class="lineno"> 270</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classicu_1_1TimeZone.html#a19c3aad4a860a75067855605aaeb8e1e" title="Sets the TimeZone's raw GMT offset (i.e., the number of milliseconds to add to GMT to get local time...">setRawOffset</a>(int32_t offsetMillis);</div> <div class="line"><a name="l00271"></a><span class="lineno"> 271</span> </div> <div class="line"><a name="l00279"></a><span class="lineno"> 279</span>  <span class="keyword">virtual</span> int32_t <a class="code" href="classicu_1_1TimeZone.html#a36d5dfcbaec14010c151344752b9eea8" title="Returns the TimeZone's raw GMT offset (i.e., the number of milliseconds to add to GMT to get local ti...">getRawOffset</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> <div class="line"><a name="l00280"></a><span class="lineno"> 280</span> </div> <div class="line"><a name="l00287"></a><span class="lineno"> 287</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="classicu_1_1TimeZone.html#a838c7663925e7d1805475c2c5053d416" title="Queries if this time zone uses daylight savings time.">useDaylightTime</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> <div class="line"><a name="l00288"></a><span class="lineno"> 288</span> </div> <div class="line"><a name="l00302"></a><span class="lineno"> 302</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="classicu_1_1TimeZone.html#ad9698381477a6f59ead590bb8917c1a4" title="Queries if the given date is in daylight savings time in this time zone.">inDaylightTime</a>(<a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> date, <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="l00303"></a><span class="lineno"> 303</span> </div> <div class="line"><a name="l00312"></a><span class="lineno"> 312</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="classicu_1_1TimeZone.html#af7e240212db4c8f714286a739506abb5" title="Returns true if this zone has the same rule and offset as another zone.">hasSameRules</a>(<span class="keyword">const</span> <a class="code" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings.">TimeZone</a>& other) <span class="keyword">const</span>;</div> <div class="line"><a name="l00313"></a><span class="lineno"> 313</span> </div> <div class="line"><a name="l00322"></a><span class="lineno"> 322</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="classicu_1_1BasicTimeZone.html#ac398f0647dd9c3206d2eb6029fb5d7a9" title="Gets the first time zone transition after the base time.">getNextTransition</a>(<a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> base, <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> inclusive, <a class="code" href="classicu_1_1TimeZoneTransition.html" title="TimeZoneTransition is a class representing a time zone transition.">TimeZoneTransition</a>& result) <span class="keyword">const</span>;</div> <div class="line"><a name="l00323"></a><span class="lineno"> 323</span> </div> <div class="line"><a name="l00332"></a><span class="lineno"> 332</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="classicu_1_1BasicTimeZone.html#ae8b73123130deae483830b36f2da2c87" title="Gets the most recent time zone transition before the base time.">getPreviousTransition</a>(<a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> base, <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> inclusive, <a class="code" href="classicu_1_1TimeZoneTransition.html" title="TimeZoneTransition is a class representing a time zone transition.">TimeZoneTransition</a>& result) <span class="keyword">const</span>;</div> <div class="line"><a name="l00333"></a><span class="lineno"> 333</span> </div> <div class="line"><a name="l00342"></a><span class="lineno"> 342</span>  <span class="keyword">virtual</span> int32_t <a class="code" href="classicu_1_1BasicTimeZone.html#af96a42842f1963c58a9b953010a7f295" title="Returns the number of TimeZoneRules which represents time transitions, for this time zone...">countTransitionRules</a>(<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="l00343"></a><span class="lineno"> 343</span> </div> <div class="line"><a name="l00360"></a><span class="lineno"> 360</span>  <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classicu_1_1BasicTimeZone.html#aa3b25fc7ca494eca418d1a629f896a5b" title="Gets the InitialTimeZoneRule and the set of TimeZoneRule which represent time transitions for this ti...">getTimeZoneRules</a>(<span class="keyword">const</span> <a class="code" href="classicu_1_1InitialTimeZoneRule.html" title="InitialTimeZoneRule represents a time zone rule representing a time zone effective from the beginning...">InitialTimeZoneRule</a>*& initial,</div> <div class="line"><a name="l00361"></a><span class="lineno"> 361</span>  <span class="keyword">const</span> <a class="code" href="classicu_1_1TimeZoneRule.html" title="TimeZoneRule is a class representing a rule for time zone.">TimeZoneRule</a>* trsrules[], int32_t& trscount, <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="l00362"></a><span class="lineno"> 362</span> </div> <div class="line"><a name="l00363"></a><span class="lineno"> 363</span> <span class="keyword">private</span>:</div> <div class="line"><a name="l00364"></a><span class="lineno"> 364</span>  <span class="keyword">enum</span> { DEFAULT_VTIMEZONE_LINES = 100 };</div> <div class="line"><a name="l00365"></a><span class="lineno"> 365</span> </div> <div class="line"><a name="l00369"></a><span class="lineno"> 369</span>  <a class="code" href="classicu_1_1VTimeZone.html" title="VTimeZone is a class implementing RFC2445 VTIMEZONE.">VTimeZone</a>();</div> <div class="line"><a name="l00370"></a><span class="lineno"> 370</span>  <span class="keyword">static</span> <a class="code" href="classicu_1_1VTimeZone.html" title="VTimeZone is a class implementing RFC2445 VTIMEZONE.">VTimeZone</a>* createVTimeZone(VTZReader* reader);</div> <div class="line"><a name="l00371"></a><span class="lineno"> 371</span>  <span class="keywordtype">void</span> write(VTZWriter& writer, <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="l00372"></a><span class="lineno"> 372</span>  <span class="keywordtype">void</span> write(<a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> start, VTZWriter& writer, <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="l00373"></a><span class="lineno"> 373</span>  <span class="keywordtype">void</span> writeSimple(<a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> time, VTZWriter& writer, <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="l00374"></a><span class="lineno"> 374</span>  <span class="keywordtype">void</span> load(VTZReader& reader, <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="l00375"></a><span class="lineno"> 375</span>  <span class="keywordtype">void</span> parse(<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="l00376"></a><span class="lineno"> 376</span> </div> <div class="line"><a name="l00377"></a><span class="lineno"> 377</span>  <span class="keywordtype">void</span> writeZone(VTZWriter& w, <a class="code" href="classicu_1_1BasicTimeZone.html" title="BasicTimeZone is an abstract class extending TimeZone.">BasicTimeZone</a>& basictz, UVector* customProps,</div> <div class="line"><a name="l00378"></a><span class="lineno"> 378</span>  <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="l00379"></a><span class="lineno"> 379</span> </div> <div class="line"><a name="l00380"></a><span class="lineno"> 380</span>  <span class="keywordtype">void</span> writeHeaders(VTZWriter& w, <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="l00381"></a><span class="lineno"> 381</span>  <span class="keywordtype">void</span> writeFooter(VTZWriter& writer, <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="l00382"></a><span class="lineno"> 382</span> </div> <div class="line"><a name="l00383"></a><span class="lineno"> 383</span>  <span class="keywordtype">void</span> writeZonePropsByTime(VTZWriter& writer, <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> isDst, <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>& zonename,</div> <div class="line"><a name="l00384"></a><span class="lineno"> 384</span>  int32_t fromOffset, int32_t toOffset, <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> time, <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> withRDATE,</div> <div class="line"><a name="l00385"></a><span class="lineno"> 385</span>  <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="l00386"></a><span class="lineno"> 386</span>  <span class="keywordtype">void</span> writeZonePropsByDOM(VTZWriter& writer, <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> isDst, <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>& zonename,</div> <div class="line"><a name="l00387"></a><span class="lineno"> 387</span>  int32_t fromOffset, int32_t toOffset,</div> <div class="line"><a name="l00388"></a><span class="lineno"> 388</span>  int32_t month, int32_t dayOfMonth, <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> startTime, <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> untilTime,</div> <div class="line"><a name="l00389"></a><span class="lineno"> 389</span>  <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="l00390"></a><span class="lineno"> 390</span>  <span class="keywordtype">void</span> writeZonePropsByDOW(VTZWriter& writer, <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> isDst, <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>& zonename,</div> <div class="line"><a name="l00391"></a><span class="lineno"> 391</span>  int32_t fromOffset, int32_t toOffset,</div> <div class="line"><a name="l00392"></a><span class="lineno"> 392</span>  int32_t month, int32_t weekInMonth, int32_t dayOfWeek,</div> <div class="line"><a name="l00393"></a><span class="lineno"> 393</span>  <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> startTime, <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> untilTime, <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="l00394"></a><span class="lineno"> 394</span>  <span class="keywordtype">void</span> writeZonePropsByDOW_GEQ_DOM(VTZWriter& writer, <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> isDst, <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>& zonename,</div> <div class="line"><a name="l00395"></a><span class="lineno"> 395</span>  int32_t fromOffset, int32_t toOffset,</div> <div class="line"><a name="l00396"></a><span class="lineno"> 396</span>  int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,</div> <div class="line"><a name="l00397"></a><span class="lineno"> 397</span>  <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> startTime, <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> untilTime, <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="l00398"></a><span class="lineno"> 398</span>  <span class="keywordtype">void</span> writeZonePropsByDOW_GEQ_DOM_sub(VTZWriter& writer, int32_t month, int32_t dayOfMonth,</div> <div class="line"><a name="l00399"></a><span class="lineno"> 399</span>  int32_t dayOfWeek, int32_t numDays,</div> <div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> untilTime, int32_t fromOffset, <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="l00401"></a><span class="lineno"> 401</span>  <span class="keywordtype">void</span> writeZonePropsByDOW_LEQ_DOM(VTZWriter& writer, <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> isDst, <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>& zonename,</div> <div class="line"><a name="l00402"></a><span class="lineno"> 402</span>  int32_t fromOffset, int32_t toOffset,</div> <div class="line"><a name="l00403"></a><span class="lineno"> 403</span>  int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,</div> <div class="line"><a name="l00404"></a><span class="lineno"> 404</span>  <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> startTime, <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> untilTime, <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="l00405"></a><span class="lineno"> 405</span>  <span class="keywordtype">void</span> writeFinalRule(VTZWriter& writer, <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> isDst, <span class="keyword">const</span> <a class="code" href="classicu_1_1AnnualTimeZoneRule.html" title="AnnualTimeZoneRule is a class used for representing a time zone rule which takes effect annually...">AnnualTimeZoneRule</a>* rule,</div> <div class="line"><a name="l00406"></a><span class="lineno"> 406</span>  int32_t fromRawOffset, int32_t fromDSTSavings,</div> <div class="line"><a name="l00407"></a><span class="lineno"> 407</span>  <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> startTime, <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="l00408"></a><span class="lineno"> 408</span> </div> <div class="line"><a name="l00409"></a><span class="lineno"> 409</span>  <span class="keywordtype">void</span> beginZoneProps(VTZWriter& writer, <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> isDst, <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>& zonename,</div> <div class="line"><a name="l00410"></a><span class="lineno"> 410</span>  int32_t fromOffset, int32_t toOffset, <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> startTime, <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="l00411"></a><span class="lineno"> 411</span>  <span class="keywordtype">void</span> endZoneProps(VTZWriter& writer, <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> isDst, <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="l00412"></a><span class="lineno"> 412</span>  <span class="keywordtype">void</span> beginRRULE(VTZWriter& writer, int32_t month, <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="l00413"></a><span class="lineno"> 413</span>  <span class="keywordtype">void</span> appendUNTIL(VTZWriter& writer, <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>& until, <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="l00414"></a><span class="lineno"> 414</span> </div> <div class="line"><a name="l00415"></a><span class="lineno"> 415</span>  <a class="code" href="classicu_1_1BasicTimeZone.html" title="BasicTimeZone is an abstract class extending TimeZone.">BasicTimeZone</a> *tz;</div> <div class="line"><a name="l00416"></a><span class="lineno"> 416</span>  UVector *vtzlines;</div> <div class="line"><a name="l00417"></a><span class="lineno"> 417</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> tzurl;</div> <div class="line"><a name="l00418"></a><span class="lineno"> 418</span>  <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> lastmod;</div> <div class="line"><a name="l00419"></a><span class="lineno"> 419</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> olsonzid;</div> <div class="line"><a name="l00420"></a><span class="lineno"> 420</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> icutzver;</div> <div class="line"><a name="l00421"></a><span class="lineno"> 421</span> </div> <div class="line"><a name="l00422"></a><span class="lineno"> 422</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00434"></a><span class="lineno"> 434</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 <a class="code" href="classicu_1_1TimeZone.html#a13c672b604041624746d936671a3bbd2" title="Return the class ID for this class.">getStaticClassID</a>(<span class="keywordtype">void</span>);</div> <div class="line"><a name="l00435"></a><span class="lineno"> 435</span> </div> <div class="line"><a name="l00447"></a><span class="lineno"> 447</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="classicu_1_1TimeZone.html#a01e831eb651448ff2fdf7d825de19663" title="Returns a unique class ID POLYMORPHICALLY.">getDynamicClassID</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> <div class="line"><a name="l00448"></a><span class="lineno"> 448</span> };</div> <div class="line"><a name="l00449"></a><span class="lineno"> 449</span> </div> <div class="line"><a name="l00450"></a><span class="lineno"> 450</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="l00451"></a><span class="lineno"> 451</span> </div> <div class="line"><a name="l00452"></a><span class="lineno"> 452</span> <span class="preprocessor">#endif </span><span class="comment">/* #if !UCONFIG_NO_FORMATTING */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00453"></a><span class="lineno"> 453</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00454"></a><span class="lineno"> 454</span> <span class="preprocessor">#endif // VTZONE_H</span></div> <div class="line"><a name="l00455"></a><span class="lineno"> 455</span> <span class="preprocessor"></span><span class="comment">//eof</span></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Fri Oct 4 2013 14:10:22 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>