<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>ICU 3.8: simpletz.h Source File</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.1 --> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="classes.html"><span>Data Structures</span></a></li> <li id="current"><a href="files.html"><span>Files</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li> <form action="search.php" method="get"> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td><label> <u>S</u>earch for </label></td> <td><input type="text" name="query" value="" size="20" accesskey="s"/></td> </tr> </table> </form> </li> </ul></div> <div class="tabs"> <ul> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>Globals</span></a></li> </ul></div> <h1>simpletz.h</h1><a href="simpletz_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/*</span> <a name="l00002"></a>00002 <span class="comment"> ********************************************************************************</span> <a name="l00003"></a>00003 <span class="comment"> * Copyright (C) 1997-2007, International Business Machines *</span> <a name="l00004"></a>00004 <span class="comment"> * Corporation and others. All Rights Reserved. *</span> <a name="l00005"></a>00005 <span class="comment"> ********************************************************************************</span> <a name="l00006"></a>00006 <span class="comment"> *</span> <a name="l00007"></a>00007 <span class="comment"> * File SIMPLETZ.H</span> <a name="l00008"></a>00008 <span class="comment"> *</span> <a name="l00009"></a>00009 <span class="comment"> * Modification History:</span> <a name="l00010"></a>00010 <span class="comment"> *</span> <a name="l00011"></a>00011 <span class="comment"> * Date Name Description</span> <a name="l00012"></a>00012 <span class="comment"> * 04/21/97 aliu Overhauled header.</span> <a name="l00013"></a>00013 <span class="comment"> * 08/10/98 stephen JDK 1.2 sync</span> <a name="l00014"></a>00014 <span class="comment"> * Added setStartRule() / setEndRule() overloads</span> <a name="l00015"></a>00015 <span class="comment"> * Added hasSameRules()</span> <a name="l00016"></a>00016 <span class="comment"> * 09/02/98 stephen Added getOffset(monthLen)</span> <a name="l00017"></a>00017 <span class="comment"> * Changed getOffset() to take UErrorCode</span> <a name="l00018"></a>00018 <span class="comment"> * 07/09/99 stephen Removed millisPerHour (unused, for HP compiler)</span> <a name="l00019"></a>00019 <span class="comment"> * 12/02/99 aliu Added TimeMode and constructor and setStart/EndRule</span> <a name="l00020"></a>00020 <span class="comment"> * methods that take TimeMode. Added to docs.</span> <a name="l00021"></a>00021 <span class="comment"> ********************************************************************************</span> <a name="l00022"></a>00022 <span class="comment"> */</span> <a name="l00023"></a>00023 <a name="l00024"></a>00024 <span class="preprocessor">#ifndef SIMPLETZ_H</span> <a name="l00025"></a>00025 <span class="preprocessor"></span><span class="preprocessor">#define SIMPLETZ_H</span> <a name="l00026"></a>00026 <span class="preprocessor"></span> <a name="l00027"></a>00027 <span class="preprocessor">#include "<a class="code" href="utypes_8h.html">unicode/utypes.h</a>"</span> <a name="l00028"></a>00028 <a name="l00034"></a>00034 <span class="preprocessor">#if !UCONFIG_NO_FORMATTING</span> <a name="l00035"></a>00035 <span class="preprocessor"></span> <a name="l00036"></a>00036 <span class="preprocessor">#include "<a class="code" href="basictz_8h.html">unicode/basictz.h</a>"</span> <a name="l00037"></a>00037 <a name="l00038"></a>00038 <a class="code" href="uversion_8h.html#7d9374e037299886d4192b763b4c5e8b">U_NAMESPACE_BEGIN</a> <a name="l00039"></a>00039 <a name="l00040"></a>00040 <span class="comment">// forward declaration</span> <a name="l00041"></a>00041 <span class="keyword">class </span><a class="code" href="classInitialTimeZoneRule.html">InitialTimeZoneRule</a>; <a name="l00042"></a>00042 <span class="keyword">class </span><a class="code" href="classTimeZoneTransition.html">TimeZoneTransition</a>; <a name="l00043"></a>00043 <span class="keyword">class </span><a class="code" href="classAnnualTimeZoneRule.html">AnnualTimeZoneRule</a>; <a name="l00044"></a>00044 <a name="l00061"></a><a class="code" href="classSimpleTimeZone.html">00061</a> <span class="keyword">class </span><a class="code" href="utypes_8h.html#b9d90a30137b6ec046fe59e79b09745a">U_I18N_API</a> <a class="code" href="classSimpleTimeZone.html">SimpleTimeZone</a>: <span class="keyword">public</span> <a class="code" href="classBasicTimeZone.html">BasicTimeZone</a> { <a name="l00062"></a>00062 <span class="keyword">public</span>: <a name="l00063"></a>00063 <a name="l00075"></a><a class="code" href="classSimpleTimeZone.html#a0134e78ee3cc1d65ea434839d39158e">00075</a> <span class="keyword">enum</span> <a class="code" href="classSimpleTimeZone.html#a0134e78ee3cc1d65ea434839d39158e">TimeMode</a> { <a name="l00076"></a>00076 WALL_TIME = 0, <a name="l00077"></a>00077 STANDARD_TIME, <a name="l00078"></a>00078 UTC_TIME <a name="l00079"></a>00079 }; <a name="l00080"></a>00080 <a name="l00086"></a>00086 <a class="code" href="classSimpleTimeZone.html">SimpleTimeZone</a>(<span class="keyword">const</span> <a class="code" href="classSimpleTimeZone.html">SimpleTimeZone</a>& source); <a name="l00087"></a>00087 <a name="l00093"></a>00093 <a class="code" href="classSimpleTimeZone.html">SimpleTimeZone</a>& <a class="code" href="classTimeZone.html#2b67f0f38a5462a2096ce5e3c0b6890e">operator=</a>(<span class="keyword">const</span> <a class="code" href="classSimpleTimeZone.html">SimpleTimeZone</a>& right); <a name="l00094"></a>00094 <a name="l00099"></a>00099 <span class="keyword">virtual</span> ~<a class="code" href="classSimpleTimeZone.html">SimpleTimeZone</a>(); <a name="l00100"></a>00100 <a name="l00110"></a>00110 <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> <a class="code" href="classTimeZone.html#591f685d631f513d3ada9d53aad57730">operator==</a>(<span class="keyword">const</span> <a class="code" href="classTimeZone.html">TimeZone</a>& that) <span class="keyword">const</span>; <a name="l00111"></a>00111 <a name="l00123"></a>00123 <a class="code" href="classSimpleTimeZone.html">SimpleTimeZone</a>(<a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> rawOffsetGMT, <span class="keyword">const</span> <a class="code" href="classUnicodeString.html">UnicodeString</a>& ID); <a name="l00124"></a>00124 <a name="l00160"></a>00160 <a class="code" href="classSimpleTimeZone.html">SimpleTimeZone</a>(<a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> rawOffsetGMT, <span class="keyword">const</span> <a class="code" href="classUnicodeString.html">UnicodeString</a>& ID, <a name="l00161"></a>00161 <a class="code" href="platform_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> savingsStartMonth, <a class="code" href="platform_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> savingsStartDayOfWeekInMonth, <a name="l00162"></a>00162 <a class="code" href="platform_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> savingsStartDayOfWeek, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> savingsStartTime, <a name="l00163"></a>00163 <a class="code" href="platform_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> savingsEndMonth, <a class="code" href="platform_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> savingsEndDayOfWeekInMonth, <a name="l00164"></a>00164 <a class="code" href="platform_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> savingsEndDayOfWeek, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> savingsEndTime, <a name="l00165"></a>00165 <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status); <a name="l00203"></a>00203 <a class="code" href="classSimpleTimeZone.html">SimpleTimeZone</a>(<a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> rawOffsetGMT, <span class="keyword">const</span> <a class="code" href="classUnicodeString.html">UnicodeString</a>& ID, <a name="l00204"></a>00204 <a class="code" href="platform_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> savingsStartMonth, <a class="code" href="platform_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> savingsStartDayOfWeekInMonth, <a name="l00205"></a>00205 <a class="code" href="platform_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> savingsStartDayOfWeek, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> savingsStartTime, <a name="l00206"></a>00206 <a class="code" href="platform_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> savingsEndMonth, <a class="code" href="platform_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> savingsEndDayOfWeekInMonth, <a name="l00207"></a>00207 <a class="code" href="platform_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> savingsEndDayOfWeek, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> savingsEndTime, <a name="l00208"></a>00208 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> savingsDST, <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status); <a name="l00209"></a>00209 <a name="l00251"></a>00251 <a class="code" href="classSimpleTimeZone.html">SimpleTimeZone</a>(<a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> rawOffsetGMT, <span class="keyword">const</span> <a class="code" href="classUnicodeString.html">UnicodeString</a>& ID, <a name="l00252"></a>00252 <a class="code" href="platform_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> savingsStartMonth, <a class="code" href="platform_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> savingsStartDayOfWeekInMonth, <a name="l00253"></a>00253 <a class="code" href="platform_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> savingsStartDayOfWeek, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> savingsStartTime, <a name="l00254"></a>00254 TimeMode savingsStartTimeMode, <a name="l00255"></a>00255 <a class="code" href="platform_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> savingsEndMonth, <a class="code" href="platform_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> savingsEndDayOfWeekInMonth, <a name="l00256"></a>00256 <a class="code" href="platform_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> savingsEndDayOfWeek, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> savingsEndTime, TimeMode savingsEndTimeMode, <a name="l00257"></a>00257 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> savingsDST, <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status); <a name="l00258"></a>00258 <a name="l00267"></a>00267 <span class="keywordtype">void</span> setStartYear(<a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> year); <a name="l00268"></a>00268 <a name="l00311"></a>00311 <span class="keywordtype">void</span> setStartRule(<a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> month, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfWeekInMonth, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfWeek, <a name="l00312"></a>00312 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> time, <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status); <a name="l00357"></a>00357 <span class="keywordtype">void</span> setStartRule(<a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> month, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfWeekInMonth, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfWeek, <a name="l00358"></a>00358 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> time, TimeMode mode, <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status); <a name="l00359"></a>00359 <a name="l00371"></a>00371 <span class="keywordtype">void</span> setStartRule(<a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> month, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfMonth, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> time, <a name="l00372"></a>00372 <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status); <a name="l00386"></a>00386 <span class="keywordtype">void</span> setStartRule(<a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> month, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfMonth, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> time, <a name="l00387"></a>00387 TimeMode mode, <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status); <a name="l00388"></a>00388 <a name="l00405"></a>00405 <span class="keywordtype">void</span> setStartRule(<a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> month, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfMonth, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfWeek, <a name="l00406"></a>00406 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> time, <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> after, <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status); <a name="l00425"></a>00425 <span class="keywordtype">void</span> setStartRule(<a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> month, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfMonth, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfWeek, <a name="l00426"></a>00426 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> time, TimeMode mode, <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> after, <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status); <a name="l00427"></a>00427 <a name="l00450"></a>00450 <span class="keywordtype">void</span> setEndRule(<a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> month, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfWeekInMonth, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfWeek, <a name="l00451"></a>00451 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> time, <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status); <a name="l00452"></a>00452 <a name="l00477"></a>00477 <span class="keywordtype">void</span> setEndRule(<a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> month, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfWeekInMonth, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfWeek, <a name="l00478"></a>00478 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> time, TimeMode mode, <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status); <a name="l00479"></a>00479 <a name="l00491"></a>00491 <span class="keywordtype">void</span> setEndRule(<a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> month, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfMonth, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> time, <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status); <a name="l00492"></a>00492 <a name="l00506"></a>00506 <span class="keywordtype">void</span> setEndRule(<a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> month, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfMonth, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> time, <a name="l00507"></a>00507 TimeMode mode, <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status); <a name="l00508"></a>00508 <a name="l00525"></a>00525 <span class="keywordtype">void</span> setEndRule(<a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> month, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfMonth, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfWeek, <a name="l00526"></a>00526 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> time, <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> after, <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status); <a name="l00527"></a>00527 <a name="l00546"></a>00546 <span class="keywordtype">void</span> setEndRule(<a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> month, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfMonth, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfWeek, <a name="l00547"></a>00547 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> time, TimeMode mode, <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> after, <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status); <a name="l00548"></a>00548 <a name="l00569"></a>00569 <span class="keyword">virtual</span> <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> <a class="code" href="classTimeZone.html#017d9aeff3e3bbef824088d8fadeb800">getOffset</a>(<a class="code" href="platform_8h.html#ba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> era, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> year, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> month, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> day, <a name="l00570"></a>00570 <a class="code" href="platform_8h.html#ba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> dayOfWeek, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> millis, <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status) <span class="keyword">const</span>; <a name="l00571"></a>00571 <a name="l00587"></a>00587 <span class="keyword">virtual</span> <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> <a class="code" href="classTimeZone.html#017d9aeff3e3bbef824088d8fadeb800">getOffset</a>(<a class="code" href="platform_8h.html#ba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> era, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> year, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> month, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> day, <a name="l00588"></a>00588 <a class="code" href="platform_8h.html#ba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> dayOfWeek, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> milliseconds, <a name="l00589"></a>00589 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> monthLength, <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status) <span class="keyword">const</span>; <a name="l00606"></a>00606 <span class="keyword">virtual</span> <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> <a class="code" href="classTimeZone.html#017d9aeff3e3bbef824088d8fadeb800">getOffset</a>(<a class="code" href="platform_8h.html#ba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> era, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> year, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> month, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> day, <a name="l00607"></a>00607 <a class="code" href="platform_8h.html#ba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> dayOfWeek, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> milliseconds, <a name="l00608"></a>00608 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> monthLength, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> prevMonthLength, <a name="l00609"></a>00609 <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status) <span class="keyword">const</span>; <a name="l00610"></a>00610 <a name="l00616"></a>00616 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTimeZone.html#017d9aeff3e3bbef824088d8fadeb800">getOffset</a>(<a class="code" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a> date, <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> local, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>& rawOffset, <a name="l00617"></a>00617 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>& dstOffset, <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& ec) <span class="keyword">const</span>; <a name="l00618"></a>00618 <a name="l00626"></a>00626 <span class="keyword">virtual</span> <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> <a class="code" href="classTimeZone.html#8ad1d8e8ab11e48628ff5789d8d0170d">getRawOffset</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>; <a name="l00627"></a>00627 <a name="l00635"></a>00635 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classTimeZone.html#a10a9a17184453e742bab37a99efb84e">setRawOffset</a>(<a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> offsetMillis); <a name="l00636"></a>00636 <a name="l00645"></a>00645 <span class="keywordtype">void</span> setDSTSavings(<a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> millisSavedDuringDST, <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status); <a name="l00646"></a>00646 <a name="l00654"></a>00654 <span class="keyword">virtual</span> <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> <a class="code" href="classTimeZone.html#1c134ea1ad9c382d01361f12a7dfb2e1">getDSTSavings</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>; <a name="l00655"></a>00655 <a name="l00662"></a>00662 <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> <a class="code" href="classTimeZone.html#075576d70d80a056b9b9f8ef39acafee">useDaylightTime</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>; <a name="l00663"></a>00663 <a name="l00678"></a>00678 <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> <a class="code" href="classTimeZone.html#726198e7a64efd59f10cd22b5c7aaca1">inDaylightTime</a>(<a class="code" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a> date, <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status) <span class="keyword">const</span>; <a name="l00679"></a>00679 <a name="l00686"></a>00686 <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> <a class="code" href="classTimeZone.html#689ea7b18c55593b1e7ce07e893fb250">hasSameRules</a>(<span class="keyword">const</span> <a class="code" href="classTimeZone.html">TimeZone</a>& other) <span class="keyword">const</span>; <a name="l00687"></a>00687 <a name="l00695"></a>00695 <span class="keyword">virtual</span> <a class="code" href="classTimeZone.html">TimeZone</a>* <a class="code" href="classTimeZone.html#35b23140b29f59560b12da3450289347">clone</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>; <a name="l00696"></a>00696 <a name="l00705"></a>00705 <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> <a class="code" href="classBasicTimeZone.html#7139f3be13450d9833717644227fd2e4">getNextTransition</a>(<a class="code" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a> base, <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> inclusive, <a class="code" href="classTimeZoneTransition.html">TimeZoneTransition</a>& result) <span class="comment">/*const*/</span>; <a name="l00706"></a>00706 <a name="l00715"></a>00715 <span class="keyword">virtual</span> <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> <a class="code" href="classBasicTimeZone.html#8eb6e573592f43efdb497e20c7a34beb">getPreviousTransition</a>(<a class="code" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a> base, <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> inclusive, <a class="code" href="classTimeZoneTransition.html">TimeZoneTransition</a>& result) <span class="comment">/*const*/</span>; <a name="l00716"></a>00716 <a name="l00725"></a>00725 <span class="keyword">virtual</span> <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> <a class="code" href="classBasicTimeZone.html#6a24226cfc738d554a2a563021ccee28">countTransitionRules</a>(<a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status) <span class="comment">/*const*/</span>; <a name="l00726"></a>00726 <a name="l00743"></a>00743 <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classBasicTimeZone.html#4db4254a521bad3811df69ba032369fe">getTimeZoneRules</a>(<span class="keyword">const</span> <a class="code" href="classInitialTimeZoneRule.html">InitialTimeZoneRule</a>*& initial, <a name="l00744"></a>00744 <span class="keyword">const</span> <a class="code" href="classTimeZoneRule.html">TimeZoneRule</a>* trsrules[], <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>& trscount, <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status) <span class="comment">/*const*/</span>; <a name="l00745"></a>00745 <a name="l00746"></a>00746 <a name="l00747"></a>00747 <span class="keyword">public</span>: <a name="l00748"></a>00748 <a name="l00759"></a>00759 <span class="keyword">virtual</span> <a class="code" href="utypes_8h.html#22af10545208a455a6e884008df48e9f">UClassID</a> <a class="code" href="classTimeZone.html#825e1474130ebcdfedc7ffa64c016220">getDynamicClassID</a>(<span class="keywordtype">void</span>) <span class="keyword">const</span>; <a name="l00760"></a>00760 <a name="l00772"></a>00772 <span class="keyword">static</span> <a class="code" href="utypes_8h.html#22af10545208a455a6e884008df48e9f">UClassID</a> <a class="code" href="platform_8h.html#72bf6d8ec0640a37b1915e5d853b2016">U_EXPORT2</a> <a class="code" href="classTimeZone.html#6089503a336da33a745c99ce9a03bc16">getStaticClassID</a>(<span class="keywordtype">void</span>); <a name="l00773"></a>00773 <a name="l00774"></a>00774 <span class="keyword">private</span>: <a name="l00778"></a>00778 <span class="keyword">enum</span> EMode <a name="l00779"></a>00779 { <a name="l00780"></a>00780 DOM_MODE = 1, <a name="l00781"></a>00781 DOW_IN_MONTH_MODE, <a name="l00782"></a>00782 DOW_GE_DOM_MODE, <a name="l00783"></a>00783 DOW_LE_DOM_MODE <a name="l00784"></a>00784 }; <a name="l00785"></a>00785 <a name="l00786"></a>00786 <a class="code" href="classSimpleTimeZone.html">SimpleTimeZone</a>(); <span class="comment">// default constructor not implemented</span> <a name="l00787"></a>00787 <a name="l00807"></a>00807 <span class="keywordtype">void</span> construct(<a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> rawOffsetGMT, <a name="l00808"></a>00808 <a class="code" href="platform_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> startMonth, <a class="code" href="platform_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> startDay, <a class="code" href="platform_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> startDayOfWeek, <a name="l00809"></a>00809 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> startTime, TimeMode startTimeMode, <a name="l00810"></a>00810 <a class="code" href="platform_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> endMonth, <a class="code" href="platform_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> endDay, <a class="code" href="platform_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> endDayOfWeek, <a name="l00811"></a>00811 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> endTime, TimeMode endTimeMode, <a name="l00812"></a>00812 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dstSavings, <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status); <a name="l00813"></a>00813 <a name="l00823"></a>00823 <span class="keyword">static</span> <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> compareToRule(<a class="code" href="platform_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> month, <a class="code" href="platform_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> monthLen, <a class="code" href="platform_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> prevMonthLen, <a name="l00824"></a>00824 <a class="code" href="platform_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> dayOfMonth, <a name="l00825"></a>00825 <a class="code" href="platform_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> dayOfWeek, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> millis, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> millisDelta, <a name="l00826"></a>00826 EMode ruleMode, <a class="code" href="platform_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> ruleMonth, <a class="code" href="platform_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> ruleDayOfWeek, <a name="l00827"></a>00827 <a class="code" href="platform_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> ruleDay, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> ruleMillis); <a name="l00828"></a>00828 <a name="l00844"></a>00844 <span class="keywordtype">void</span> decodeRules(<a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status); <a name="l00845"></a>00845 <span class="keywordtype">void</span> decodeStartRule(<a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status); <a name="l00846"></a>00846 <span class="keywordtype">void</span> decodeEndRule(<a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status); <a name="l00847"></a>00847 <a name="l00848"></a>00848 <a class="code" href="platform_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> startMonth, startDay, startDayOfWeek; <span class="comment">// the month, day, DOW, and time DST starts</span> <a name="l00849"></a>00849 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> startTime; <a name="l00850"></a>00850 TimeMode startTimeMode, endTimeMode; <span class="comment">// Mode for startTime, endTime; see TimeMode</span> <a name="l00851"></a>00851 <a class="code" href="platform_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> endMonth, endDay, endDayOfWeek; <span class="comment">// the month, day, DOW, and time DST ends</span> <a name="l00852"></a>00852 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> endTime; <a name="l00853"></a>00853 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> startYear; <span class="comment">// the year these DST rules took effect</span> <a name="l00854"></a>00854 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> rawOffset; <span class="comment">// the TimeZone's raw GMT offset</span> <a name="l00855"></a>00855 <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> useDaylight; <span class="comment">// flag indicating whether this TimeZone uses DST</span> <a name="l00856"></a>00856 <span class="keyword">static</span> <span class="keyword">const</span> <a class="code" href="platform_8h.html#ef44329758059c91c76d334e8fc09700">int8_t</a> STATICMONTHLENGTH[12]; <span class="comment">// lengths of the months</span> <a name="l00857"></a>00857 EMode startMode, endMode; <span class="comment">// flags indicating what kind of rules the DST rules are</span> <a name="l00858"></a>00858 <a name="l00863"></a>00863 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dstSavings; <a name="l00864"></a>00864 <a name="l00865"></a>00865 <span class="comment">/* Private for BasicTimeZone implementation */</span> <a name="l00866"></a>00866 <span class="keywordtype">void</span> initTransitionRules(<a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status); <a name="l00867"></a>00867 <span class="keywordtype">void</span> clearTransitionRules(<span class="keywordtype">void</span>); <a name="l00868"></a>00868 <span class="keywordtype">void</span> deleteTransitionRules(<span class="keywordtype">void</span>); <a name="l00869"></a>00869 <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> transitionRulesInitialized; <a name="l00870"></a>00870 <a class="code" href="classInitialTimeZoneRule.html">InitialTimeZoneRule</a>* initialRule; <a name="l00871"></a>00871 <a class="code" href="classTimeZoneTransition.html">TimeZoneTransition</a>* firstTransition; <a name="l00872"></a>00872 <a class="code" href="classAnnualTimeZoneRule.html">AnnualTimeZoneRule</a>* stdRule; <a name="l00873"></a>00873 <a class="code" href="classAnnualTimeZoneRule.html">AnnualTimeZoneRule</a>* dstRule; <a name="l00874"></a>00874 }; <a name="l00875"></a>00875 <a name="l00876"></a><a class="code" href="classSimpleTimeZone.html#8c4a9581b04860da2c1cee479a47f196">00876</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classSimpleTimeZone.html#8c4a9581b04860da2c1cee479a47f196">SimpleTimeZone::setStartRule</a>(<a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> month, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfWeekInMonth, <a name="l00877"></a>00877 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfWeek, <a name="l00878"></a>00878 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> time, <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status) { <a name="l00879"></a>00879 <a class="code" href="classSimpleTimeZone.html#8c4a9581b04860da2c1cee479a47f196">setStartRule</a>(month, dayOfWeekInMonth, dayOfWeek, time, WALL_TIME, status); <a name="l00880"></a>00880 } <a name="l00881"></a>00881 <a name="l00882"></a><a class="code" href="classSimpleTimeZone.html#804b78f9d989933d8f01e7da8d847a78">00882</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classSimpleTimeZone.html#8c4a9581b04860da2c1cee479a47f196">SimpleTimeZone::setStartRule</a>(<a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> month, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfMonth, <a name="l00883"></a>00883 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> time, <a name="l00884"></a>00884 <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status) { <a name="l00885"></a>00885 <a class="code" href="classSimpleTimeZone.html#8c4a9581b04860da2c1cee479a47f196">setStartRule</a>(month, dayOfMonth, time, WALL_TIME, status); <a name="l00886"></a>00886 } <a name="l00887"></a>00887 <a name="l00888"></a><a class="code" href="classSimpleTimeZone.html#660bbd9cb4ac87a081aa9a31e46e651c">00888</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classSimpleTimeZone.html#8c4a9581b04860da2c1cee479a47f196">SimpleTimeZone::setStartRule</a>(<a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> month, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfMonth, <a name="l00889"></a>00889 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfWeek, <a name="l00890"></a>00890 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> time, <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> after, <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status) { <a name="l00891"></a>00891 <a class="code" href="classSimpleTimeZone.html#8c4a9581b04860da2c1cee479a47f196">setStartRule</a>(month, dayOfMonth, dayOfWeek, time, WALL_TIME, after, status); <a name="l00892"></a>00892 } <a name="l00893"></a>00893 <a name="l00894"></a><a class="code" href="classSimpleTimeZone.html#e2eee23700f7405a563cf01e3cedd797">00894</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classSimpleTimeZone.html#e2eee23700f7405a563cf01e3cedd797">SimpleTimeZone::setEndRule</a>(<a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> month, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfWeekInMonth, <a name="l00895"></a>00895 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfWeek, <a name="l00896"></a>00896 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> time, <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status) { <a name="l00897"></a>00897 <a class="code" href="classSimpleTimeZone.html#e2eee23700f7405a563cf01e3cedd797">setEndRule</a>(month, dayOfWeekInMonth, dayOfWeek, time, WALL_TIME, status); <a name="l00898"></a>00898 } <a name="l00899"></a>00899 <a name="l00900"></a><a class="code" href="classSimpleTimeZone.html#74dd5abdc15565cde82c64354b9897a2">00900</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classSimpleTimeZone.html#e2eee23700f7405a563cf01e3cedd797">SimpleTimeZone::setEndRule</a>(<a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> month, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfMonth, <a name="l00901"></a>00901 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> time, <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status) { <a name="l00902"></a>00902 <a class="code" href="classSimpleTimeZone.html#e2eee23700f7405a563cf01e3cedd797">setEndRule</a>(month, dayOfMonth, time, WALL_TIME, status); <a name="l00903"></a>00903 } <a name="l00904"></a>00904 <a name="l00905"></a><a class="code" href="classSimpleTimeZone.html#fd814ed5b3e6dec7d9713b1f29e7652e">00905</a> <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classSimpleTimeZone.html#e2eee23700f7405a563cf01e3cedd797">SimpleTimeZone::setEndRule</a>(<a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> month, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfMonth, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfWeek, <a name="l00906"></a>00906 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> time, <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> after, <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& status) { <a name="l00907"></a>00907 <a class="code" href="classSimpleTimeZone.html#e2eee23700f7405a563cf01e3cedd797">setEndRule</a>(month, dayOfMonth, dayOfWeek, time, WALL_TIME, after, status); <a name="l00908"></a>00908 } <a name="l00909"></a>00909 <a name="l00910"></a>00910 <span class="keyword">inline</span> <span class="keywordtype">void</span> <a name="l00911"></a><a class="code" href="classSimpleTimeZone.html#7af810373fc0ec1c97fb23fb40c43c01">00911</a> <a class="code" href="classSimpleTimeZone.html#bc1b15b477116968f77a3c5ab9e85d32">SimpleTimeZone::getOffset</a>(<a class="code" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a> date, <a class="code" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> local, <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>& rawOffsetRef, <a name="l00912"></a>00912 <a class="code" href="platform_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>& dstOffsetRef, <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a>& ec)<span class="keyword"> const </span>{ <a name="l00913"></a>00913 <a class="code" href="classTimeZone.html#017d9aeff3e3bbef824088d8fadeb800">TimeZone::getOffset</a>(date, local, rawOffsetRef, dstOffsetRef, ec); <a name="l00914"></a>00914 } <a name="l00915"></a>00915 <a name="l00916"></a>00916 <a class="code" href="uversion_8h.html#3da1f00f3b02976ac53c014a3e4c0933">U_NAMESPACE_END</a> <a name="l00917"></a>00917 <a name="l00918"></a>00918 <span class="preprocessor">#endif </span><span class="comment">/* #if !UCONFIG_NO_FORMATTING */</span> <a name="l00919"></a>00919 <a name="l00920"></a>00920 <span class="preprocessor">#endif // _SIMPLETZ</span> </pre></div><hr size="1"><address style="align: right;"><small>Generated on Fri Sep 14 12:59:20 2007 for ICU 3.8 by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address> </body> </html>