<!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 4.8.1.1: tzrule.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="search/search.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="search/search.js"></script> <script type="text/javascript"> $(document).ready(function() { searchBox.OnSelectItem(0); }); </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 4.8.1.1  <span id="projectnumber">4.8.1.1</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.1.1 --> <script type="text/javascript"> var searchBox = new SearchBox("searchBox", "search",false,'Search'); </script> <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> <li> <div id="MSearchBox" class="MSearchBoxInactive"> <span class="left"> <img id="MSearchSelect" src="search/mag_sel.png" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" alt=""/> <input type="text" id="MSearchField" value="Search" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" onblur="searchBox.OnSearchFieldFocus(false)" onkeyup="searchBox.OnSearchFieldChange(event)"/> </span><span class="right"> <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> </span> </div> </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> <!-- window showing the filter options --> <div id="MSearchSelectWindow" onmouseover="return searchBox.OnSearchSelectShow()" onmouseout="return searchBox.OnSearchSelectHide()" onkeydown="return searchBox.OnSearchSelectKey(event)"> <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark"> </span>Pages</a></div> <!-- iframe showing the search results (closed by default) --> <div id="MSearchResultsWindow"> <iframe src="javascript:void(0)" frameborder="0" name="MSearchResults" id="MSearchResults"> </iframe> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="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">tzrule.h</div> </div> </div><!--header--> <div class="contents"> <a href="tzrule_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-2008, 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 TZRULE_H</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="preprocessor"></span><span class="preprocessor">#define TZRULE_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></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> <span class="preprocessor">#include "<a class="code" href="uobject_8h.html" title="C++ API: Common ICU base class UObject.">unicode/uobject.h</a>"</span></div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#include "<a class="code" href="unistr_8h.html" title="C++ API: Unicode String.">unicode/unistr.h</a>"</span></div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor">#include "<a class="code" href="dtrule_8h.html" title="C++ API: Rule for specifying date and time in an year.">unicode/dtrule.h</a>"</span></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> <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="l00024"></a><span class="lineno"> 24</span> </div> <div class="line"><a name="l00032"></a><span class="lineno"><a class="code" href="classTimeZoneRule.html"> 32</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="classTimeZoneRule.html" title="TimeZoneRule is a class representing a rule for time zone.">TimeZoneRule</a> : <span class="keyword">public</span> <a class="code" href="classUObject.html" title="UObject is the common ICU "boilerplate" class.">UObject</a> {</div> <div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00038"></a><span class="lineno"> 38</span>  <span class="keyword">virtual</span> ~<a class="code" href="classTimeZoneRule.html" title="TimeZoneRule is a class representing a rule for time zone.">TimeZoneRule</a>();</div> <div class="line"><a name="l00039"></a><span class="lineno"> 39</span> </div> <div class="line"><a name="l00046"></a><span class="lineno"> 46</span>  <span class="keyword">virtual</span> <a class="code" href="classTimeZoneRule.html" title="TimeZoneRule is a class representing a rule for time zone.">TimeZoneRule</a>* clone(<span class="keywordtype">void</span>) <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00047"></a><span class="lineno"> 47</span> </div> <div class="line"><a name="l00055"></a><span class="lineno"> 55</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="stringpiece_8h.html#a7652049cbac0bfeae2cd2aa4514a3352" title="Global operator == for StringPiece.">operator==</a>(<span class="keyword">const</span> <a class="code" href="classTimeZoneRule.html" title="TimeZoneRule is a class representing a rule for time zone.">TimeZoneRule</a>& that) <span class="keyword">const</span>;</div> <div class="line"><a name="l00056"></a><span class="lineno"> 56</span> </div> <div class="line"><a name="l00064"></a><span class="lineno"> 64</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="stringpiece_8h.html#abf0ccab9536bab551afc07de65eb5d95" title="Global operator != for StringPiece.">operator!=</a>(<span class="keyword">const</span> <a class="code" href="classTimeZoneRule.html" title="TimeZoneRule is a class representing a rule for time zone.">TimeZoneRule</a>& that) <span class="keyword">const</span>;</div> <div class="line"><a name="l00065"></a><span class="lineno"> 65</span> </div> <div class="line"><a name="l00072"></a><span class="lineno"> 72</span>  <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a>& getName(<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="l00073"></a><span class="lineno"> 73</span> </div> <div class="line"><a name="l00079"></a><span class="lineno"> 79</span>  int32_t getRawOffset(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> <div class="line"><a name="l00080"></a><span class="lineno"> 80</span> </div> <div class="line"><a name="l00087"></a><span class="lineno"> 87</span>  int32_t getDSTSavings(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> <div class="line"><a name="l00088"></a><span class="lineno"> 88</span> </div> <div class="line"><a name="l00097"></a><span class="lineno"> 97</span>  <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> isEquivalentTo(<span class="keyword">const</span> <a class="code" href="classTimeZoneRule.html" title="TimeZoneRule is a class representing a rule for time zone.">TimeZoneRule</a>& other) <span class="keyword">const</span>;</div> <div class="line"><a name="l00098"></a><span class="lineno"> 98</span> </div> <div class="line"><a name="l00110"></a><span class="lineno"> 110</span>  <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> getFirstStart(int32_t prevRawOffset, int32_t prevDSTSavings, <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a>& result) <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00111"></a><span class="lineno"> 111</span> </div> <div class="line"><a name="l00123"></a><span class="lineno"> 123</span>  <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> getFinalStart(int32_t prevRawOffset, int32_t prevDSTSavings, <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a>& result) <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00124"></a><span class="lineno"> 124</span> </div> <div class="line"><a name="l00139"></a><span class="lineno"> 139</span>  <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> getNextStart(<a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> base, int32_t prevRawOffset, int32_t prevDSTSavings,</div> <div class="line"><a name="l00140"></a><span class="lineno"> 140</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> inclusive, <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a>& result) <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00141"></a><span class="lineno"> 141</span> </div> <div class="line"><a name="l00156"></a><span class="lineno"> 156</span>  <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> getPreviousStart(<a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> base, int32_t prevRawOffset, int32_t prevDSTSavings,</div> <div class="line"><a name="l00157"></a><span class="lineno"> 157</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> inclusive, <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a>& result) <span class="keyword">const</span> = 0;</div> <div class="line"><a name="l00158"></a><span class="lineno"> 158</span> </div> <div class="line"><a name="l00159"></a><span class="lineno"> 159</span> <span class="keyword">protected</span>:</div> <div class="line"><a name="l00160"></a><span class="lineno"> 160</span> </div> <div class="line"><a name="l00170"></a><span class="lineno"> 170</span>  <a class="code" href="classTimeZoneRule.html" title="TimeZoneRule is a class representing a rule for time zone.">TimeZoneRule</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>& name, int32_t rawOffset, int32_t dstSavings);</div> <div class="line"><a name="l00171"></a><span class="lineno"> 171</span> </div> <div class="line"><a name="l00177"></a><span class="lineno"> 177</span>  <a class="code" href="classTimeZoneRule.html" title="TimeZoneRule is a class representing a rule for time zone.">TimeZoneRule</a>(<span class="keyword">const</span> <a class="code" href="classTimeZoneRule.html" title="TimeZoneRule is a class representing a rule for time zone.">TimeZoneRule</a>& source);</div> <div class="line"><a name="l00178"></a><span class="lineno"> 178</span> </div> <div class="line"><a name="l00184"></a><span class="lineno"> 184</span>  <a class="code" href="classTimeZoneRule.html" title="TimeZoneRule is a class representing a rule for time zone.">TimeZoneRule</a>& operator=(<span class="keyword">const</span> <a class="code" href="classTimeZoneRule.html" title="TimeZoneRule is a class representing a rule for time zone.">TimeZoneRule</a>& right);</div> <div class="line"><a name="l00185"></a><span class="lineno"> 185</span> </div> <div class="line"><a name="l00186"></a><span class="lineno"> 186</span> <span class="keyword">private</span>:</div> <div class="line"><a name="l00187"></a><span class="lineno"> 187</span>  <a class="code" href="classUnicodeString.html" title="UnicodeString is a string class that stores Unicode characters directly and provides similar function...">UnicodeString</a> fName; <span class="comment">// time name</span></div> <div class="line"><a name="l00188"></a><span class="lineno"> 188</span>  int32_t fRawOffset; <span class="comment">// UTC offset of the standard time in milliseconds</span></div> <div class="line"><a name="l00189"></a><span class="lineno"> 189</span>  int32_t fDSTSavings; <span class="comment">// DST saving amount in milliseconds</span></div> <div class="line"><a name="l00190"></a><span class="lineno"> 190</span> };</div> <div class="line"><a name="l00191"></a><span class="lineno"> 191</span> </div> <div class="line"><a name="l00198"></a><span class="lineno"><a class="code" href="classInitialTimeZoneRule.html"> 198</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="classInitialTimeZoneRule.html" title="InitialTimeZoneRule represents a time zone rule representing a time zone effective from the beginning...">InitialTimeZoneRule</a> : <span class="keyword">public</span> <a class="code" href="classTimeZoneRule.html" title="TimeZoneRule is a class representing a rule for time zone.">TimeZoneRule</a> {</div> <div class="line"><a name="l00199"></a><span class="lineno"> 199</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00209"></a><span class="lineno"> 209</span>  <a class="code" href="classInitialTimeZoneRule.html" title="InitialTimeZoneRule represents a time zone rule representing a time zone effective from the beginning...">InitialTimeZoneRule</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>& name, int32_t rawOffset, int32_t dstSavings);</div> <div class="line"><a name="l00210"></a><span class="lineno"> 210</span> </div> <div class="line"><a name="l00216"></a><span class="lineno"> 216</span>  <a class="code" href="classInitialTimeZoneRule.html" title="InitialTimeZoneRule represents a time zone rule representing a time zone effective from the beginning...">InitialTimeZoneRule</a>(<span class="keyword">const</span> <a class="code" href="classInitialTimeZoneRule.html" title="InitialTimeZoneRule represents a time zone rule representing a time zone effective from the beginning...">InitialTimeZoneRule</a>& source);</div> <div class="line"><a name="l00217"></a><span class="lineno"> 217</span> </div> <div class="line"><a name="l00222"></a><span class="lineno"> 222</span>  <span class="keyword">virtual</span> ~<a class="code" href="classInitialTimeZoneRule.html" title="InitialTimeZoneRule represents a time zone rule representing a time zone effective from the beginning...">InitialTimeZoneRule</a>();</div> <div class="line"><a name="l00223"></a><span class="lineno"> 223</span> </div> <div class="line"><a name="l00230"></a><span class="lineno"> 230</span>  <span class="keyword">virtual</span> <a class="code" href="classInitialTimeZoneRule.html" title="InitialTimeZoneRule represents a time zone rule representing a time zone effective from the beginning...">InitialTimeZoneRule</a>* <a class="code" href="classTimeZoneRule.html#a7268c8bdb79e5a7525efb5794f7631b0" title="Clone this TimeZoneRule object polymorphically.">clone</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> <div class="line"><a name="l00231"></a><span class="lineno"> 231</span> </div> <div class="line"><a name="l00237"></a><span class="lineno"> 237</span>  <a class="code" href="classInitialTimeZoneRule.html" title="InitialTimeZoneRule represents a time zone rule representing a time zone effective from the beginning...">InitialTimeZoneRule</a>& <a class="code" href="classTimeZoneRule.html#aa11d2fed66a0728be2ce2d8d7c167138" title="Assignment operator.">operator=</a>(<span class="keyword">const</span> <a class="code" href="classInitialTimeZoneRule.html" title="InitialTimeZoneRule represents a time zone rule representing a time zone effective from the beginning...">InitialTimeZoneRule</a>& right);</div> <div class="line"><a name="l00238"></a><span class="lineno"> 238</span> </div> <div class="line"><a name="l00246"></a><span class="lineno"> 246</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="classTimeZoneRule.html#ae93f7be7cb8b6af13a8d574c123b5769" title="Return true if the given TimeZoneRule objects are semantically equal.">operator==</a>(<span class="keyword">const</span> <a class="code" href="classTimeZoneRule.html" title="TimeZoneRule is a class representing a rule for time zone.">TimeZoneRule</a>& that) <span class="keyword">const</span>;</div> <div class="line"><a name="l00247"></a><span class="lineno"> 247</span> </div> <div class="line"><a name="l00255"></a><span class="lineno"> 255</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="classTimeZoneRule.html#a3fc6bd04ba36665d815cbd5746e140cf" title="Return true if the given TimeZoneRule objects are semantically unequal.">operator!=</a>(<span class="keyword">const</span> <a class="code" href="classTimeZoneRule.html" title="TimeZoneRule is a class representing a rule for time zone.">TimeZoneRule</a>& that) <span class="keyword">const</span>;</div> <div class="line"><a name="l00256"></a><span class="lineno"> 256</span> </div> <div class="line"><a name="l00269"></a><span class="lineno"> 269</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> getStartInYear(int32_t year, int32_t prevRawOffset, int32_t prevDSTSavings, <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a>& result) <span class="keyword">const</span>;</div> <div class="line"><a name="l00270"></a><span class="lineno"> 270</span> </div> <div class="line"><a name="l00279"></a><span class="lineno"> 279</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="classTimeZoneRule.html#a7388aaea1ac22ac9e0c5a197f7097c15" title="Returns if this rule represents the same rule and offsets as another.">isEquivalentTo</a>(<span class="keyword">const</span> <a class="code" href="classTimeZoneRule.html" title="TimeZoneRule is a class representing a rule for time zone.">TimeZoneRule</a>& that) <span class="keyword">const</span>;</div> <div class="line"><a name="l00280"></a><span class="lineno"> 280</span> </div> <div class="line"><a name="l00292"></a><span class="lineno"> 292</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="classTimeZoneRule.html#a582f85ec08ba2cbfad4b0d397d1f920c" title="Gets the very first time when this rule takes effect.">getFirstStart</a>(int32_t prevRawOffset, int32_t prevDSTSavings, <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a>& result) <span class="keyword">const</span>;</div> <div class="line"><a name="l00293"></a><span class="lineno"> 293</span> </div> <div class="line"><a name="l00305"></a><span class="lineno"> 305</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="classTimeZoneRule.html#ab37a233363ee18108e35d613ee3e9e56" title="Gets the final time when this rule takes effect.">getFinalStart</a>(int32_t prevRawOffset, int32_t prevDSTSavings, <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a>& result) <span class="keyword">const</span>;</div> <div class="line"><a name="l00306"></a><span class="lineno"> 306</span> </div> <div class="line"><a name="l00321"></a><span class="lineno"> 321</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="classTimeZoneRule.html#aa53c5f88f33cc26117c06a5bd1038280" title="Gets the first time when this rule takes effect after the specified time.">getNextStart</a>(<a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> base, int32_t prevRawOffset, int32_t prevDSTSavings,</div> <div class="line"><a name="l00322"></a><span class="lineno"> 322</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> inclusive, <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</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="l00338"></a><span class="lineno"> 338</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="classTimeZoneRule.html#aefa099d12a5eb1229b6503ffea506d47" title="Gets the most recent time when this rule takes effect before the specified time.">getPreviousStart</a>(<a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> base, int32_t prevRawOffset, int32_t prevDSTSavings,</div> <div class="line"><a name="l00339"></a><span class="lineno"> 339</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> inclusive, <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a>& result) <span class="keyword">const</span>;</div> <div class="line"><a name="l00340"></a><span class="lineno"> 340</span> </div> <div class="line"><a name="l00341"></a><span class="lineno"> 341</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00353"></a><span class="lineno"> 353</span>  <span class="keyword">static</span> <a class="code" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f" title="UClassID is used to identify classes without using RTTI, since RTTI is not yet supported by all C++ c...">UClassID</a> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> getStaticClassID(<span class="keywordtype">void</span>);</div> <div class="line"><a name="l00354"></a><span class="lineno"> 354</span> </div> <div class="line"><a name="l00366"></a><span class="lineno"> 366</span>  <span class="keyword">virtual</span> <a class="code" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f" title="UClassID is used to identify classes without using RTTI, since RTTI is not yet supported by all C++ c...">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="keywordtype">void</span>) <span class="keyword">const</span>;</div> <div class="line"><a name="l00367"></a><span class="lineno"> 367</span> };</div> <div class="line"><a name="l00368"></a><span class="lineno"> 368</span> </div> <div class="line"><a name="l00376"></a><span class="lineno"><a class="code" href="classAnnualTimeZoneRule.html"> 376</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="classAnnualTimeZoneRule.html" title="AnnualTimeZoneRule is a class used for representing a time zone rule which takes effect annually...">AnnualTimeZoneRule</a> : <span class="keyword">public</span> <a class="code" href="classTimeZoneRule.html" title="TimeZoneRule is a class representing a rule for time zone.">TimeZoneRule</a> {</div> <div class="line"><a name="l00377"></a><span class="lineno"> 377</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00382"></a><span class="lineno"><a class="code" href="classAnnualTimeZoneRule.html#aad329b6ae413ccabf3a8a40fa8600223"> 382</a></span>  <span class="keyword">static</span> <span class="keyword">const</span> int32_t <a class="code" href="classAnnualTimeZoneRule.html#aad329b6ae413ccabf3a8a40fa8600223" title="The constant representing the maximum year used for designating a rule is permanent.">MAX_YEAR</a>;</div> <div class="line"><a name="l00383"></a><span class="lineno"> 383</span> </div> <div class="line"><a name="l00400"></a><span class="lineno"> 400</span>  <a class="code" href="classAnnualTimeZoneRule.html" title="AnnualTimeZoneRule is a class used for representing a time zone rule which takes effect annually...">AnnualTimeZoneRule</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>& name, int32_t rawOffset, int32_t dstSavings,</div> <div class="line"><a name="l00401"></a><span class="lineno"> 401</span>  <span class="keyword">const</span> <a class="code" href="classDateTimeRule.html" title="DateTimeRule is a class representing a time in a year by a rule specified by month, day of month, day of week and time in the day.">DateTimeRule</a>& dateTimeRule, int32_t startYear, int32_t endYear);</div> <div class="line"><a name="l00402"></a><span class="lineno"> 402</span> </div> <div class="line"><a name="l00419"></a><span class="lineno"> 419</span>  <a class="code" href="classAnnualTimeZoneRule.html" title="AnnualTimeZoneRule is a class used for representing a time zone rule which takes effect annually...">AnnualTimeZoneRule</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>& name, int32_t rawOffset, int32_t dstSavings,</div> <div class="line"><a name="l00420"></a><span class="lineno"> 420</span>  <a class="code" href="classDateTimeRule.html" title="DateTimeRule is a class representing a time in a year by a rule specified by month, day of month, day of week and time in the day.">DateTimeRule</a>* dateTimeRule, int32_t startYear, int32_t endYear);</div> <div class="line"><a name="l00421"></a><span class="lineno"> 421</span> </div> <div class="line"><a name="l00427"></a><span class="lineno"> 427</span>  <a class="code" href="classAnnualTimeZoneRule.html" title="AnnualTimeZoneRule is a class used for representing a time zone rule which takes effect annually...">AnnualTimeZoneRule</a>(<span class="keyword">const</span> <a class="code" href="classAnnualTimeZoneRule.html" title="AnnualTimeZoneRule is a class used for representing a time zone rule which takes effect annually...">AnnualTimeZoneRule</a>& source);</div> <div class="line"><a name="l00428"></a><span class="lineno"> 428</span> </div> <div class="line"><a name="l00433"></a><span class="lineno"> 433</span>  <span class="keyword">virtual</span> ~<a class="code" href="classAnnualTimeZoneRule.html" title="AnnualTimeZoneRule is a class used for representing a time zone rule which takes effect annually...">AnnualTimeZoneRule</a>();</div> <div class="line"><a name="l00434"></a><span class="lineno"> 434</span> </div> <div class="line"><a name="l00441"></a><span class="lineno"> 441</span>  <span class="keyword">virtual</span> <a class="code" href="classAnnualTimeZoneRule.html" title="AnnualTimeZoneRule is a class used for representing a time zone rule which takes effect annually...">AnnualTimeZoneRule</a>* <a class="code" href="classTimeZoneRule.html#a7268c8bdb79e5a7525efb5794f7631b0" title="Clone this TimeZoneRule object polymorphically.">clone</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> <div class="line"><a name="l00442"></a><span class="lineno"> 442</span> </div> <div class="line"><a name="l00448"></a><span class="lineno"> 448</span>  <a class="code" href="classAnnualTimeZoneRule.html" title="AnnualTimeZoneRule is a class used for representing a time zone rule which takes effect annually...">AnnualTimeZoneRule</a>& <a class="code" href="classTimeZoneRule.html#aa11d2fed66a0728be2ce2d8d7c167138" title="Assignment operator.">operator=</a>(<span class="keyword">const</span> <a class="code" href="classAnnualTimeZoneRule.html" title="AnnualTimeZoneRule is a class used for representing a time zone rule which takes effect annually...">AnnualTimeZoneRule</a>& right);</div> <div class="line"><a name="l00449"></a><span class="lineno"> 449</span> </div> <div class="line"><a name="l00457"></a><span class="lineno"> 457</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="classTimeZoneRule.html#ae93f7be7cb8b6af13a8d574c123b5769" title="Return true if the given TimeZoneRule objects are semantically equal.">operator==</a>(<span class="keyword">const</span> <a class="code" href="classTimeZoneRule.html" title="TimeZoneRule is a class representing a rule for time zone.">TimeZoneRule</a>& that) <span class="keyword">const</span>;</div> <div class="line"><a name="l00458"></a><span class="lineno"> 458</span> </div> <div class="line"><a name="l00466"></a><span class="lineno"> 466</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="classTimeZoneRule.html#a3fc6bd04ba36665d815cbd5746e140cf" title="Return true if the given TimeZoneRule objects are semantically unequal.">operator!=</a>(<span class="keyword">const</span> <a class="code" href="classTimeZoneRule.html" title="TimeZoneRule is a class representing a rule for time zone.">TimeZoneRule</a>& that) <span class="keyword">const</span>;</div> <div class="line"><a name="l00467"></a><span class="lineno"> 467</span> </div> <div class="line"><a name="l00474"></a><span class="lineno"> 474</span>  <span class="keyword">const</span> <a class="code" href="classDateTimeRule.html" title="DateTimeRule is a class representing a time in a year by a rule specified by month, day of month, day of week and time in the day.">DateTimeRule</a>* getRule(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> <div class="line"><a name="l00475"></a><span class="lineno"> 475</span> </div> <div class="line"><a name="l00482"></a><span class="lineno"> 482</span>  int32_t getStartYear(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> <div class="line"><a name="l00483"></a><span class="lineno"> 483</span> </div> <div class="line"><a name="l00490"></a><span class="lineno"> 490</span>  int32_t getEndYear(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> <div class="line"><a name="l00491"></a><span class="lineno"> 491</span> </div> <div class="line"><a name="l00504"></a><span class="lineno"> 504</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> getStartInYear(int32_t year, int32_t prevRawOffset, int32_t prevDSTSavings, <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a>& result) <span class="keyword">const</span>;</div> <div class="line"><a name="l00505"></a><span class="lineno"> 505</span> </div> <div class="line"><a name="l00514"></a><span class="lineno"> 514</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="classTimeZoneRule.html#a7388aaea1ac22ac9e0c5a197f7097c15" title="Returns if this rule represents the same rule and offsets as another.">isEquivalentTo</a>(<span class="keyword">const</span> <a class="code" href="classTimeZoneRule.html" title="TimeZoneRule is a class representing a rule for time zone.">TimeZoneRule</a>& that) <span class="keyword">const</span>;</div> <div class="line"><a name="l00515"></a><span class="lineno"> 515</span> </div> <div class="line"><a name="l00527"></a><span class="lineno"> 527</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="classTimeZoneRule.html#a582f85ec08ba2cbfad4b0d397d1f920c" title="Gets the very first time when this rule takes effect.">getFirstStart</a>(int32_t prevRawOffset, int32_t prevDSTSavings, <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a>& result) <span class="keyword">const</span>;</div> <div class="line"><a name="l00528"></a><span class="lineno"> 528</span> </div> <div class="line"><a name="l00540"></a><span class="lineno"> 540</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="classTimeZoneRule.html#ab37a233363ee18108e35d613ee3e9e56" title="Gets the final time when this rule takes effect.">getFinalStart</a>(int32_t prevRawOffset, int32_t prevDSTSavings, <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a>& result) <span class="keyword">const</span>;</div> <div class="line"><a name="l00541"></a><span class="lineno"> 541</span> </div> <div class="line"><a name="l00556"></a><span class="lineno"> 556</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="classTimeZoneRule.html#aa53c5f88f33cc26117c06a5bd1038280" title="Gets the first time when this rule takes effect after the specified time.">getNextStart</a>(<a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> base, int32_t prevRawOffset, int32_t prevDSTSavings,</div> <div class="line"><a name="l00557"></a><span class="lineno"> 557</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> inclusive, <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a>& result) <span class="keyword">const</span>;</div> <div class="line"><a name="l00558"></a><span class="lineno"> 558</span> </div> <div class="line"><a name="l00573"></a><span class="lineno"> 573</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="classTimeZoneRule.html#aefa099d12a5eb1229b6503ffea506d47" title="Gets the most recent time when this rule takes effect before the specified time.">getPreviousStart</a>(<a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> base, int32_t prevRawOffset, int32_t prevDSTSavings,</div> <div class="line"><a name="l00574"></a><span class="lineno"> 574</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> inclusive, <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a>& result) <span class="keyword">const</span>;</div> <div class="line"><a name="l00575"></a><span class="lineno"> 575</span> </div> <div class="line"><a name="l00576"></a><span class="lineno"> 576</span> </div> <div class="line"><a name="l00577"></a><span class="lineno"> 577</span> <span class="keyword">private</span>:</div> <div class="line"><a name="l00578"></a><span class="lineno"> 578</span>  <a class="code" href="classDateTimeRule.html" title="DateTimeRule is a class representing a time in a year by a rule specified by month, day of month, day of week and time in the day.">DateTimeRule</a>* fDateTimeRule;</div> <div class="line"><a name="l00579"></a><span class="lineno"> 579</span>  int32_t fStartYear;</div> <div class="line"><a name="l00580"></a><span class="lineno"> 580</span>  int32_t fEndYear;</div> <div class="line"><a name="l00581"></a><span class="lineno"> 581</span> </div> <div class="line"><a name="l00582"></a><span class="lineno"> 582</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00594"></a><span class="lineno"> 594</span>  <span class="keyword">static</span> <a class="code" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f" title="UClassID is used to identify classes without using RTTI, since RTTI is not yet supported by all C++ c...">UClassID</a> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> getStaticClassID(<span class="keywordtype">void</span>);</div> <div class="line"><a name="l00595"></a><span class="lineno"> 595</span> </div> <div class="line"><a name="l00607"></a><span class="lineno"> 607</span>  <span class="keyword">virtual</span> <a class="code" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f" title="UClassID is used to identify classes without using RTTI, since RTTI is not yet supported by all C++ c...">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="keywordtype">void</span>) <span class="keyword">const</span>;</div> <div class="line"><a name="l00608"></a><span class="lineno"> 608</span> };</div> <div class="line"><a name="l00609"></a><span class="lineno"> 609</span> </div> <div class="line"><a name="l00616"></a><span class="lineno"><a class="code" href="classTimeArrayTimeZoneRule.html"> 616</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="classTimeArrayTimeZoneRule.html" title="TimeArrayTimeZoneRule represents a time zone rule whose start times are defined by an array of millis...">TimeArrayTimeZoneRule</a> : <span class="keyword">public</span> <a class="code" href="classTimeZoneRule.html" title="TimeZoneRule is a class representing a rule for time zone.">TimeZoneRule</a> {</div> <div class="line"><a name="l00617"></a><span class="lineno"> 617</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00635"></a><span class="lineno"> 635</span>  <a class="code" href="classTimeArrayTimeZoneRule.html" title="TimeArrayTimeZoneRule represents a time zone rule whose start times are defined by an array of millis...">TimeArrayTimeZoneRule</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>& name, int32_t rawOffset, int32_t dstSavings,</div> <div class="line"><a name="l00636"></a><span class="lineno"> 636</span>  <span class="keyword">const</span> <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a>* startTimes, int32_t numStartTimes, <a class="code" href="classDateTimeRule.html#a587bb19278c1b9b30d32e33eb88111d0" title="Time rule type constants.">DateTimeRule::TimeRuleType</a> timeRuleType);</div> <div class="line"><a name="l00637"></a><span class="lineno"> 637</span> </div> <div class="line"><a name="l00643"></a><span class="lineno"> 643</span>  <a class="code" href="classTimeArrayTimeZoneRule.html" title="TimeArrayTimeZoneRule represents a time zone rule whose start times are defined by an array of millis...">TimeArrayTimeZoneRule</a>(<span class="keyword">const</span> <a class="code" href="classTimeArrayTimeZoneRule.html" title="TimeArrayTimeZoneRule represents a time zone rule whose start times are defined by an array of millis...">TimeArrayTimeZoneRule</a>& source);</div> <div class="line"><a name="l00644"></a><span class="lineno"> 644</span> </div> <div class="line"><a name="l00649"></a><span class="lineno"> 649</span>  <span class="keyword">virtual</span> ~<a class="code" href="classTimeArrayTimeZoneRule.html" title="TimeArrayTimeZoneRule represents a time zone rule whose start times are defined by an array of millis...">TimeArrayTimeZoneRule</a>();</div> <div class="line"><a name="l00650"></a><span class="lineno"> 650</span> </div> <div class="line"><a name="l00657"></a><span class="lineno"> 657</span>  <span class="keyword">virtual</span> <a class="code" href="classTimeArrayTimeZoneRule.html" title="TimeArrayTimeZoneRule represents a time zone rule whose start times are defined by an array of millis...">TimeArrayTimeZoneRule</a>* <a class="code" href="classTimeZoneRule.html#a7268c8bdb79e5a7525efb5794f7631b0" title="Clone this TimeZoneRule object polymorphically.">clone</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> <div class="line"><a name="l00658"></a><span class="lineno"> 658</span> </div> <div class="line"><a name="l00664"></a><span class="lineno"> 664</span>  <a class="code" href="classTimeArrayTimeZoneRule.html" title="TimeArrayTimeZoneRule represents a time zone rule whose start times are defined by an array of millis...">TimeArrayTimeZoneRule</a>& <a class="code" href="classTimeZoneRule.html#aa11d2fed66a0728be2ce2d8d7c167138" title="Assignment operator.">operator=</a>(<span class="keyword">const</span> <a class="code" href="classTimeArrayTimeZoneRule.html" title="TimeArrayTimeZoneRule represents a time zone rule whose start times are defined by an array of millis...">TimeArrayTimeZoneRule</a>& right);</div> <div class="line"><a name="l00665"></a><span class="lineno"> 665</span> </div> <div class="line"><a name="l00673"></a><span class="lineno"> 673</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="classTimeZoneRule.html#ae93f7be7cb8b6af13a8d574c123b5769" title="Return true if the given TimeZoneRule objects are semantically equal.">operator==</a>(<span class="keyword">const</span> <a class="code" href="classTimeZoneRule.html" title="TimeZoneRule is a class representing a rule for time zone.">TimeZoneRule</a>& that) <span class="keyword">const</span>;</div> <div class="line"><a name="l00674"></a><span class="lineno"> 674</span> </div> <div class="line"><a name="l00682"></a><span class="lineno"> 682</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="classTimeZoneRule.html#a3fc6bd04ba36665d815cbd5746e140cf" title="Return true if the given TimeZoneRule objects are semantically unequal.">operator!=</a>(<span class="keyword">const</span> <a class="code" href="classTimeZoneRule.html" title="TimeZoneRule is a class representing a rule for time zone.">TimeZoneRule</a>& that) <span class="keyword">const</span>;</div> <div class="line"><a name="l00683"></a><span class="lineno"> 683</span> </div> <div class="line"><a name="l00692"></a><span class="lineno"> 692</span>  <a class="code" href="classDateTimeRule.html#a587bb19278c1b9b30d32e33eb88111d0" title="Time rule type constants.">DateTimeRule::TimeRuleType</a> getTimeType(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> <div class="line"><a name="l00693"></a><span class="lineno"> 693</span> </div> <div class="line"><a name="l00703"></a><span class="lineno"> 703</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> getStartTimeAt(int32_t index, <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a>& result) <span class="keyword">const</span>;</div> <div class="line"><a name="l00704"></a><span class="lineno"> 704</span> </div> <div class="line"><a name="l00710"></a><span class="lineno"> 710</span>  int32_t countStartTimes(<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div> <div class="line"><a name="l00711"></a><span class="lineno"> 711</span> </div> <div class="line"><a name="l00720"></a><span class="lineno"> 720</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="classTimeZoneRule.html#a7388aaea1ac22ac9e0c5a197f7097c15" title="Returns if this rule represents the same rule and offsets as another.">isEquivalentTo</a>(<span class="keyword">const</span> <a class="code" href="classTimeZoneRule.html" title="TimeZoneRule is a class representing a rule for time zone.">TimeZoneRule</a>& that) <span class="keyword">const</span>;</div> <div class="line"><a name="l00721"></a><span class="lineno"> 721</span> </div> <div class="line"><a name="l00733"></a><span class="lineno"> 733</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="classTimeZoneRule.html#a582f85ec08ba2cbfad4b0d397d1f920c" title="Gets the very first time when this rule takes effect.">getFirstStart</a>(int32_t prevRawOffset, int32_t prevDSTSavings, <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a>& result) <span class="keyword">const</span>;</div> <div class="line"><a name="l00734"></a><span class="lineno"> 734</span> </div> <div class="line"><a name="l00746"></a><span class="lineno"> 746</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="classTimeZoneRule.html#ab37a233363ee18108e35d613ee3e9e56" title="Gets the final time when this rule takes effect.">getFinalStart</a>(int32_t prevRawOffset, int32_t prevDSTSavings, <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a>& result) <span class="keyword">const</span>;</div> <div class="line"><a name="l00747"></a><span class="lineno"> 747</span> </div> <div class="line"><a name="l00762"></a><span class="lineno"> 762</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="classTimeZoneRule.html#aa53c5f88f33cc26117c06a5bd1038280" title="Gets the first time when this rule takes effect after the specified time.">getNextStart</a>(<a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> base, int32_t prevRawOffset, int32_t prevDSTSavings,</div> <div class="line"><a name="l00763"></a><span class="lineno"> 763</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> inclusive, <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a>& result) <span class="keyword">const</span>;</div> <div class="line"><a name="l00764"></a><span class="lineno"> 764</span> </div> <div class="line"><a name="l00779"></a><span class="lineno"> 779</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="classTimeZoneRule.html#aefa099d12a5eb1229b6503ffea506d47" title="Gets the most recent time when this rule takes effect before the specified time.">getPreviousStart</a>(<a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> base, int32_t prevRawOffset, int32_t prevDSTSavings,</div> <div class="line"><a name="l00780"></a><span class="lineno"> 780</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> inclusive, <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a>& result) <span class="keyword">const</span>;</div> <div class="line"><a name="l00781"></a><span class="lineno"> 781</span> </div> <div class="line"><a name="l00782"></a><span class="lineno"> 782</span> </div> <div class="line"><a name="l00783"></a><span class="lineno"> 783</span> <span class="keyword">private</span>:</div> <div class="line"><a name="l00784"></a><span class="lineno"> 784</span>  <span class="keyword">enum</span> { TIMEARRAY_STACK_BUFFER_SIZE = 32 };</div> <div class="line"><a name="l00785"></a><span class="lineno"> 785</span>  <a class="code" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5" title="The ICU boolean type.">UBool</a> initStartTimes(<span class="keyword">const</span> <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> source[], int32_t size, <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);</div> <div class="line"><a name="l00786"></a><span class="lineno"> 786</span>  <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> getUTC(<a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> time, int32_t raw, int32_t dst) <span class="keyword">const</span>;</div> <div class="line"><a name="l00787"></a><span class="lineno"> 787</span> </div> <div class="line"><a name="l00788"></a><span class="lineno"> 788</span>  <a class="code" href="classDateTimeRule.html#a587bb19278c1b9b30d32e33eb88111d0" title="Time rule type constants.">DateTimeRule::TimeRuleType</a> fTimeRuleType;</div> <div class="line"><a name="l00789"></a><span class="lineno"> 789</span>  int32_t fNumStartTimes;</div> <div class="line"><a name="l00790"></a><span class="lineno"> 790</span>  <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a>* fStartTimes;</div> <div class="line"><a name="l00791"></a><span class="lineno"> 791</span>  <a class="code" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039" title="Date and Time data type.">UDate</a> fLocalStartTimes[TIMEARRAY_STACK_BUFFER_SIZE];</div> <div class="line"><a name="l00792"></a><span class="lineno"> 792</span> </div> <div class="line"><a name="l00793"></a><span class="lineno"> 793</span> <span class="keyword">public</span>:</div> <div class="line"><a name="l00805"></a><span class="lineno"> 805</span>  <span class="keyword">static</span> <a class="code" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f" title="UClassID is used to identify classes without using RTTI, since RTTI is not yet supported by all C++ c...">UClassID</a> <a class="code" href="platform_8h.html#a72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> getStaticClassID(<span class="keywordtype">void</span>);</div> <div class="line"><a name="l00806"></a><span class="lineno"> 806</span> </div> <div class="line"><a name="l00818"></a><span class="lineno"> 818</span>  <span class="keyword">virtual</span> <a class="code" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f" title="UClassID is used to identify classes without using RTTI, since RTTI is not yet supported by all C++ c...">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="keywordtype">void</span>) <span class="keyword">const</span>;</div> <div class="line"><a name="l00819"></a><span class="lineno"> 819</span> };</div> <div class="line"><a name="l00820"></a><span class="lineno"> 820</span> </div> <div class="line"><a name="l00821"></a><span class="lineno"> 821</span> </div> <div class="line"><a name="l00822"></a><span class="lineno"> 822</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="l00823"></a><span class="lineno"> 823</span> </div> <div class="line"><a name="l00824"></a><span class="lineno"> 824</span> <span class="preprocessor">#endif </span><span class="comment">/* #if !UCONFIG_NO_FORMATTING */</span><span class="preprocessor"></span></div> <div class="line"><a name="l00825"></a><span class="lineno"> 825</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00826"></a><span class="lineno"> 826</span> <span class="preprocessor">#endif // TZRULE_H</span></div> <div class="line"><a name="l00827"></a><span class="lineno"> 827</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00828"></a><span class="lineno"> 828</span> <span class="comment">//eof</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.1.1 </small></address> </body> </html>