Sophie

Sophie

distrib > Fedora > 17 > i386 > by-pkgid > 0508df3f0f31cdc1fec017f60572b2b0 > files > 110

libicu-doc-4.8.1.1-5.fc17.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>ICU 4.8.1.1: DateTimeRule Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">ICU 4.8.1.1
   &#160;<span id="projectnumber">4.8.1.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.1.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="classes.html"><span>Data&#160;Structure&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Data&#160;Fields</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">DateTimeRule Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p><code><a class="el" href="classDateTimeRule.html" title="DateTimeRule is a class representing a time in a year by a rule specified by month, day of month, day of week and time in the day.">DateTimeRule</a></code> is a class representing a time in a year by a rule specified by month, day of month, day of week and time in the day.  
 <a href="classDateTimeRule.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="dtrule_8h_source.html">dtrule.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for DateTimeRule:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classDateTimeRule.png" usemap="#DateTimeRule_map" alt=""/>
  <map id="DateTimeRule_map" name="DateTimeRule_map">
<area href="classUObject.html" title="UObject is the common ICU &quot;boilerplate&quot; class." alt="UObject" shape="rect" coords="0,56,89,80"/>
<area href="classUMemory.html" title="UMemory is the common ICU base class." alt="UMemory" shape="rect" coords="0,0,89,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a54bd953f366fc89279e8bb8ffdadc7d8"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTimeRule.html#a54bd953f366fc89279e8bb8ffdadc7d8">DateRuleType</a> { <a class="el" href="classDateTimeRule.html#a54bd953f366fc89279e8bb8ffdadc7d8a438dbcb7645554fd1d7a8db771604d77">DOM</a> =  0, 
<a class="el" href="classDateTimeRule.html#a54bd953f366fc89279e8bb8ffdadc7d8a780c0fa10fa5f572f29745c57793105e">DOW</a>, 
<a class="el" href="classDateTimeRule.html#a54bd953f366fc89279e8bb8ffdadc7d8ad8fe18c70614f5359cb909cf5d8316e6">DOW_GEQ_DOM</a>, 
<a class="el" href="classDateTimeRule.html#a54bd953f366fc89279e8bb8ffdadc7d8a1948ee978a8797ca8b0b67a0cda9c3a7">DOW_LEQ_DOM</a>
 }</td></tr>
<tr class="memdesc:a54bd953f366fc89279e8bb8ffdadc7d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Date rule type constants.  <a href="classDateTimeRule.html#a54bd953f366fc89279e8bb8ffdadc7d8">More...</a><br/></td></tr>
<tr class="memitem:a587bb19278c1b9b30d32e33eb88111d0"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTimeRule.html#a587bb19278c1b9b30d32e33eb88111d0">TimeRuleType</a> { <a class="el" href="classDateTimeRule.html#a587bb19278c1b9b30d32e33eb88111d0aefbb25a99824295386e616a78ff89567">WALL_TIME</a> =  0, 
<a class="el" href="classDateTimeRule.html#a587bb19278c1b9b30d32e33eb88111d0af288aca0a107e583468033eba69747ca">STANDARD_TIME</a>, 
<a class="el" href="classDateTimeRule.html#a587bb19278c1b9b30d32e33eb88111d0ae2fd733a37e5133d961e1fa89a7cf4b3">UTC_TIME</a>
 }</td></tr>
<tr class="memdesc:a587bb19278c1b9b30d32e33eb88111d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Time rule type constants.  <a href="classDateTimeRule.html#a587bb19278c1b9b30d32e33eb88111d0">More...</a><br/></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:adb804909d83acd919ebafb12b92d2e8f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTimeRule.html#adb804909d83acd919ebafb12b92d2e8f">DateTimeRule</a> (<a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> month, <a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfMonth, <a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> millisInDay, <a class="el" href="classDateTimeRule.html#a587bb19278c1b9b30d32e33eb88111d0">TimeRuleType</a> timeType)</td></tr>
<tr class="memdesc:adb804909d83acd919ebafb12b92d2e8f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a <code><a class="el" href="classDateTimeRule.html" title="DateTimeRule is a class representing a time in a year by a rule specified by month, day of month, day of week and time in the day.">DateTimeRule</a></code> by the day of month and the time rule.  <a href="#adb804909d83acd919ebafb12b92d2e8f"></a><br/></td></tr>
<tr class="memitem:ae2d2049f61c3f2a3c88c132fd4dfc19f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTimeRule.html#ae2d2049f61c3f2a3c88c132fd4dfc19f">DateTimeRule</a> (<a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> month, <a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> weekInMonth, <a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfWeek, <a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> millisInDay, <a class="el" href="classDateTimeRule.html#a587bb19278c1b9b30d32e33eb88111d0">TimeRuleType</a> timeType)</td></tr>
<tr class="memdesc:ae2d2049f61c3f2a3c88c132fd4dfc19f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a <code><a class="el" href="classDateTimeRule.html" title="DateTimeRule is a class representing a time in a year by a rule specified by month, day of month, day of week and time in the day.">DateTimeRule</a></code> by the day of week and its oridinal number and the time rule.  <a href="#ae2d2049f61c3f2a3c88c132fd4dfc19f"></a><br/></td></tr>
<tr class="memitem:aa37433620c2215eace502921d6d25cb5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTimeRule.html#aa37433620c2215eace502921d6d25cb5">DateTimeRule</a> (<a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> month, <a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfMonth, <a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfWeek, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> after, <a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> millisInDay, <a class="el" href="classDateTimeRule.html#a587bb19278c1b9b30d32e33eb88111d0">TimeRuleType</a> timeType)</td></tr>
<tr class="memdesc:aa37433620c2215eace502921d6d25cb5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a <code><a class="el" href="classDateTimeRule.html" title="DateTimeRule is a class representing a time in a year by a rule specified by month, day of month, day of week and time in the day.">DateTimeRule</a></code> by the first/last day of week on or after/before the day of month and the time rule.  <a href="#aa37433620c2215eace502921d6d25cb5"></a><br/></td></tr>
<tr class="memitem:a5dd4a9dd719ffc9f9af787265130f081"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTimeRule.html#a5dd4a9dd719ffc9f9af787265130f081">DateTimeRule</a> (const <a class="el" href="classDateTimeRule.html">DateTimeRule</a> &amp;source)</td></tr>
<tr class="memdesc:a5dd4a9dd719ffc9f9af787265130f081"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor.  <a href="#a5dd4a9dd719ffc9f9af787265130f081"></a><br/></td></tr>
<tr class="memitem:a32e5b5048afdecf080e3cc8e89364ab6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTimeRule.html#a32e5b5048afdecf080e3cc8e89364ab6">~DateTimeRule</a> ()</td></tr>
<tr class="memdesc:a32e5b5048afdecf080e3cc8e89364ab6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#a32e5b5048afdecf080e3cc8e89364ab6"></a><br/></td></tr>
<tr class="memitem:a3f8ec0d9074cd75b704198157288cd98"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDateTimeRule.html">DateTimeRule</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTimeRule.html#a3f8ec0d9074cd75b704198157288cd98">clone</a> (void) const </td></tr>
<tr class="memdesc:a3f8ec0d9074cd75b704198157288cd98"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clone this <a class="el" href="classDateTimeRule.html" title="DateTimeRule is a class representing a time in a year by a rule specified by month, day of month, day of week and time in the day.">DateTimeRule</a> object polymorphically.  <a href="#a3f8ec0d9074cd75b704198157288cd98"></a><br/></td></tr>
<tr class="memitem:acfa3647907a3b803cc0ab604aa2f55c8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDateTimeRule.html">DateTimeRule</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTimeRule.html#acfa3647907a3b803cc0ab604aa2f55c8">operator=</a> (const <a class="el" href="classDateTimeRule.html">DateTimeRule</a> &amp;right)</td></tr>
<tr class="memdesc:acfa3647907a3b803cc0ab604aa2f55c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Assignment operator.  <a href="#acfa3647907a3b803cc0ab604aa2f55c8"></a><br/></td></tr>
<tr class="memitem:afcd44c4452e4ca846acd98772be4ad7f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTimeRule.html#afcd44c4452e4ca846acd98772be4ad7f">operator==</a> (const <a class="el" href="classDateTimeRule.html">DateTimeRule</a> &amp;that) const </td></tr>
<tr class="memdesc:afcd44c4452e4ca846acd98772be4ad7f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return true if the given <a class="el" href="classDateTimeRule.html" title="DateTimeRule is a class representing a time in a year by a rule specified by month, day of month, day of week and time in the day.">DateTimeRule</a> objects are semantically equal.  <a href="#afcd44c4452e4ca846acd98772be4ad7f"></a><br/></td></tr>
<tr class="memitem:a8c6bdf2e0752fdf8a5947d506927baa9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTimeRule.html#a8c6bdf2e0752fdf8a5947d506927baa9">operator!=</a> (const <a class="el" href="classDateTimeRule.html">DateTimeRule</a> &amp;that) const </td></tr>
<tr class="memdesc:a8c6bdf2e0752fdf8a5947d506927baa9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return true if the given <a class="el" href="classDateTimeRule.html" title="DateTimeRule is a class representing a time in a year by a rule specified by month, day of month, day of week and time in the day.">DateTimeRule</a> objects are semantically unequal.  <a href="#a8c6bdf2e0752fdf8a5947d506927baa9"></a><br/></td></tr>
<tr class="memitem:abc077b38c57e3aa833259f2f09fcaa66"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDateTimeRule.html#a54bd953f366fc89279e8bb8ffdadc7d8">DateRuleType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTimeRule.html#abc077b38c57e3aa833259f2f09fcaa66">getDateRuleType</a> (void) const </td></tr>
<tr class="memdesc:abc077b38c57e3aa833259f2f09fcaa66"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the date rule type, such as <code>DOM</code>  <a href="#abc077b38c57e3aa833259f2f09fcaa66"></a><br/></td></tr>
<tr class="memitem:ad53c841e8bb9e0fe39ba10766cdba8dc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classDateTimeRule.html#a587bb19278c1b9b30d32e33eb88111d0">TimeRuleType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTimeRule.html#ad53c841e8bb9e0fe39ba10766cdba8dc">getTimeRuleType</a> (void) const </td></tr>
<tr class="memdesc:ad53c841e8bb9e0fe39ba10766cdba8dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the time rule type.  <a href="#ad53c841e8bb9e0fe39ba10766cdba8dc"></a><br/></td></tr>
<tr class="memitem:ad49a3145c6bd0afc41653f1d54866b91"><td class="memItemLeft" align="right" valign="top"><a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTimeRule.html#ad49a3145c6bd0afc41653f1d54866b91">getRuleMonth</a> (void) const </td></tr>
<tr class="memdesc:ad49a3145c6bd0afc41653f1d54866b91"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the rule month.  <a href="#ad49a3145c6bd0afc41653f1d54866b91"></a><br/></td></tr>
<tr class="memitem:a966bf14eaa7f96220e97e5f41e754ed7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTimeRule.html#a966bf14eaa7f96220e97e5f41e754ed7">getRuleDayOfMonth</a> (void) const </td></tr>
<tr class="memdesc:a966bf14eaa7f96220e97e5f41e754ed7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the rule day of month.  <a href="#a966bf14eaa7f96220e97e5f41e754ed7"></a><br/></td></tr>
<tr class="memitem:a58681ba5850111050da38b1e2354e50b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTimeRule.html#a58681ba5850111050da38b1e2354e50b">getRuleDayOfWeek</a> (void) const </td></tr>
<tr class="memdesc:a58681ba5850111050da38b1e2354e50b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the rule day of week.  <a href="#a58681ba5850111050da38b1e2354e50b"></a><br/></td></tr>
<tr class="memitem:ae78f630ab446eb546e959d948b2217a0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTimeRule.html#ae78f630ab446eb546e959d948b2217a0">getRuleWeekInMonth</a> (void) const </td></tr>
<tr class="memdesc:ae78f630ab446eb546e959d948b2217a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the ordinal number of the occurence of the day of week in the month.  <a href="#ae78f630ab446eb546e959d948b2217a0"></a><br/></td></tr>
<tr class="memitem:a9557e4b81d446a51e5dd04e97412895c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTimeRule.html#a9557e4b81d446a51e5dd04e97412895c">getRuleMillisInDay</a> (void) const </td></tr>
<tr class="memdesc:a9557e4b81d446a51e5dd04e97412895c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the rule time in the rule day.  <a href="#a9557e4b81d446a51e5dd04e97412895c"></a><br/></td></tr>
<tr class="memitem:a4a11a272988bf4a4b85e60697830b6f3"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTimeRule.html#a4a11a272988bf4a4b85e60697830b6f3">getDynamicClassID</a> (void) const </td></tr>
<tr class="memdesc:a4a11a272988bf4a4b85e60697830b6f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a unique class ID POLYMORPHICALLY.  <a href="#a4a11a272988bf4a4b85e60697830b6f3"></a><br/></td></tr>
<tr class="inherit_header pub_methods_classUObject"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classUObject')"><img src="closed.png" alt="-"/>&nbsp;Public Member Functions inherited from <a class="el" href="classUObject.html">UObject</a></td></tr>
<tr class="memitem:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUObject.html#ace22cf29a90641ef43350deae5bedb85">~UObject</a> ()</td></tr>
<tr class="memdesc:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#ace22cf29a90641ef43350deae5bedb85"></a><br/></td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:afdd91a931e68adeb4c6dcdf374135ed0"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classDateTimeRule.html#afdd91a931e68adeb4c6dcdf374135ed0">getStaticClassID</a> (void)</td></tr>
<tr class="memdesc:afdd91a931e68adeb4c6dcdf374135ed0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the class ID for this class.  <a href="#afdd91a931e68adeb4c6dcdf374135ed0"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p><code><a class="el" href="classDateTimeRule.html" title="DateTimeRule is a class representing a time in a year by a rule specified by month, day of month, day of week and time in the day.">DateTimeRule</a></code> is a class representing a time in a year by a rule specified by month, day of month, day of week and time in the day. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002930">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl>

<p>Definition at line <a class="el" href="dtrule_8h_source.html#l00029">29</a> of file <a class="el" href="dtrule_8h_source.html">dtrule.h</a>.</p>
</div><hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a54bd953f366fc89279e8bb8ffdadc7d8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classDateTimeRule.html#a54bd953f366fc89279e8bb8ffdadc7d8">DateTimeRule::DateRuleType</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Date rule type constants. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002931">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a54bd953f366fc89279e8bb8ffdadc7d8a438dbcb7645554fd1d7a8db771604d77"></a>DOM</em>&nbsp;</td><td>
<p>The exact day of month, for example, March 11. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a54bd953f366fc89279e8bb8ffdadc7d8a780c0fa10fa5f572f29745c57793105e"></a>DOW</em>&nbsp;</td><td>
<p>The Nth occurence of the day of week, for example, 2nd Sunday in March. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a54bd953f366fc89279e8bb8ffdadc7d8ad8fe18c70614f5359cb909cf5d8316e6"></a>DOW_GEQ_DOM</em>&nbsp;</td><td>
<p>The first occurence of the day of week on or after the day of monnth, for example, first Sunday on or after March 8. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a54bd953f366fc89279e8bb8ffdadc7d8a1948ee978a8797ca8b0b67a0cda9c3a7"></a>DOW_LEQ_DOM</em>&nbsp;</td><td>
<p>The last occurence of the day of week on or before the day of month, for example, first Sunday on or before March 14. </p>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="dtrule_8h_source.html#l00036">36</a> of file <a class="el" href="dtrule_8h_source.html">dtrule.h</a>.</p>

</div>
</div>
<a class="anchor" id="a587bb19278c1b9b30d32e33eb88111d0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classDateTimeRule.html#a587bb19278c1b9b30d32e33eb88111d0">DateTimeRule::TimeRuleType</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Time rule type constants. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002932">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a587bb19278c1b9b30d32e33eb88111d0aefbb25a99824295386e616a78ff89567"></a>WALL_TIME</em>&nbsp;</td><td>
<p>The local wall clock time. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a587bb19278c1b9b30d32e33eb88111d0af288aca0a107e583468033eba69747ca"></a>STANDARD_TIME</em>&nbsp;</td><td>
<p>The local standard time. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a587bb19278c1b9b30d32e33eb88111d0ae2fd733a37e5133d961e1fa89a7cf4b3"></a>UTC_TIME</em>&nbsp;</td><td>
<p>The UTC time. </p>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="dtrule_8h_source.html#l00051">51</a> of file <a class="el" href="dtrule_8h_source.html">dtrule.h</a>.</p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="adb804909d83acd919ebafb12b92d2e8f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DateTimeRule::DateTimeRule </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&#160;</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#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&#160;</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#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&#160;</td>
          <td class="paramname"><em>millisInDay</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classDateTimeRule.html#a587bb19278c1b9b30d32e33eb88111d0">TimeRuleType</a>&#160;</td>
          <td class="paramname"><em>timeType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructs a <code><a class="el" href="classDateTimeRule.html" title="DateTimeRule is a class representing a time in a year by a rule specified by month, day of month, day of week and time in the day.">DateTimeRule</a></code> by the day of month and the time rule. </p>
<p>The date rule type for an instance created by this constructor is <code>DOM</code>.</p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">month</td><td>The rule month, for example, <code>Calendar::JANUARY</code> </td></tr>
    <tr><td class="paramname">dayOfMonth</td><td>The day of month, 1-based. </td></tr>
    <tr><td class="paramname">millisInDay</td><td>The milliseconds in the rule date. </td></tr>
    <tr><td class="paramname">timeType</td><td>The time type, <code>WALL_TIME</code> or <code>STANDARD_TIME</code> or <code>UTC_TIME</code>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002933">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl>

</div>
</div>
<a class="anchor" id="ae2d2049f61c3f2a3c88c132fd4dfc19f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DateTimeRule::DateTimeRule </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&#160;</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#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&#160;</td>
          <td class="paramname"><em>weekInMonth</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&#160;</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#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&#160;</td>
          <td class="paramname"><em>millisInDay</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classDateTimeRule.html#a587bb19278c1b9b30d32e33eb88111d0">TimeRuleType</a>&#160;</td>
          <td class="paramname"><em>timeType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructs a <code><a class="el" href="classDateTimeRule.html" title="DateTimeRule is a class representing a time in a year by a rule specified by month, day of month, day of week and time in the day.">DateTimeRule</a></code> by the day of week and its oridinal number and the time rule. </p>
<p>The date rule type for an instance created by this constructor is <code>DOW</code>.</p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">month</td><td>The rule month, for example, <code>Calendar::JANUARY</code>. </td></tr>
    <tr><td class="paramname">weekInMonth</td><td>The ordinal number of the day of week. Negative number may be used for specifying a rule date counted from the end of the rule month. </td></tr>
    <tr><td class="paramname">dayOfWeek</td><td>The day of week, for example, <code>Calendar::SUNDAY</code>. </td></tr>
    <tr><td class="paramname">millisInDay</td><td>The milliseconds in the rule date. </td></tr>
    <tr><td class="paramname">timeType</td><td>The time type, <code>WALL_TIME</code> or <code>STANDARD_TIME</code> or <code>UTC_TIME</code>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002934">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl>

</div>
</div>
<a class="anchor" id="aa37433620c2215eace502921d6d25cb5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DateTimeRule::DateTimeRule </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&#160;</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#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&#160;</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#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&#160;</td>
          <td class="paramname"><em>dayOfWeek</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td>
          <td class="paramname"><em>after</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&#160;</td>
          <td class="paramname"><em>millisInDay</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classDateTimeRule.html#a587bb19278c1b9b30d32e33eb88111d0">TimeRuleType</a>&#160;</td>
          <td class="paramname"><em>timeType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Constructs a <code><a class="el" href="classDateTimeRule.html" title="DateTimeRule is a class representing a time in a year by a rule specified by month, day of month, day of week and time in the day.">DateTimeRule</a></code> by the first/last day of week on or after/before the day of month and the time rule. </p>
<p>The date rule type for an instance created by this constructor is either <code>DOM_GEQ_DOM</code> or <code>DOM_LEQ_DOM</code>.</p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">month</td><td>The rule month, for example, <code>Calendar::JANUARY</code> </td></tr>
    <tr><td class="paramname">dayOfMonth</td><td>The day of month, 1-based. </td></tr>
    <tr><td class="paramname">dayOfWeek</td><td>The day of week, for example, <code>Calendar::SUNDAY</code>. </td></tr>
    <tr><td class="paramname">after</td><td>true if the rule date is on or after the day of month. </td></tr>
    <tr><td class="paramname">millisInDay</td><td>The milliseconds in the rule date. </td></tr>
    <tr><td class="paramname">timeType</td><td>The time type, <code>WALL_TIME</code> or <code>STANDARD_TIME</code> or <code>UTC_TIME</code>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002935">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl>

</div>
</div>
<a class="anchor" id="a5dd4a9dd719ffc9f9af787265130f081"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DateTimeRule::DateTimeRule </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classDateTimeRule.html">DateTimeRule</a> &amp;&#160;</td>
          <td class="paramname"><em>source</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Copy constructor. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td>The <a class="el" href="classDateTimeRule.html" title="DateTimeRule is a class representing a time in a year by a rule specified by month, day of month, day of week and time in the day.">DateTimeRule</a> object to be copied. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002936">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl>

</div>
</div>
<a class="anchor" id="a32e5b5048afdecf080e3cc8e89364ab6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">DateTimeRule::~DateTimeRule </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

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

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a3f8ec0d9074cd75b704198157288cd98"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDateTimeRule.html">DateTimeRule</a>* DateTimeRule::clone </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clone this <a class="el" href="classDateTimeRule.html" title="DateTimeRule is a class representing a time in a year by a rule specified by month, day of month, day of week and time in the day.">DateTimeRule</a> object polymorphically. </p>
<p>The caller owns the result and should delete it when done. </p>
<dl class="section return"><dt>Returns:</dt><dd>A copy of the object. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002938">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl>

</div>
</div>
<a class="anchor" id="abc077b38c57e3aa833259f2f09fcaa66"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDateTimeRule.html#a54bd953f366fc89279e8bb8ffdadc7d8">DateRuleType</a> DateTimeRule::getDateRuleType </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the date rule type, such as <code>DOM</code> </p>
<dl class="section return"><dt>Returns:</dt><dd>The date rule type. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002942">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl>

</div>
</div>
<a class="anchor" id="a4a11a272988bf4a4b85e60697830b6f3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> DateTimeRule::getDynamicClassID </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a unique class ID POLYMORPHICALLY. </p>
<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="classDateTimeRule.html#afcd44c4452e4ca846acd98772be4ad7f" title="Return true if the given DateTimeRule objects are semantically equal.">operator==()</a> and <a class="el" href="classDateTimeRule.html#a3f8ec0d9074cd75b704198157288cd98" title="Clone this DateTimeRule object polymorphically.">clone()</a> methods call this method.</p>
<dl class="section return"><dt>Returns:</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 class="stable"><dt><b><a class="el" href="stable.html#_stable002950">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl>

<p>Implements <a class="el" href="classUObject.html#a9b1acc95efd89cb86ec31f2dc947a262">UObject</a>.</p>

</div>
</div>
<a class="anchor" id="a966bf14eaa7f96220e97e5f41e754ed7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> DateTimeRule::getRuleDayOfMonth </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the rule day of month. </p>
<p>When the date rule type is <code>DOW</code>, the value is always 0. </p>
<dl class="section return"><dt>Returns:</dt><dd>The rule day of month </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002945">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl>

</div>
</div>
<a class="anchor" id="a58681ba5850111050da38b1e2354e50b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> DateTimeRule::getRuleDayOfWeek </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the rule day of week. </p>
<p>When the date rule type is <code>DOM</code>, the value is always 0. </p>
<dl class="section return"><dt>Returns:</dt><dd>The rule day of week. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002946">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl>

</div>
</div>
<a class="anchor" id="a9557e4b81d446a51e5dd04e97412895c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> DateTimeRule::getRuleMillisInDay </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the rule time in the rule day. </p>
<dl class="section return"><dt>Returns:</dt><dd>The time in the rule day in milliseconds. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002948">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl>

</div>
</div>
<a class="anchor" id="ad49a3145c6bd0afc41653f1d54866b91"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> DateTimeRule::getRuleMonth </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the rule month. </p>
<dl class="section return"><dt>Returns:</dt><dd>The rule month. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002944">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl>

</div>
</div>
<a class="anchor" id="ae78f630ab446eb546e959d948b2217a0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#ab1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> DateTimeRule::getRuleWeekInMonth </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the ordinal number of the occurence of the day of week in the month. </p>
<p>When the date rule type is not <code>DOW</code>, the value is always 0. </p>
<dl class="section return"><dt>Returns:</dt><dd>The rule day of week ordinal number in the month. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002947">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl>

</div>
</div>
<a class="anchor" id="afdd91a931e68adeb4c6dcdf374135ed0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> DateTimeRule::getStaticClassID </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the class ID for this class. </p>
<p>This is useful only for comparing to a return value from <a class="el" href="classDateTimeRule.html#a4a11a272988bf4a4b85e60697830b6f3" title="Returns a unique class ID POLYMORPHICALLY.">getDynamicClassID()</a>. For example: </p>
<pre>
       .   Base* polymorphic_pointer = createPolymorphicObject();
       .   if (polymorphic_pointer-&gt;<a class="el" href="classDateTimeRule.html#a4a11a272988bf4a4b85e60697830b6f3" title="Returns a unique class ID POLYMORPHICALLY.">getDynamicClassID()</a> ==
       .       erived::getStaticClassID()) ...
       </pre> <dl class="section return"><dt>Returns:</dt><dd>The class ID for all objects of this class. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002949">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl>

</div>
</div>
<a class="anchor" id="ad53c841e8bb9e0fe39ba10766cdba8dc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDateTimeRule.html#a587bb19278c1b9b30d32e33eb88111d0">TimeRuleType</a> DateTimeRule::getTimeRuleType </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the time rule type. </p>
<dl class="section return"><dt>Returns:</dt><dd>The time rule type, either <code>WALL_TIME</code> or <code>STANDARD_TIME</code> or <code>UTC_TIME</code>. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002943">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl>

</div>
</div>
<a class="anchor" id="a8c6bdf2e0752fdf8a5947d506927baa9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> DateTimeRule::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classDateTimeRule.html">DateTimeRule</a> &amp;&#160;</td>
          <td class="paramname"><em>that</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return true if the given <a class="el" href="classDateTimeRule.html" title="DateTimeRule is a class representing a time in a year by a rule specified by month, day of month, day of week and time in the day.">DateTimeRule</a> objects are semantically unequal. </p>
<p>Objects of different subclasses are considered unequal. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">that</td><td>The object to be compared with. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>true if the given <a class="el" href="classDateTimeRule.html" title="DateTimeRule is a class representing a time in a year by a rule specified by month, day of month, day of week and time in the day.">DateTimeRule</a> objects are semantically unequal. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002941">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl>

</div>
</div>
<a class="anchor" id="acfa3647907a3b803cc0ab604aa2f55c8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classDateTimeRule.html">DateTimeRule</a>&amp; DateTimeRule::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classDateTimeRule.html">DateTimeRule</a> &amp;&#160;</td>
          <td class="paramname"><em>right</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Assignment operator. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">right</td><td>The object to be copied. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002939">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl>

</div>
</div>
<a class="anchor" id="afcd44c4452e4ca846acd98772be4ad7f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> DateTimeRule::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classDateTimeRule.html">DateTimeRule</a> &amp;&#160;</td>
          <td class="paramname"><em>that</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return true if the given <a class="el" href="classDateTimeRule.html" title="DateTimeRule is a class representing a time in a year by a rule specified by month, day of month, day of week and time in the day.">DateTimeRule</a> objects are semantically equal. </p>
<p>Objects of different subclasses are considered unequal. </p>
<dl class="params"><dt>Parameters:</dt><dd>
  <table class="params">
    <tr><td class="paramname">that</td><td>The object to be compared with. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns:</dt><dd>true if the given <a class="el" href="classDateTimeRule.html" title="DateTimeRule is a class representing a time in a year by a rule specified by month, day of month, day of week and time in the day.">DateTimeRule</a> objects are semantically equal. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002940">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="dtrule_8h_source.html">dtrule.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.1.1
</small></address>
</body>
</html>