Sophie

Sophie

distrib > CentOS > 5 > x86_64 > by-pkgid > 34ae14235711d1471f043ac894a061f9 > files > 129

libicu-doc-3.6-5.16.1.x86_64.rpm

<!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.6: SimpleTimeZone Class Reference</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.4.7 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</span></a></li>
    <li id="current"><a href="classes.html"><span>Data&nbsp;Structures</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
    <li>
      <form action="search.php" method="get">
        <table cellspacing="0" cellpadding="0" border="0">
          <tr>
            <td><label>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</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="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
  </ul></div>
<h1>SimpleTimeZone Class Reference</h1><!-- doxytag: class="SimpleTimeZone" --><!-- doxytag: inherits="TimeZone" --><code><a class="el" href="classSimpleTimeZone.html">SimpleTimeZone</a></code> is a concrete subclass of <code><a class="el" href="classTimeZone.html">TimeZone</a></code> that represents a time zone for use with a Gregorian calendar.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="simpletz_8h-source.html">simpletz.h</a>&gt;</code>
<p>
<p>Inheritance diagram for SimpleTimeZone:
<p><center><img src="classSimpleTimeZone.png" usemap="#SimpleTimeZone_map" border="0" alt=""></center>
<map name="SimpleTimeZone_map">
<area href="classTimeZone.html" alt="TimeZone" shape="rect" coords="0,112,105,136">
<area href="classUObject.html" alt="UObject" shape="rect" coords="0,56,105,80">
<area href="classUMemory.html" alt="UMemory" shape="rect" coords="0,0,105,24">
</map>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c4d0a4414106e3bbce3e1815593f909ebd3934feb04890cfa0c30ff98447a09c"></a><!-- doxytag: member="SimpleTimeZone::WALL_TIME" ref="c4d0a4414106e3bbce3e1815593f909ebd3934feb04890cfa0c30ff98447a09c" args="" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>WALL_TIME</b> = 0</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c4d0a4414106e3bbce3e1815593f909eda79cb27c29e9f1ecadefe53cc9877cb"></a><!-- doxytag: member="SimpleTimeZone::STANDARD_TIME" ref="c4d0a4414106e3bbce3e1815593f909eda79cb27c29e9f1ecadefe53cc9877cb" args="" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>STANDARD_TIME</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c4d0a4414106e3bbce3e1815593f909e50a91bca366825ba0c202ef73a4c8770"></a><!-- doxytag: member="SimpleTimeZone::UTC_TIME" ref="c4d0a4414106e3bbce3e1815593f909e50a91bca366825ba0c202ef73a4c8770" args="" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><b>UTC_TIME</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#c4d0a4414106e3bbce3e1815593f909e">TimeMode</a> { <b>WALL_TIME</b> =  0, 
<b>STANDARD_TIME</b>, 
<b>UTC_TIME</b>
 }</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">TimeMode is used, together with a millisecond offset after midnight, to specify a rule transition time.  <a href="classSimpleTimeZone.html#c4d0a4414106e3bbce3e1815593f909e">More...</a><br></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#3f91f6fdad95bf19046fede60860d185">SimpleTimeZone</a> (const <a class="el" href="classSimpleTimeZone.html">SimpleTimeZone</a> &amp;source)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copy constructor.  <a href="#3f91f6fdad95bf19046fede60860d185"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classSimpleTimeZone.html">SimpleTimeZone</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#93b6d22f3348f3733ad3cd3937ba8f63">operator=</a> (const <a class="el" href="classSimpleTimeZone.html">SimpleTimeZone</a> &amp;right)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default assignment operator.  <a href="#93b6d22f3348f3733ad3cd3937ba8f63"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#21b9f75b28ea8d2283cbb8d72f6d0164">~SimpleTimeZone</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor.  <a href="#21b9f75b28ea8d2283cbb8d72f6d0164"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="umachine_8h.html#d373ce262c37cc047b0df2ad7b5dbba7">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#a9b7b67df89b607eee1c67393f54901b">operator==</a> (const <a class="el" href="classTimeZone.html">TimeZone</a> &amp;that) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true if the two <a class="el" href="classTimeZone.html">TimeZone</a> objects are equal; that is, they have the same ID, raw GMT offset, and DST rules.  <a href="#a9b7b67df89b607eee1c67393f54901b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#7005fdd48b25416f14aa96319ec834ec">SimpleTimeZone</a> (<a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> rawOffsetGMT, const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;ID)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a <a class="el" href="classSimpleTimeZone.html">SimpleTimeZone</a> with the given raw GMT offset and time zone ID, and which doesn't observe daylight savings time.  <a href="#7005fdd48b25416f14aa96319ec834ec"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#144a0d6e48543d9ffe901078ad71ad9e">SimpleTimeZone</a> (<a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> rawOffsetGMT, const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;ID, <a class="el" href="pwin32_8h.html#f3f9a8b2328f92109b6784c2e5e60543">int8_t</a> savingsStartMonth, <a class="el" href="pwin32_8h.html#f3f9a8b2328f92109b6784c2e5e60543">int8_t</a> savingsStartDayOfWeekInMonth, <a class="el" href="pwin32_8h.html#f3f9a8b2328f92109b6784c2e5e60543">int8_t</a> savingsStartDayOfWeek, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> savingsStartTime, <a class="el" href="pwin32_8h.html#f3f9a8b2328f92109b6784c2e5e60543">int8_t</a> savingsEndMonth, <a class="el" href="pwin32_8h.html#f3f9a8b2328f92109b6784c2e5e60543">int8_t</a> savingsEndDayOfWeekInMonth, <a class="el" href="pwin32_8h.html#f3f9a8b2328f92109b6784c2e5e60543">int8_t</a> savingsEndDayOfWeek, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> savingsEndTime, <a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Construct a <a class="el" href="classSimpleTimeZone.html">SimpleTimeZone</a> with the given raw GMT offset, time zone ID, and times to start and end daylight savings time.  <a href="#144a0d6e48543d9ffe901078ad71ad9e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#9406de6bd293ab1f4d147b5110c6fb08">SimpleTimeZone</a> (<a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> rawOffsetGMT, const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;ID, <a class="el" href="pwin32_8h.html#f3f9a8b2328f92109b6784c2e5e60543">int8_t</a> savingsStartMonth, <a class="el" href="pwin32_8h.html#f3f9a8b2328f92109b6784c2e5e60543">int8_t</a> savingsStartDayOfWeekInMonth, <a class="el" href="pwin32_8h.html#f3f9a8b2328f92109b6784c2e5e60543">int8_t</a> savingsStartDayOfWeek, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> savingsStartTime, <a class="el" href="pwin32_8h.html#f3f9a8b2328f92109b6784c2e5e60543">int8_t</a> savingsEndMonth, <a class="el" href="pwin32_8h.html#f3f9a8b2328f92109b6784c2e5e60543">int8_t</a> savingsEndDayOfWeekInMonth, <a class="el" href="pwin32_8h.html#f3f9a8b2328f92109b6784c2e5e60543">int8_t</a> savingsEndDayOfWeek, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> savingsEndTime, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> savingsDST, <a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Construct a <a class="el" href="classSimpleTimeZone.html">SimpleTimeZone</a> with the given raw GMT offset, time zone ID, and times to start and end daylight savings time.  <a href="#9406de6bd293ab1f4d147b5110c6fb08"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#2cee74dd54546cba4e96e89d57a77183">SimpleTimeZone</a> (<a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> rawOffsetGMT, const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;ID, <a class="el" href="pwin32_8h.html#f3f9a8b2328f92109b6784c2e5e60543">int8_t</a> savingsStartMonth, <a class="el" href="pwin32_8h.html#f3f9a8b2328f92109b6784c2e5e60543">int8_t</a> savingsStartDayOfWeekInMonth, <a class="el" href="pwin32_8h.html#f3f9a8b2328f92109b6784c2e5e60543">int8_t</a> savingsStartDayOfWeek, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> savingsStartTime, <a class="el" href="classSimpleTimeZone.html#c4d0a4414106e3bbce3e1815593f909e">TimeMode</a> savingsStartTimeMode, <a class="el" href="pwin32_8h.html#f3f9a8b2328f92109b6784c2e5e60543">int8_t</a> savingsEndMonth, <a class="el" href="pwin32_8h.html#f3f9a8b2328f92109b6784c2e5e60543">int8_t</a> savingsEndDayOfWeekInMonth, <a class="el" href="pwin32_8h.html#f3f9a8b2328f92109b6784c2e5e60543">int8_t</a> savingsEndDayOfWeek, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> savingsEndTime, <a class="el" href="classSimpleTimeZone.html#c4d0a4414106e3bbce3e1815593f909e">TimeMode</a> savingsEndTimeMode, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> savingsDST, <a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Construct a <a class="el" href="classSimpleTimeZone.html">SimpleTimeZone</a> with the given raw GMT offset, time zone ID, and times to start and end daylight savings time.  <a href="#2cee74dd54546cba4e96e89d57a77183"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#de66392021256ef1b15c415f36bdcce9">setStartYear</a> (<a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> year)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the daylight savings starting year, that is, the year this time zone began observing its specified daylight savings time rules.  <a href="#de66392021256ef1b15c415f36bdcce9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#b3702b6e8fc81ee0b273c1e2b9fa1c85">setStartRule</a> (<a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> month, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> dayOfWeekInMonth, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> dayOfWeek, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> time, <a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the daylight savings starting rule.  <a href="#b3702b6e8fc81ee0b273c1e2b9fa1c85"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#c505a989b4dfd59d268ba9d1bbf7fc97">setStartRule</a> (<a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> month, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> dayOfWeekInMonth, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> dayOfWeek, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> time, <a class="el" href="classSimpleTimeZone.html#c4d0a4414106e3bbce3e1815593f909e">TimeMode</a> mode, <a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the daylight savings starting rule.  <a href="#c505a989b4dfd59d268ba9d1bbf7fc97"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#eb9b80a0960ca6a14e4540ef55a9fc7e">setStartRule</a> (<a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> month, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> dayOfMonth, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> time, <a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the DST start rule to a fixed date within a month.  <a href="#eb9b80a0960ca6a14e4540ef55a9fc7e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#0713e66eb97dbc7fb0539b3964e856b4">setStartRule</a> (<a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> month, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> dayOfMonth, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> time, <a class="el" href="classSimpleTimeZone.html#c4d0a4414106e3bbce3e1815593f909e">TimeMode</a> mode, <a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the DST start rule to a fixed date within a month.  <a href="#0713e66eb97dbc7fb0539b3964e856b4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#83e06b9af8fd3d3c34a1b1b9374a8c74">setStartRule</a> (<a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> month, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> dayOfMonth, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> dayOfWeek, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> time, <a class="el" href="umachine_8h.html#d373ce262c37cc047b0df2ad7b5dbba7">UBool</a> after, <a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the DST start rule to a weekday before or after a give date within a month, e.g., the first Monday on or after the 8th.  <a href="#83e06b9af8fd3d3c34a1b1b9374a8c74"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#c565fe0a23e141b1d0849220776c5d49">setStartRule</a> (<a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> month, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> dayOfMonth, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> dayOfWeek, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> time, <a class="el" href="classSimpleTimeZone.html#c4d0a4414106e3bbce3e1815593f909e">TimeMode</a> mode, <a class="el" href="umachine_8h.html#d373ce262c37cc047b0df2ad7b5dbba7">UBool</a> after, <a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the DST start rule to a weekday before or after a give date within a month, e.g., the first Monday on or after the 8th.  <a href="#c565fe0a23e141b1d0849220776c5d49"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#f66f5b79e79742160e1640a5a4b90a3d">setEndRule</a> (<a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> month, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> dayOfWeekInMonth, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> dayOfWeek, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> time, <a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the daylight savings ending rule.  <a href="#f66f5b79e79742160e1640a5a4b90a3d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#98de14e1378a50fe56442632ea330947">setEndRule</a> (<a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> month, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> dayOfWeekInMonth, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> dayOfWeek, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> time, <a class="el" href="classSimpleTimeZone.html#c4d0a4414106e3bbce3e1815593f909e">TimeMode</a> mode, <a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the daylight savings ending rule.  <a href="#98de14e1378a50fe56442632ea330947"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#72ccbb15e1443117ea9c398006cc1e86">setEndRule</a> (<a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> month, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> dayOfMonth, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> time, <a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the DST end rule to a fixed date within a month.  <a href="#72ccbb15e1443117ea9c398006cc1e86"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#283d6f156fcfc98c9a24371db26d19da">setEndRule</a> (<a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> month, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> dayOfMonth, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> time, <a class="el" href="classSimpleTimeZone.html#c4d0a4414106e3bbce3e1815593f909e">TimeMode</a> mode, <a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the DST end rule to a fixed date within a month.  <a href="#283d6f156fcfc98c9a24371db26d19da"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#892f3df8967a00f1ba3b8ca8674ab880">setEndRule</a> (<a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> month, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> dayOfMonth, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> dayOfWeek, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> time, <a class="el" href="umachine_8h.html#d373ce262c37cc047b0df2ad7b5dbba7">UBool</a> after, <a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the DST end rule to a weekday before or after a give date within a month, e.g., the first Monday on or after the 8th.  <a href="#892f3df8967a00f1ba3b8ca8674ab880"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#df95c629eb2139d1e32e386758ca4107">setEndRule</a> (<a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> month, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> dayOfMonth, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> dayOfWeek, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> time, <a class="el" href="classSimpleTimeZone.html#c4d0a4414106e3bbce3e1815593f909e">TimeMode</a> mode, <a class="el" href="umachine_8h.html#d373ce262c37cc047b0df2ad7b5dbba7">UBool</a> after, <a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the DST end rule to a weekday before or after a give date within a month, e.g., the first Monday on or after the 8th.  <a href="#df95c629eb2139d1e32e386758ca4107"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#ea60b8179181023b430528cd4c834ef3">getOffset</a> (<a class="el" href="pwin32_8h.html#3ebf7c4fcbf17b618a01df30a79859d3">uint8_t</a> era, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> year, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> month, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> day, <a class="el" href="pwin32_8h.html#3ebf7c4fcbf17b618a01df30a79859d3">uint8_t</a> dayOfWeek, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> millis, <a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;status) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the TimeZone's adjusted GMT offset (i.e., the number of milliseconds to add to GMT to get local time in this time zone, taking daylight savings time into account) as of a particular reference date.  <a href="#ea60b8179181023b430528cd4c834ef3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#c542bc959b5ad6ffc3085cfcf3a0157d">getOffset</a> (<a class="el" href="pwin32_8h.html#3ebf7c4fcbf17b618a01df30a79859d3">uint8_t</a> era, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> year, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> month, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> day, <a class="el" href="pwin32_8h.html#3ebf7c4fcbf17b618a01df30a79859d3">uint8_t</a> dayOfWeek, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> milliseconds, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> monthLength, <a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;status) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the time zone offset, for current date, modified in case of daylight savings.  <a href="#c542bc959b5ad6ffc3085cfcf3a0157d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#0c5276c9cf2969032143780fb1ee629f">getOffset</a> (<a class="el" href="pwin32_8h.html#3ebf7c4fcbf17b618a01df30a79859d3">uint8_t</a> era, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> year, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> month, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> day, <a class="el" href="pwin32_8h.html#3ebf7c4fcbf17b618a01df30a79859d3">uint8_t</a> dayOfWeek, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> milliseconds, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> monthLength, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> prevMonthLength, <a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;status) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the time zone offset, for current date, modified in case of daylight savings.  <a href="#0c5276c9cf2969032143780fb1ee629f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#28753e766bb2ceafb0fa8be94a7204db">getOffset</a> (<a class="el" href="utypes_8h.html#e96c34189656815fe8f67e288f9bf8bf">UDate</a> date, <a class="el" href="umachine_8h.html#d373ce262c37cc047b0df2ad7b5dbba7">UBool</a> local, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> &amp;rawOffset, <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> &amp;dstOffset, <a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;ec) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Redeclared <a class="el" href="classTimeZone.html">TimeZone</a> method.  <a href="#28753e766bb2ceafb0fa8be94a7204db"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#c8454f7720b422833eabc99fe95921a0">getRawOffset</a> (void) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the TimeZone's raw GMT offset (i.e., the number of milliseconds to add to GMT to get local time, before taking daylight savings time into account).  <a href="#c8454f7720b422833eabc99fe95921a0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#0f33a7ec0c5590e8a9a587acb8c8678c">setRawOffset</a> (<a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> offsetMillis)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the TimeZone's raw GMT offset (i.e., the number of milliseconds to add to GMT to get local time, before taking daylight savings time into account).  <a href="#0f33a7ec0c5590e8a9a587acb8c8678c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#8afd2639e5f3bb121e7f2083cf5fac3f">setDSTSavings</a> (<a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> millisSavedDuringDST, <a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the amount of time in ms that the clock is advanced during DST.  <a href="#8afd2639e5f3bb121e7f2083cf5fac3f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#aea799fe8b99baf9c62cb774f099505e">getDSTSavings</a> (void) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the amount of time in ms that the clock is advanced during DST.  <a href="#aea799fe8b99baf9c62cb774f099505e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="umachine_8h.html#d373ce262c37cc047b0df2ad7b5dbba7">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#d5e04b9efdad3b36102334896d8f4f86">useDaylightTime</a> (void) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Queries if this <a class="el" href="classTimeZone.html">TimeZone</a> uses Daylight Savings Time.  <a href="#d5e04b9efdad3b36102334896d8f4f86"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="umachine_8h.html#d373ce262c37cc047b0df2ad7b5dbba7">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#9f2c3b663d70eaffc01609cd1b56a44c">inDaylightTime</a> (<a class="el" href="utypes_8h.html#e96c34189656815fe8f67e288f9bf8bf">UDate</a> date, <a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;status) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true if the given date is within the period when daylight savings time is in effect; false otherwise.  <a href="#9f2c3b663d70eaffc01609cd1b56a44c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="umachine_8h.html#d373ce262c37cc047b0df2ad7b5dbba7">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#49ee10c4330cc5d8fd0549a6416b76b1">hasSameRules</a> (const <a class="el" href="classTimeZone.html">TimeZone</a> &amp;other) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return true if this zone has the same rules and offset as another zone.  <a href="#49ee10c4330cc5d8fd0549a6416b76b1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classTimeZone.html">TimeZone</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#3678aa10f25e6b2b20439fb2498e9d8f">clone</a> (void) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Clones <a class="el" href="classTimeZone.html">TimeZone</a> objects polymorphically.  <a href="#3678aa10f25e6b2b20439fb2498e9d8f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="utypes_8h.html#452dc3c7d14eb1a1837ae1aa0b2d6724">UClassID</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#58c4d8c0ef3b1b90dc5e41457f58c936">getDynamicClassID</a> (void) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Override <a class="el" href="classTimeZone.html">TimeZone</a> Returns a unique class ID POLYMORPHICALLY.  <a href="#58c4d8c0ef3b1b90dc5e41457f58c936"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="utypes_8h.html#452dc3c7d14eb1a1837ae1aa0b2d6724">UClassID</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSimpleTimeZone.html#1df3be5dc8b99a406efea9643a0049e5">getStaticClassID</a> (void)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the class ID for this class.  <a href="#1df3be5dc8b99a406efea9643a0049e5"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<code><a class="el" href="classSimpleTimeZone.html">SimpleTimeZone</a></code> is a concrete subclass of <code><a class="el" href="classTimeZone.html">TimeZone</a></code> that represents a time zone for use with a Gregorian calendar. 
<p>
This class does not handle historical changes. <p>
When specifying daylight-savings-time begin and end dates, use a negative value for <code>dayOfWeekInMonth</code> to indicate that <code><a class="el" href="classSimpleTimeZone.html">SimpleTimeZone</a></code> should count from the end of the month backwards. For example, in the U.S., Daylight Savings Time ends at the last (dayOfWeekInMonth = -1) Sunday in October, at 2 AM in standard time.<p>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classCalendar.html">Calendar</a> <p>
<a class="el" href="classGregorianCalendar.html">GregorianCalendar</a> <p>
<a class="el" href="classTimeZone.html">TimeZone</a> </dd></dl>
<dl compact><dt><b>Author:</b></dt><dd>D. Goldsmith, Mark Davis, Chen-Lieh Huang, Alan Liu </dd></dl>

<p>

<p>
Definition at line <a class="el" href="simpletz_8h-source.html#l00055">55</a> of file <a class="el" href="simpletz_8h-source.html">simpletz.h</a>.<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="c4d0a4414106e3bbce3e1815593f909e"></a><!-- doxytag: member="SimpleTimeZone::TimeMode" ref="c4d0a4414106e3bbce3e1815593f909e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classSimpleTimeZone.html#c4d0a4414106e3bbce3e1815593f909e">SimpleTimeZone::TimeMode</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
TimeMode is used, together with a millisecond offset after midnight, to specify a rule transition time. 
<p>
Most rules transition at a local wall time, that is, according to the current time in effect, either standard, or DST. However, some rules transition at local standard time, and some at a specific UTC time. Although it might seem that all times could be converted to wall time, thus eliminating the need for this parameter, this is not the case. <dl compact><dt><b><a class="el" href="stable.html#_stable002495">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Definition at line <a class="el" href="simpletz_8h-source.html#l00069">69</a> of file <a class="el" href="simpletz_8h-source.html">simpletz.h</a>.
</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="3f91f6fdad95bf19046fede60860d185"></a><!-- doxytag: member="SimpleTimeZone::SimpleTimeZone" ref="3f91f6fdad95bf19046fede60860d185" args="(const SimpleTimeZone &amp;source)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SimpleTimeZone::SimpleTimeZone           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classSimpleTimeZone.html">SimpleTimeZone</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>source</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Copy constructor. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>source</em>&nbsp;</td><td>the object to be copied. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002496">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="21b9f75b28ea8d2283cbb8d72f6d0164"></a><!-- doxytag: member="SimpleTimeZone::~SimpleTimeZone" ref="21b9f75b28ea8d2283cbb8d72f6d0164" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual SimpleTimeZone::~SimpleTimeZone           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Destructor. 
<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable002498">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="7005fdd48b25416f14aa96319ec834ec"></a><!-- doxytag: member="SimpleTimeZone::SimpleTimeZone" ref="7005fdd48b25416f14aa96319ec834ec" args="(int32_t rawOffsetGMT, const UnicodeString &amp;ID)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SimpleTimeZone::SimpleTimeZone           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>rawOffsetGMT</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>ID</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructs a <a class="el" href="classSimpleTimeZone.html">SimpleTimeZone</a> with the given raw GMT offset and time zone ID, and which doesn't observe daylight savings time. 
<p>
Normally you should use TimeZone::createInstance() to create a <a class="el" href="classTimeZone.html">TimeZone</a> instead of creating a <a class="el" href="classSimpleTimeZone.html">SimpleTimeZone</a> directly with this constructor.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>rawOffsetGMT</em>&nbsp;</td><td>The given base time zone offset to GMT. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>ID</em>&nbsp;</td><td>The timezone ID which is obtained from TimeZone.getAvailableIDs. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002500">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="144a0d6e48543d9ffe901078ad71ad9e"></a><!-- doxytag: member="SimpleTimeZone::SimpleTimeZone" ref="144a0d6e48543d9ffe901078ad71ad9e" args="(int32_t rawOffsetGMT, const UnicodeString &amp;ID, int8_t savingsStartMonth, int8_t savingsStartDayOfWeekInMonth, int8_t savingsStartDayOfWeek, int32_t savingsStartTime, int8_t savingsEndMonth, int8_t savingsEndDayOfWeekInMonth, int8_t savingsEndDayOfWeek, int32_t savingsEndTime, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SimpleTimeZone::SimpleTimeZone           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>rawOffsetGMT</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>ID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f3f9a8b2328f92109b6784c2e5e60543">int8_t</a>&nbsp;</td>
          <td class="paramname"> <em>savingsStartMonth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f3f9a8b2328f92109b6784c2e5e60543">int8_t</a>&nbsp;</td>
          <td class="paramname"> <em>savingsStartDayOfWeekInMonth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f3f9a8b2328f92109b6784c2e5e60543">int8_t</a>&nbsp;</td>
          <td class="paramname"> <em>savingsStartDayOfWeek</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>savingsStartTime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f3f9a8b2328f92109b6784c2e5e60543">int8_t</a>&nbsp;</td>
          <td class="paramname"> <em>savingsEndMonth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f3f9a8b2328f92109b6784c2e5e60543">int8_t</a>&nbsp;</td>
          <td class="paramname"> <em>savingsEndDayOfWeekInMonth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f3f9a8b2328f92109b6784c2e5e60543">int8_t</a>&nbsp;</td>
          <td class="paramname"> <em>savingsEndDayOfWeek</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>savingsEndTime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Construct a <a class="el" href="classSimpleTimeZone.html">SimpleTimeZone</a> with the given raw GMT offset, time zone ID, and times to start and end daylight savings time. 
<p>
To create a <a class="el" href="classTimeZone.html">TimeZone</a> that doesn't observe daylight savings time, don't use this constructor; use SimpleTimeZone(rawOffset, ID) instead. Normally, you should use TimeZone.createInstance() to create a <a class="el" href="classTimeZone.html">TimeZone</a> instead of creating a <a class="el" href="classSimpleTimeZone.html">SimpleTimeZone</a> directly with this constructor. <p>
Various types of daylight-savings time rules can be specfied by using different values for startDay and startDayOfWeek and endDay and endDayOfWeek. For a complete explanation of how these parameters work, see the documentation for <a class="el" href="classSimpleTimeZone.html#b3702b6e8fc81ee0b273c1e2b9fa1c85">setStartRule()</a>.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>rawOffsetGMT</em>&nbsp;</td><td>The new SimpleTimeZone's raw GMT offset </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>ID</em>&nbsp;</td><td>The new SimpleTimeZone's time zone ID. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>savingsStartMonth</em>&nbsp;</td><td>The daylight savings starting month. Month is 0-based. eg, 0 for January. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>savingsStartDayOfWeekInMonth</em>&nbsp;</td><td>The daylight savings starting day-of-week-in-month. See <a class="el" href="classSimpleTimeZone.html#b3702b6e8fc81ee0b273c1e2b9fa1c85">setStartRule()</a> for a complete explanation. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>savingsStartDayOfWeek</em>&nbsp;</td><td>The daylight savings starting day-of-week. See <a class="el" href="classSimpleTimeZone.html#b3702b6e8fc81ee0b273c1e2b9fa1c85">setStartRule()</a> for a complete explanation. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>savingsStartTime</em>&nbsp;</td><td>The daylight savings starting time, expressed as the number of milliseconds after midnight. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>savingsEndMonth</em>&nbsp;</td><td>The daylight savings ending month. Month is 0-based. eg, 0 for January. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>savingsEndDayOfWeekInMonth</em>&nbsp;</td><td>The daylight savings ending day-of-week-in-month. See <a class="el" href="classSimpleTimeZone.html#b3702b6e8fc81ee0b273c1e2b9fa1c85">setStartRule()</a> for a complete explanation. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>savingsEndDayOfWeek</em>&nbsp;</td><td>The daylight savings ending day-of-week. See <a class="el" href="classSimpleTimeZone.html#b3702b6e8fc81ee0b273c1e2b9fa1c85">setStartRule()</a> for a complete explanation. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>savingsEndTime</em>&nbsp;</td><td>The daylight savings ending time, expressed as the number of milliseconds after midnight. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>An UErrorCode to receive the status. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002501">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="9406de6bd293ab1f4d147b5110c6fb08"></a><!-- doxytag: member="SimpleTimeZone::SimpleTimeZone" ref="9406de6bd293ab1f4d147b5110c6fb08" args="(int32_t rawOffsetGMT, const UnicodeString &amp;ID, int8_t savingsStartMonth, int8_t savingsStartDayOfWeekInMonth, int8_t savingsStartDayOfWeek, int32_t savingsStartTime, int8_t savingsEndMonth, int8_t savingsEndDayOfWeekInMonth, int8_t savingsEndDayOfWeek, int32_t savingsEndTime, int32_t savingsDST, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SimpleTimeZone::SimpleTimeZone           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>rawOffsetGMT</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>ID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f3f9a8b2328f92109b6784c2e5e60543">int8_t</a>&nbsp;</td>
          <td class="paramname"> <em>savingsStartMonth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f3f9a8b2328f92109b6784c2e5e60543">int8_t</a>&nbsp;</td>
          <td class="paramname"> <em>savingsStartDayOfWeekInMonth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f3f9a8b2328f92109b6784c2e5e60543">int8_t</a>&nbsp;</td>
          <td class="paramname"> <em>savingsStartDayOfWeek</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>savingsStartTime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f3f9a8b2328f92109b6784c2e5e60543">int8_t</a>&nbsp;</td>
          <td class="paramname"> <em>savingsEndMonth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f3f9a8b2328f92109b6784c2e5e60543">int8_t</a>&nbsp;</td>
          <td class="paramname"> <em>savingsEndDayOfWeekInMonth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f3f9a8b2328f92109b6784c2e5e60543">int8_t</a>&nbsp;</td>
          <td class="paramname"> <em>savingsEndDayOfWeek</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>savingsEndTime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>savingsDST</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Construct a <a class="el" href="classSimpleTimeZone.html">SimpleTimeZone</a> with the given raw GMT offset, time zone ID, and times to start and end daylight savings time. 
<p>
To create a <a class="el" href="classTimeZone.html">TimeZone</a> that doesn't observe daylight savings time, don't use this constructor; use SimpleTimeZone(rawOffset, ID) instead. Normally, you should use TimeZone.createInstance() to create a <a class="el" href="classTimeZone.html">TimeZone</a> instead of creating a <a class="el" href="classSimpleTimeZone.html">SimpleTimeZone</a> directly with this constructor. <p>
Various types of daylight-savings time rules can be specfied by using different values for startDay and startDayOfWeek and endDay and endDayOfWeek. For a complete explanation of how these parameters work, see the documentation for <a class="el" href="classSimpleTimeZone.html#b3702b6e8fc81ee0b273c1e2b9fa1c85">setStartRule()</a>.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>rawOffsetGMT</em>&nbsp;</td><td>The new SimpleTimeZone's raw GMT offset </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>ID</em>&nbsp;</td><td>The new SimpleTimeZone's time zone ID. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>savingsStartMonth</em>&nbsp;</td><td>The daylight savings starting month. Month is 0-based. eg, 0 for January. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>savingsStartDayOfWeekInMonth</em>&nbsp;</td><td>The daylight savings starting day-of-week-in-month. See <a class="el" href="classSimpleTimeZone.html#b3702b6e8fc81ee0b273c1e2b9fa1c85">setStartRule()</a> for a complete explanation. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>savingsStartDayOfWeek</em>&nbsp;</td><td>The daylight savings starting day-of-week. See <a class="el" href="classSimpleTimeZone.html#b3702b6e8fc81ee0b273c1e2b9fa1c85">setStartRule()</a> for a complete explanation. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>savingsStartTime</em>&nbsp;</td><td>The daylight savings starting time, expressed as the number of milliseconds after midnight. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>savingsEndMonth</em>&nbsp;</td><td>The daylight savings ending month. Month is 0-based. eg, 0 for January. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>savingsEndDayOfWeekInMonth</em>&nbsp;</td><td>The daylight savings ending day-of-week-in-month. See <a class="el" href="classSimpleTimeZone.html#b3702b6e8fc81ee0b273c1e2b9fa1c85">setStartRule()</a> for a complete explanation. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>savingsEndDayOfWeek</em>&nbsp;</td><td>The daylight savings ending day-of-week. See <a class="el" href="classSimpleTimeZone.html#b3702b6e8fc81ee0b273c1e2b9fa1c85">setStartRule()</a> for a complete explanation. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>savingsEndTime</em>&nbsp;</td><td>The daylight savings ending time, expressed as the number of milliseconds after midnight. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>savingsDST</em>&nbsp;</td><td>The number of milliseconds added to standard time to get DST time. Default is one hour. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>An UErrorCode to receive the status. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002502">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="2cee74dd54546cba4e96e89d57a77183"></a><!-- doxytag: member="SimpleTimeZone::SimpleTimeZone" ref="2cee74dd54546cba4e96e89d57a77183" args="(int32_t rawOffsetGMT, const UnicodeString &amp;ID, int8_t savingsStartMonth, int8_t savingsStartDayOfWeekInMonth, int8_t savingsStartDayOfWeek, int32_t savingsStartTime, TimeMode savingsStartTimeMode, int8_t savingsEndMonth, int8_t savingsEndDayOfWeekInMonth, int8_t savingsEndDayOfWeek, int32_t savingsEndTime, TimeMode savingsEndTimeMode, int32_t savingsDST, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SimpleTimeZone::SimpleTimeZone           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>rawOffsetGMT</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classUnicodeString.html">UnicodeString</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>ID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f3f9a8b2328f92109b6784c2e5e60543">int8_t</a>&nbsp;</td>
          <td class="paramname"> <em>savingsStartMonth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f3f9a8b2328f92109b6784c2e5e60543">int8_t</a>&nbsp;</td>
          <td class="paramname"> <em>savingsStartDayOfWeekInMonth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f3f9a8b2328f92109b6784c2e5e60543">int8_t</a>&nbsp;</td>
          <td class="paramname"> <em>savingsStartDayOfWeek</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>savingsStartTime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classSimpleTimeZone.html#c4d0a4414106e3bbce3e1815593f909e">TimeMode</a>&nbsp;</td>
          <td class="paramname"> <em>savingsStartTimeMode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f3f9a8b2328f92109b6784c2e5e60543">int8_t</a>&nbsp;</td>
          <td class="paramname"> <em>savingsEndMonth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f3f9a8b2328f92109b6784c2e5e60543">int8_t</a>&nbsp;</td>
          <td class="paramname"> <em>savingsEndDayOfWeekInMonth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f3f9a8b2328f92109b6784c2e5e60543">int8_t</a>&nbsp;</td>
          <td class="paramname"> <em>savingsEndDayOfWeek</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>savingsEndTime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classSimpleTimeZone.html#c4d0a4414106e3bbce3e1815593f909e">TimeMode</a>&nbsp;</td>
          <td class="paramname"> <em>savingsEndTimeMode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>savingsDST</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Construct a <a class="el" href="classSimpleTimeZone.html">SimpleTimeZone</a> with the given raw GMT offset, time zone ID, and times to start and end daylight savings time. 
<p>
To create a <a class="el" href="classTimeZone.html">TimeZone</a> that doesn't observe daylight savings time, don't use this constructor; use SimpleTimeZone(rawOffset, ID) instead. Normally, you should use TimeZone.createInstance() to create a <a class="el" href="classTimeZone.html">TimeZone</a> instead of creating a <a class="el" href="classSimpleTimeZone.html">SimpleTimeZone</a> directly with this constructor. <p>
Various types of daylight-savings time rules can be specfied by using different values for startDay and startDayOfWeek and endDay and endDayOfWeek. For a complete explanation of how these parameters work, see the documentation for <a class="el" href="classSimpleTimeZone.html#b3702b6e8fc81ee0b273c1e2b9fa1c85">setStartRule()</a>.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>rawOffsetGMT</em>&nbsp;</td><td>The new SimpleTimeZone's raw GMT offset </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>ID</em>&nbsp;</td><td>The new SimpleTimeZone's time zone ID. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>savingsStartMonth</em>&nbsp;</td><td>The daylight savings starting month. Month is 0-based. eg, 0 for January. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>savingsStartDayOfWeekInMonth</em>&nbsp;</td><td>The daylight savings starting day-of-week-in-month. See <a class="el" href="classSimpleTimeZone.html#b3702b6e8fc81ee0b273c1e2b9fa1c85">setStartRule()</a> for a complete explanation. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>savingsStartDayOfWeek</em>&nbsp;</td><td>The daylight savings starting day-of-week. See <a class="el" href="classSimpleTimeZone.html#b3702b6e8fc81ee0b273c1e2b9fa1c85">setStartRule()</a> for a complete explanation. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>savingsStartTime</em>&nbsp;</td><td>The daylight savings starting time, expressed as the number of milliseconds after midnight. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>savingsStartTimeMode</em>&nbsp;</td><td>Whether the start time is local wall time, local standard time, or UTC time. Default is local wall time. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>savingsEndMonth</em>&nbsp;</td><td>The daylight savings ending month. Month is 0-based. eg, 0 for January. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>savingsEndDayOfWeekInMonth</em>&nbsp;</td><td>The daylight savings ending day-of-week-in-month. See <a class="el" href="classSimpleTimeZone.html#b3702b6e8fc81ee0b273c1e2b9fa1c85">setStartRule()</a> for a complete explanation. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>savingsEndDayOfWeek</em>&nbsp;</td><td>The daylight savings ending day-of-week. See <a class="el" href="classSimpleTimeZone.html#b3702b6e8fc81ee0b273c1e2b9fa1c85">setStartRule()</a> for a complete explanation. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>savingsEndTime</em>&nbsp;</td><td>The daylight savings ending time, expressed as the number of milliseconds after midnight. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>savingsEndTimeMode</em>&nbsp;</td><td>Whether the end time is local wall time, local standard time, or UTC time. Default is local wall time. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>savingsDST</em>&nbsp;</td><td>The number of milliseconds added to standard time to get DST time. Default is one hour. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>An UErrorCode to receive the status. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002503">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="3678aa10f25e6b2b20439fb2498e9d8f"></a><!-- doxytag: member="SimpleTimeZone::clone" ref="3678aa10f25e6b2b20439fb2498e9d8f" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classTimeZone.html">TimeZone</a>* SimpleTimeZone::clone           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Clones <a class="el" href="classTimeZone.html">TimeZone</a> objects polymorphically. 
<p>
Clients are responsible for deleting the <a class="el" href="classTimeZone.html">TimeZone</a> object cloned.<p>
<dl compact><dt><b>Returns:</b></dt><dd>A new copy of this <a class="el" href="classTimeZone.html">TimeZone</a> object. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002527">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Implements <a class="el" href="classTimeZone.html#9fb6ccc6d0a160b90227e16454c4995e">TimeZone</a>.
</div>
</div><p>
<a class="anchor" name="aea799fe8b99baf9c62cb774f099505e"></a><!-- doxytag: member="SimpleTimeZone::getDSTSavings" ref="aea799fe8b99baf9c62cb774f099505e" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> SimpleTimeZone::getDSTSavings           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the amount of time in ms that the clock is advanced during DST. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>the number of milliseconds the time is advanced with respect to standard time when the daylight savings rules are in effect. A positive number, typically one hour (3600000). </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002524">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Reimplemented from <a class="el" href="classTimeZone.html#f0de836c99e10af1ed5ca822a6e5e8e4">TimeZone</a>.
</div>
</div><p>
<a class="anchor" name="58c4d8c0ef3b1b90dc5e41457f58c936"></a><!-- doxytag: member="SimpleTimeZone::getDynamicClassID" ref="58c4d8c0ef3b1b90dc5e41457f58c936" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="utypes_8h.html#452dc3c7d14eb1a1837ae1aa0b2d6724">UClassID</a> SimpleTimeZone::getDynamicClassID           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Override <a class="el" href="classTimeZone.html">TimeZone</a> Returns a unique class ID POLYMORPHICALLY. 
<p>
Pure virtual override. This method is to implement a simple version of RTTI, since not all C++ compilers support genuine RTTI. Polymorphic <a class="el" href="classSimpleTimeZone.html#a9b7b67df89b607eee1c67393f54901b">operator==()</a> and <a class="el" href="classSimpleTimeZone.html#3678aa10f25e6b2b20439fb2498e9d8f">clone()</a> methods call this method.<p>
<dl compact><dt><b>Returns:</b></dt><dd>The class ID for this object. All objects of a given class have the same class ID. Objects of other classes have different class IDs. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002528">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Implements <a class="el" href="classTimeZone.html#6636ded5bd462ac23af205ef574b436c">TimeZone</a>.
</div>
</div><p>
<a class="anchor" name="28753e766bb2ceafb0fa8be94a7204db"></a><!-- doxytag: member="SimpleTimeZone::getOffset" ref="28753e766bb2ceafb0fa8be94a7204db" args="(UDate date, UBool local, int32_t &amp;rawOffset, int32_t &amp;dstOffset, UErrorCode &amp;ec) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SimpleTimeZone::getOffset           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#e96c34189656815fe8f67e288f9bf8bf">UDate</a>&nbsp;</td>
          <td class="paramname"> <em>date</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#d373ce262c37cc047b0df2ad7b5dbba7">UBool</a>&nbsp;</td>
          <td class="paramname"> <em>local</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>rawOffset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>dstOffset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>ec</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const<code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Redeclared <a class="el" href="classTimeZone.html">TimeZone</a> method. 
<p>
This implementation simply calls the base class method, which otherwise would be hidden. <dl compact><dt><b><a class="el" href="stable.html#_stable002520">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

<p>
Reimplemented from <a class="el" href="classTimeZone.html#42dbb3c1e445c6041ef6a2769751dd39">TimeZone</a>.
<p>
Definition at line <a class="el" href="simpletz_8h-source.html#l00845">845</a> of file <a class="el" href="simpletz_8h-source.html">simpletz.h</a>.
<p>
References <a class="el" href="classTimeZone.html#f04e366eea4ddaec9a98954207dc743f">TimeZone::getOffset()</a>.
</div>
</div><p>
<a class="anchor" name="0c5276c9cf2969032143780fb1ee629f"></a><!-- doxytag: member="SimpleTimeZone::getOffset" ref="0c5276c9cf2969032143780fb1ee629f" args="(uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t milliseconds, int32_t monthLength, int32_t prevMonthLength, UErrorCode &amp;status) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> SimpleTimeZone::getOffset           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#3ebf7c4fcbf17b618a01df30a79859d3">uint8_t</a>&nbsp;</td>
          <td class="paramname"> <em>era</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>year</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>month</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>day</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#3ebf7c4fcbf17b618a01df30a79859d3">uint8_t</a>&nbsp;</td>
          <td class="paramname"> <em>dayOfWeek</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>milliseconds</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>monthLength</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>prevMonthLength</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the time zone offset, for current date, modified in case of daylight savings. 
<p>
This is the offset to add *to* UTC to get local time. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>era</em>&nbsp;</td><td>the era of the given date. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>year</em>&nbsp;</td><td>the year in the given date. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>month</em>&nbsp;</td><td>the month in the given date. Month is 0-based. e.g., 0 for January. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>day</em>&nbsp;</td><td>the day-in-month of the given date. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dayOfWeek</em>&nbsp;</td><td>the day-of-week of the given date. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>milliseconds</em>&nbsp;</td><td>the millis in day in <em>standard</em> local time. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>monthLength</em>&nbsp;</td><td>the length of the given month in days. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>prevMonthLength</em>&nbsp;</td><td>length of the previous month in days. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>An UErrorCode to receive the status. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>the offset to add *to* GMT to get local time. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002519">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="c542bc959b5ad6ffc3085cfcf3a0157d"></a><!-- doxytag: member="SimpleTimeZone::getOffset" ref="c542bc959b5ad6ffc3085cfcf3a0157d" args="(uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t milliseconds, int32_t monthLength, UErrorCode &amp;status) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> SimpleTimeZone::getOffset           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#3ebf7c4fcbf17b618a01df30a79859d3">uint8_t</a>&nbsp;</td>
          <td class="paramname"> <em>era</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>year</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>month</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>day</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#3ebf7c4fcbf17b618a01df30a79859d3">uint8_t</a>&nbsp;</td>
          <td class="paramname"> <em>dayOfWeek</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>milliseconds</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>monthLength</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the time zone offset, for current date, modified in case of daylight savings. 
<p>
This is the offset to add *to* UTC to get local time. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>era</em>&nbsp;</td><td>the era of the given date. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>year</em>&nbsp;</td><td>the year in the given date. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>month</em>&nbsp;</td><td>the month in the given date. Month is 0-based. e.g., 0 for January. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>day</em>&nbsp;</td><td>the day-in-month of the given date. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dayOfWeek</em>&nbsp;</td><td>the day-of-week of the given date. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>milliseconds</em>&nbsp;</td><td>the millis in day in <em>standard</em> local time. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>monthLength</em>&nbsp;</td><td>the length of the given month in days. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>An UErrorCode to receive the status. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>the offset to add *to* GMT to get local time. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002518">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Implements <a class="el" href="classTimeZone.html#5520e9a7526acbc52d9d386c90d4f2e4">TimeZone</a>.
</div>
</div><p>
<a class="anchor" name="ea60b8179181023b430528cd4c834ef3"></a><!-- doxytag: member="SimpleTimeZone::getOffset" ref="ea60b8179181023b430528cd4c834ef3" args="(uint8_t era, int32_t year, int32_t month, int32_t day, uint8_t dayOfWeek, int32_t millis, UErrorCode &amp;status) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> SimpleTimeZone::getOffset           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#3ebf7c4fcbf17b618a01df30a79859d3">uint8_t</a>&nbsp;</td>
          <td class="paramname"> <em>era</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>year</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>month</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>day</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#3ebf7c4fcbf17b618a01df30a79859d3">uint8_t</a>&nbsp;</td>
          <td class="paramname"> <em>dayOfWeek</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>millis</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the TimeZone's adjusted GMT offset (i.e., the number of milliseconds to add to GMT to get local time in this time zone, taking daylight savings time into account) as of a particular reference date. 
<p>
The reference date is used to determine whether daylight savings time is in effect and needs to be figured into the offset that is returned (in other words, what is the adjusted GMT offset in this time zone at this particular date and time?). For the time zones produced by <a class="el" href="classTimeZone.html#f938674c0b8db09936af7d6843bc37b1">createTimeZone()</a>, the reference data is specified according to the Gregorian calendar, and the date and time fields are in GMT, NOT local time.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>era</em>&nbsp;</td><td>The reference date's era </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>year</em>&nbsp;</td><td>The reference date's year </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>month</em>&nbsp;</td><td>The reference date's month (0-based; 0 is January) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>day</em>&nbsp;</td><td>The reference date's day-in-month (1-based) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dayOfWeek</em>&nbsp;</td><td>The reference date's day-of-week (1-based; 1 is Sunday) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>millis</em>&nbsp;</td><td>The reference date's milliseconds in day, UTT (NOT local time). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>An UErrorCode to receive the status. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>The offset in milliseconds to add to GMT to get local time. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002517">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Implements <a class="el" href="classTimeZone.html#f04e366eea4ddaec9a98954207dc743f">TimeZone</a>.
</div>
</div><p>
<a class="anchor" name="c8454f7720b422833eabc99fe95921a0"></a><!-- doxytag: member="SimpleTimeZone::getRawOffset" ref="c8454f7720b422833eabc99fe95921a0" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a> SimpleTimeZone::getRawOffset           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the TimeZone's raw GMT offset (i.e., the number of milliseconds to add to GMT to get local time, before taking daylight savings time into account). 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>The TimeZone's raw GMT offset. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002521">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Implements <a class="el" href="classTimeZone.html#f74cfebe3b2ab4fc4990d8a989abe455">TimeZone</a>.
</div>
</div><p>
<a class="anchor" name="1df3be5dc8b99a406efea9643a0049e5"></a><!-- doxytag: member="SimpleTimeZone::getStaticClassID" ref="1df3be5dc8b99a406efea9643a0049e5" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="utypes_8h.html#452dc3c7d14eb1a1837ae1aa0b2d6724">UClassID</a> SimpleTimeZone::getStaticClassID           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the class ID for this class. 
<p>
This is useful only for comparing to a return value from <a class="el" href="classSimpleTimeZone.html#58c4d8c0ef3b1b90dc5e41457f58c936">getDynamicClassID()</a>. For example: <pre>
 .   Base* polymorphic_pointer = createPolymorphicObject();
 .   if (polymorphic_pointer-&gt;<a class="el" href="classSimpleTimeZone.html#58c4d8c0ef3b1b90dc5e41457f58c936">getDynamicClassID()</a> ==
 .       Derived::getStaticClassID()) ...
 </pre> <dl compact><dt><b>Returns:</b></dt><dd>The class ID for all objects of this class. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002529">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Reimplemented from <a class="el" href="classTimeZone.html#67d5b030ac7be9e552dc014b63cdd5ce">TimeZone</a>.
</div>
</div><p>
<a class="anchor" name="49ee10c4330cc5d8fd0549a6416b76b1"></a><!-- doxytag: member="SimpleTimeZone::hasSameRules" ref="49ee10c4330cc5d8fd0549a6416b76b1" args="(const TimeZone &amp;other) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#d373ce262c37cc047b0df2ad7b5dbba7">UBool</a> SimpleTimeZone::hasSameRules           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classTimeZone.html">TimeZone</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>other</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return true if this zone has the same rules and offset as another zone. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>other</em>&nbsp;</td><td>the <a class="el" href="classTimeZone.html">TimeZone</a> object to be compared with </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>true if the given zone has the same rules and offset as this one </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002526">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Reimplemented from <a class="el" href="classTimeZone.html#045531710ce4cdbc353a2d7f495daed1">TimeZone</a>.
</div>
</div><p>
<a class="anchor" name="9f2c3b663d70eaffc01609cd1b56a44c"></a><!-- doxytag: member="SimpleTimeZone::inDaylightTime" ref="9f2c3b663d70eaffc01609cd1b56a44c" args="(UDate date, UErrorCode &amp;status) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="umachine_8h.html#d373ce262c37cc047b0df2ad7b5dbba7">UBool</a> SimpleTimeZone::inDaylightTime           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#e96c34189656815fe8f67e288f9bf8bf">UDate</a>&nbsp;</td>
          <td class="paramname"> <em>date</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns true if the given date is within the period when daylight savings time is in effect; false otherwise. 
<p>
If the <a class="el" href="classTimeZone.html">TimeZone</a> doesn't observe daylight savings time, this functions always returns false. This method is wasteful since it creates a new <a class="el" href="classGregorianCalendar.html">GregorianCalendar</a> and deletes it each time it is called. This is a deprecated method and provided only for Java compatibility.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>date</em>&nbsp;</td><td>The date to test. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>An UErrorCode to receive the status. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>true if the given date is in Daylight Savings Time; false otherwise. </dd></dl>
<dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000201">Deprecated:</a></b></dt><dd>ICU 2.4. Use <a class="el" href="classCalendar.html#69e40ddff31ff03db8e2ae88d4bf38a4">Calendar::inDaylightTime()</a> instead. </dd></dl>

<p>
Implements <a class="el" href="classTimeZone.html#78ff8d619751cf0cbb9a445cc924f3d9">TimeZone</a>.
</div>
</div><p>
<a class="anchor" name="93b6d22f3348f3733ad3cd3937ba8f63"></a><!-- doxytag: member="SimpleTimeZone::operator=" ref="93b6d22f3348f3733ad3cd3937ba8f63" args="(const SimpleTimeZone &amp;right)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classSimpleTimeZone.html">SimpleTimeZone</a>&amp; SimpleTimeZone::operator=           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classSimpleTimeZone.html">SimpleTimeZone</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>right</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Default assignment operator. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>right</em>&nbsp;</td><td>the object to be copied. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002497">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="a9b7b67df89b607eee1c67393f54901b"></a><!-- doxytag: member="SimpleTimeZone::operator==" ref="a9b7b67df89b607eee1c67393f54901b" args="(const TimeZone &amp;that) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="umachine_8h.html#d373ce262c37cc047b0df2ad7b5dbba7">UBool</a> SimpleTimeZone::operator==           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classTimeZone.html">TimeZone</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>that</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns true if the two <a class="el" href="classTimeZone.html">TimeZone</a> objects are equal; that is, they have the same ID, raw GMT offset, and DST rules. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>that</em>&nbsp;</td><td>The <a class="el" href="classSimpleTimeZone.html">SimpleTimeZone</a> object to be compared with. </td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>True if the given time zone is equal to this time zone; false otherwise. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002499">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Reimplemented from <a class="el" href="classTimeZone.html#093b9c01516b21fd54f37da84e5580aa">TimeZone</a>.
</div>
</div><p>
<a class="anchor" name="8afd2639e5f3bb121e7f2083cf5fac3f"></a><!-- doxytag: member="SimpleTimeZone::setDSTSavings" ref="8afd2639e5f3bb121e7f2083cf5fac3f" args="(int32_t millisSavedDuringDST, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SimpleTimeZone::setDSTSavings           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>millisSavedDuringDST</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the amount of time in ms that the clock is advanced during DST. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>millisSavedDuringDST</em>&nbsp;</td><td>the number of milliseconds the time is advanced with respect to standard time when the daylight savings rules are in effect. A positive number, typically one hour (3600000). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>An UErrorCode to receive the status. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002523">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="df95c629eb2139d1e32e386758ca4107"></a><!-- doxytag: member="SimpleTimeZone::setEndRule" ref="df95c629eb2139d1e32e386758ca4107" args="(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, int32_t time, TimeMode mode, UBool after, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SimpleTimeZone::setEndRule           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>month</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>dayOfMonth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>dayOfWeek</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>time</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classSimpleTimeZone.html#c4d0a4414106e3bbce3e1815593f909e">TimeMode</a>&nbsp;</td>
          <td class="paramname"> <em>mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#d373ce262c37cc047b0df2ad7b5dbba7">UBool</a>&nbsp;</td>
          <td class="paramname"> <em>after</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the DST end rule to a weekday before or after a give date within a month, e.g., the first Monday on or after the 8th. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>month</em>&nbsp;</td><td>The month in which this rule occurs (0-based). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dayOfMonth</em>&nbsp;</td><td>A date within that month (1-based). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dayOfWeek</em>&nbsp;</td><td>The day of the week on which this rule occurs. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>time</em>&nbsp;</td><td>The time of that day (number of millis after midnight) when DST ends in local wall time, which is daylight time in this case. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>mode</em>&nbsp;</td><td>whether the time is local wall time, local standard time, or UTC time. Default is local wall time. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>after</em>&nbsp;</td><td>If true, this rule selects the first dayOfWeek on or after dayOfMonth. If false, this rule selects the last dayOfWeek on or before dayOfMonth. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>An UErrorCode </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002516">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="892f3df8967a00f1ba3b8ca8674ab880"></a><!-- doxytag: member="SimpleTimeZone::setEndRule" ref="892f3df8967a00f1ba3b8ca8674ab880" args="(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, int32_t time, UBool after, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SimpleTimeZone::setEndRule           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>month</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>dayOfMonth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>dayOfWeek</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>time</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#d373ce262c37cc047b0df2ad7b5dbba7">UBool</a>&nbsp;</td>
          <td class="paramname"> <em>after</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the DST end rule to a weekday before or after a give date within a month, e.g., the first Monday on or after the 8th. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>month</em>&nbsp;</td><td>The month in which this rule occurs (0-based). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dayOfMonth</em>&nbsp;</td><td>A date within that month (1-based). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dayOfWeek</em>&nbsp;</td><td>The day of the week on which this rule occurs. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>time</em>&nbsp;</td><td>The time of that day (number of millis after midnight) when DST ends in local wall time, which is daylight time in this case. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>after</em>&nbsp;</td><td>If true, this rule selects the first dayOfWeek on or after dayOfMonth. If false, this rule selects the last dayOfWeek on or before dayOfMonth. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>An UErrorCode </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002515">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Definition at line <a class="el" href="simpletz_8h-source.html#l00839">839</a> of file <a class="el" href="simpletz_8h-source.html">simpletz.h</a>.
<p>
References <a class="el" href="simpletz_8h-source.html#l00828">setEndRule()</a>.
</div>
</div><p>
<a class="anchor" name="283d6f156fcfc98c9a24371db26d19da"></a><!-- doxytag: member="SimpleTimeZone::setEndRule" ref="283d6f156fcfc98c9a24371db26d19da" args="(int32_t month, int32_t dayOfMonth, int32_t time, TimeMode mode, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SimpleTimeZone::setEndRule           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>month</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>dayOfMonth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>time</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classSimpleTimeZone.html#c4d0a4414106e3bbce3e1815593f909e">TimeMode</a>&nbsp;</td>
          <td class="paramname"> <em>mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the DST end rule to a fixed date within a month. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>month</em>&nbsp;</td><td>The month in which this rule occurs (0-based). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dayOfMonth</em>&nbsp;</td><td>The date in that month (1-based). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>time</em>&nbsp;</td><td>The time of that day (number of millis after midnight) when DST ends in local wall time, which is daylight time in this case. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>mode</em>&nbsp;</td><td>whether the time is local wall time, local standard time, or UTC time. Default is local wall time. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>An UErrorCode </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002514">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="72ccbb15e1443117ea9c398006cc1e86"></a><!-- doxytag: member="SimpleTimeZone::setEndRule" ref="72ccbb15e1443117ea9c398006cc1e86" args="(int32_t month, int32_t dayOfMonth, int32_t time, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SimpleTimeZone::setEndRule           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>month</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>dayOfMonth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>time</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the DST end rule to a fixed date within a month. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>month</em>&nbsp;</td><td>The month in which this rule occurs (0-based). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dayOfMonth</em>&nbsp;</td><td>The date in that month (1-based). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>time</em>&nbsp;</td><td>The time of that day (number of millis after midnight) when DST ends in local wall time, which is daylight time in this case. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>An UErrorCode </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002513">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Definition at line <a class="el" href="simpletz_8h-source.html#l00834">834</a> of file <a class="el" href="simpletz_8h-source.html">simpletz.h</a>.
<p>
References <a class="el" href="simpletz_8h-source.html#l00828">setEndRule()</a>.
</div>
</div><p>
<a class="anchor" name="98de14e1378a50fe56442632ea330947"></a><!-- doxytag: member="SimpleTimeZone::setEndRule" ref="98de14e1378a50fe56442632ea330947" args="(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek, int32_t time, TimeMode mode, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SimpleTimeZone::setEndRule           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>month</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>dayOfWeekInMonth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>dayOfWeek</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>time</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classSimpleTimeZone.html#c4d0a4414106e3bbce3e1815593f909e">TimeMode</a>&nbsp;</td>
          <td class="paramname"> <em>mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the daylight savings ending rule. 
<p>
For example, in the U.S., Daylight Savings Time ends at the last (-1) Sunday in October, at 2 AM in standard time. Therefore, you can set the end rule by calling: <pre>
 .   setEndRule(TimeFields.OCTOBER, -1, TimeFields.SUNDAY, 2*60*60*1000);
 </pre> Various other types of rules can be specified by manipulating the dayOfWeek and dayOfWeekInMonth parameters. For complete details, see the documentation for <a class="el" href="classSimpleTimeZone.html#b3702b6e8fc81ee0b273c1e2b9fa1c85">setStartRule()</a>.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>month</em>&nbsp;</td><td>the daylight savings ending month. Month is 0-based. eg, 0 for January. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dayOfWeekInMonth</em>&nbsp;</td><td>the daylight savings ending day-of-week-in-month. See <a class="el" href="classSimpleTimeZone.html#b3702b6e8fc81ee0b273c1e2b9fa1c85">setStartRule()</a> for a complete explanation. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dayOfWeek</em>&nbsp;</td><td>the daylight savings ending day-of-week. See <a class="el" href="classSimpleTimeZone.html#b3702b6e8fc81ee0b273c1e2b9fa1c85">setStartRule()</a> for a complete explanation. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>time</em>&nbsp;</td><td>the daylight savings ending time. Please see the member description for an example. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>mode</em>&nbsp;</td><td>whether the time is local wall time, local standard time, or UTC time. Default is local wall time. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>An UErrorCode </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002512">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="f66f5b79e79742160e1640a5a4b90a3d"></a><!-- doxytag: member="SimpleTimeZone::setEndRule" ref="f66f5b79e79742160e1640a5a4b90a3d" args="(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek, int32_t time, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SimpleTimeZone::setEndRule           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>month</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>dayOfWeekInMonth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>dayOfWeek</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>time</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the daylight savings ending rule. 
<p>
For example, in the U.S., Daylight Savings Time ends at the last (-1) Sunday in October, at 2 AM in standard time. Therefore, you can set the end rule by calling: <pre>
 .   setEndRule(TimeFields.OCTOBER, -1, TimeFields.SUNDAY, 2*60*60*1000);
 </pre> Various other types of rules can be specified by manipulating the dayOfWeek and dayOfWeekInMonth parameters. For complete details, see the documentation for <a class="el" href="classSimpleTimeZone.html#b3702b6e8fc81ee0b273c1e2b9fa1c85">setStartRule()</a>.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>month</em>&nbsp;</td><td>the daylight savings ending month. Month is 0-based. eg, 0 for January. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dayOfWeekInMonth</em>&nbsp;</td><td>the daylight savings ending day-of-week-in-month. See <a class="el" href="classSimpleTimeZone.html#b3702b6e8fc81ee0b273c1e2b9fa1c85">setStartRule()</a> for a complete explanation. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dayOfWeek</em>&nbsp;</td><td>the daylight savings ending day-of-week. See <a class="el" href="classSimpleTimeZone.html#b3702b6e8fc81ee0b273c1e2b9fa1c85">setStartRule()</a> for a complete explanation. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>time</em>&nbsp;</td><td>the daylight savings ending time. Please see the member description for an example. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>An UErrorCode </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002511">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Definition at line <a class="el" href="simpletz_8h-source.html#l00828">828</a> of file <a class="el" href="simpletz_8h-source.html">simpletz.h</a>.
<p>
Referenced by <a class="el" href="simpletz_8h-source.html#l00834">setEndRule()</a>.
</div>
</div><p>
<a class="anchor" name="0f33a7ec0c5590e8a9a587acb8c8678c"></a><!-- doxytag: member="SimpleTimeZone::setRawOffset" ref="0f33a7ec0c5590e8a9a587acb8c8678c" args="(int32_t offsetMillis)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void SimpleTimeZone::setRawOffset           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>offsetMillis</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the TimeZone's raw GMT offset (i.e., the number of milliseconds to add to GMT to get local time, before taking daylight savings time into account). 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>offsetMillis</em>&nbsp;</td><td>The new raw GMT offset for this time zone. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002522">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Implements <a class="el" href="classTimeZone.html#01d6f7af0d3d9856a446574449839934">TimeZone</a>.
</div>
</div><p>
<a class="anchor" name="c565fe0a23e141b1d0849220776c5d49"></a><!-- doxytag: member="SimpleTimeZone::setStartRule" ref="c565fe0a23e141b1d0849220776c5d49" args="(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, int32_t time, TimeMode mode, UBool after, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SimpleTimeZone::setStartRule           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>month</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>dayOfMonth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>dayOfWeek</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>time</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classSimpleTimeZone.html#c4d0a4414106e3bbce3e1815593f909e">TimeMode</a>&nbsp;</td>
          <td class="paramname"> <em>mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#d373ce262c37cc047b0df2ad7b5dbba7">UBool</a>&nbsp;</td>
          <td class="paramname"> <em>after</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the DST start rule to a weekday before or after a give date within a month, e.g., the first Monday on or after the 8th. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>month</em>&nbsp;</td><td>The month in which this rule occurs (0-based). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dayOfMonth</em>&nbsp;</td><td>A date within that month (1-based). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dayOfWeek</em>&nbsp;</td><td>The day of the week on which this rule occurs. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>time</em>&nbsp;</td><td>The time of that day (number of millis after midnight) when DST takes effect in local wall time, which is standard time in this case. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>mode</em>&nbsp;</td><td>whether the time is local wall time, local standard time, or UTC time. Default is local wall time. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>after</em>&nbsp;</td><td>If true, this rule selects the first dayOfWeek on or after dayOfMonth. If false, this rule selects the last dayOfWeek on or before dayOfMonth. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>An UErrorCode </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002510">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="83e06b9af8fd3d3c34a1b1b9374a8c74"></a><!-- doxytag: member="SimpleTimeZone::setStartRule" ref="83e06b9af8fd3d3c34a1b1b9374a8c74" args="(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, int32_t time, UBool after, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SimpleTimeZone::setStartRule           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>month</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>dayOfMonth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>dayOfWeek</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>time</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#d373ce262c37cc047b0df2ad7b5dbba7">UBool</a>&nbsp;</td>
          <td class="paramname"> <em>after</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the DST start rule to a weekday before or after a give date within a month, e.g., the first Monday on or after the 8th. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>month</em>&nbsp;</td><td>The month in which this rule occurs (0-based). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dayOfMonth</em>&nbsp;</td><td>A date within that month (1-based). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dayOfWeek</em>&nbsp;</td><td>The day of the week on which this rule occurs. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>time</em>&nbsp;</td><td>The time of that day (number of millis after midnight) when DST takes effect in local wall time, which is standard time in this case. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>after</em>&nbsp;</td><td>If true, this rule selects the first dayOfWeek on or after dayOfMonth. If false, this rule selects the last dayOfWeek on or before dayOfMonth. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>An UErrorCode </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002509">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Definition at line <a class="el" href="simpletz_8h-source.html#l00822">822</a> of file <a class="el" href="simpletz_8h-source.html">simpletz.h</a>.
<p>
References <a class="el" href="simpletz_8h-source.html#l00810">setStartRule()</a>.
</div>
</div><p>
<a class="anchor" name="0713e66eb97dbc7fb0539b3964e856b4"></a><!-- doxytag: member="SimpleTimeZone::setStartRule" ref="0713e66eb97dbc7fb0539b3964e856b4" args="(int32_t month, int32_t dayOfMonth, int32_t time, TimeMode mode, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SimpleTimeZone::setStartRule           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>month</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>dayOfMonth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>time</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classSimpleTimeZone.html#c4d0a4414106e3bbce3e1815593f909e">TimeMode</a>&nbsp;</td>
          <td class="paramname"> <em>mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the DST start rule to a fixed date within a month. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>month</em>&nbsp;</td><td>The month in which this rule occurs (0-based). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dayOfMonth</em>&nbsp;</td><td>The date in that month (1-based). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>time</em>&nbsp;</td><td>The time of that day (number of millis after midnight) when DST takes effect in local wall time, which is standard time in this case. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>mode</em>&nbsp;</td><td>whether the time is local wall time, local standard time, or UTC time. Default is local wall time. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>An UErrorCode </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002508">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="eb9b80a0960ca6a14e4540ef55a9fc7e"></a><!-- doxytag: member="SimpleTimeZone::setStartRule" ref="eb9b80a0960ca6a14e4540ef55a9fc7e" args="(int32_t month, int32_t dayOfMonth, int32_t time, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SimpleTimeZone::setStartRule           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>month</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>dayOfMonth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>time</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the DST start rule to a fixed date within a month. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>month</em>&nbsp;</td><td>The month in which this rule occurs (0-based). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dayOfMonth</em>&nbsp;</td><td>The date in that month (1-based). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>time</em>&nbsp;</td><td>The time of that day (number of millis after midnight) when DST takes effect in local wall time, which is standard time in this case. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>An UErrorCode </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002507">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Definition at line <a class="el" href="simpletz_8h-source.html#l00816">816</a> of file <a class="el" href="simpletz_8h-source.html">simpletz.h</a>.
<p>
References <a class="el" href="simpletz_8h-source.html#l00810">setStartRule()</a>.
</div>
</div><p>
<a class="anchor" name="c505a989b4dfd59d268ba9d1bbf7fc97"></a><!-- doxytag: member="SimpleTimeZone::setStartRule" ref="c505a989b4dfd59d268ba9d1bbf7fc97" args="(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek, int32_t time, TimeMode mode, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SimpleTimeZone::setStartRule           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>month</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>dayOfWeekInMonth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>dayOfWeek</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>time</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classSimpleTimeZone.html#c4d0a4414106e3bbce3e1815593f909e">TimeMode</a>&nbsp;</td>
          <td class="paramname"> <em>mode</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the daylight savings starting rule. 
<p>
For example, in the U.S., Daylight Savings Time starts at the first Sunday in April, at 2 AM in standard time. Therefore, you can set the start rule by calling: setStartRule(TimeFields.APRIL, 1, TimeFields.SUNDAY, 2*60*60*1000); The dayOfWeekInMonth and dayOfWeek parameters together specify how to calculate the exact starting date. Their exact meaning depend on their respective signs, allowing various types of rules to be constructed, as follows: <ul>
<li>
If both dayOfWeekInMonth and dayOfWeek are positive, they specify the day of week in the month (e.g., (2, WEDNESDAY) is the second Wednesday of the month). </li>
<li>
If dayOfWeek is positive and dayOfWeekInMonth is negative, they specify the day of week in the month counting backward from the end of the month. (e.g., (-1, MONDAY) is the last Monday in the month) </li>
<li>
If dayOfWeek is zero and dayOfWeekInMonth is positive, dayOfWeekInMonth specifies the day of the month, regardless of what day of the week it is. (e.g., (10, 0) is the tenth day of the month) </li>
<li>
If dayOfWeek is zero and dayOfWeekInMonth is negative, dayOfWeekInMonth specifies the day of the month counting backward from the end of the month, regardless of what day of the week it is (e.g., (-2, 0) is the next-to-last day of the month). </li>
<li>
If dayOfWeek is negative and dayOfWeekInMonth is positive, they specify the first specified day of the week on or after the specfied day of the month. (e.g., (15, -SUNDAY) is the first Sunday after the 15th of the month [or the 15th itself if the 15th is a Sunday].) </li>
<li>
If dayOfWeek and DayOfWeekInMonth are both negative, they specify the last specified day of the week on or before the specified day of the month. (e.g., (-20, -TUESDAY) is the last Tuesday before the 20th of the month [or the 20th itself if the 20th is a Tuesday].) </li>
</ul>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>month</em>&nbsp;</td><td>the daylight savings starting month. Month is 0-based. eg, 0 for January. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dayOfWeekInMonth</em>&nbsp;</td><td>the daylight savings starting day-of-week-in-month. Please see the member description for an example. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dayOfWeek</em>&nbsp;</td><td>the daylight savings starting day-of-week. Please see the member description for an example. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>time</em>&nbsp;</td><td>the daylight savings starting time. Please see the member description for an example. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>mode</em>&nbsp;</td><td>whether the time is local wall time, local standard time, or UTC time. Default is local wall time. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>An UErrorCode </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002506">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="b3702b6e8fc81ee0b273c1e2b9fa1c85"></a><!-- doxytag: member="SimpleTimeZone::setStartRule" ref="b3702b6e8fc81ee0b273c1e2b9fa1c85" args="(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek, int32_t time, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SimpleTimeZone::setStartRule           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>month</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>dayOfWeekInMonth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>dayOfWeek</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>time</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#863c11989634c998849cc946d04dfabe">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the daylight savings starting rule. 
<p>
For example, in the U.S., Daylight Savings Time starts at the first Sunday in April, at 2 AM in standard time. Therefore, you can set the start rule by calling: setStartRule(TimeFields.APRIL, 1, TimeFields.SUNDAY, 2*60*60*1000); The dayOfWeekInMonth and dayOfWeek parameters together specify how to calculate the exact starting date. Their exact meaning depend on their respective signs, allowing various types of rules to be constructed, as follows: <ul>
<li>
If both dayOfWeekInMonth and dayOfWeek are positive, they specify the day of week in the month (e.g., (2, WEDNESDAY) is the second Wednesday of the month). </li>
<li>
If dayOfWeek is positive and dayOfWeekInMonth is negative, they specify the day of week in the month counting backward from the end of the month. (e.g., (-1, MONDAY) is the last Monday in the month) </li>
<li>
If dayOfWeek is zero and dayOfWeekInMonth is positive, dayOfWeekInMonth specifies the day of the month, regardless of what day of the week it is. (e.g., (10, 0) is the tenth day of the month) </li>
<li>
If dayOfWeek is zero and dayOfWeekInMonth is negative, dayOfWeekInMonth specifies the day of the month counting backward from the end of the month, regardless of what day of the week it is (e.g., (-2, 0) is the next-to-last day of the month). </li>
<li>
If dayOfWeek is negative and dayOfWeekInMonth is positive, they specify the first specified day of the week on or after the specfied day of the month. (e.g., (15, -SUNDAY) is the first Sunday after the 15th of the month [or the 15th itself if the 15th is a Sunday].) </li>
<li>
If dayOfWeek and DayOfWeekInMonth are both negative, they specify the last specified day of the week on or before the specified day of the month. (e.g., (-20, -TUESDAY) is the last Tuesday before the 20th of the month [or the 20th itself if the 20th is a Tuesday].) </li>
</ul>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>month</em>&nbsp;</td><td>the daylight savings starting month. Month is 0-based. eg, 0 for January. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dayOfWeekInMonth</em>&nbsp;</td><td>the daylight savings starting day-of-week-in-month. Please see the member description for an example. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dayOfWeek</em>&nbsp;</td><td>the daylight savings starting day-of-week. Please see the member description for an example. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>time</em>&nbsp;</td><td>the daylight savings starting time. Please see the member description for an example. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>An UErrorCode </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002505">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Definition at line <a class="el" href="simpletz_8h-source.html#l00810">810</a> of file <a class="el" href="simpletz_8h-source.html">simpletz.h</a>.
<p>
Referenced by <a class="el" href="simpletz_8h-source.html#l00816">setStartRule()</a>.
</div>
</div><p>
<a class="anchor" name="de66392021256ef1b15c415f36bdcce9"></a><!-- doxytag: member="SimpleTimeZone::setStartYear" ref="de66392021256ef1b15c415f36bdcce9" args="(int32_t year)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SimpleTimeZone::setStartYear           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#f03f47ee300d26bee7dd521b1169f394">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>year</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the daylight savings starting year, that is, the year this time zone began observing its specified daylight savings time rules. 
<p>
The time zone is considered not to observe daylight savings time prior to that year; <a class="el" href="classSimpleTimeZone.html">SimpleTimeZone</a> doesn't support historical daylight-savings-time rules. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>year</em>&nbsp;</td><td>the daylight savings starting year. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002504">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="d5e04b9efdad3b36102334896d8f4f86"></a><!-- doxytag: member="SimpleTimeZone::useDaylightTime" ref="d5e04b9efdad3b36102334896d8f4f86" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="umachine_8h.html#d373ce262c37cc047b0df2ad7b5dbba7">UBool</a> SimpleTimeZone::useDaylightTime           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Queries if this <a class="el" href="classTimeZone.html">TimeZone</a> uses Daylight Savings Time. 
<p>
<dl compact><dt><b>Returns:</b></dt><dd>True if this <a class="el" href="classTimeZone.html">TimeZone</a> uses Daylight Savings Time; false otherwise. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002525">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Implements <a class="el" href="classTimeZone.html#5e684349e50bdee71ea26d21cb4d68c9">TimeZone</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="simpletz_8h-source.html">simpletz.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Tue Dec 13 17:29:55 2011 for ICU 3.6 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
</body>
</html>