Sophie

Sophie

distrib > Mageia > 6 > armv5tl > media > core-release > by-pkgid > 3a4e91bde08970529a0aa07935652fe8 > files > 57

icu-doc-58.2-3.mga6.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"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ICU 58.2: icu::Calendar 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="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 id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ICU 58.2
   &#160;<span id="projectnumber">58.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
  <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><a href="namespaces.html"><span>Namespaces</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>
    </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>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceicu.html">icu</a></li><li class="navelem"><a class="el" href="classicu_1_1Calendar.html">Calendar</a></li>  </ul>
</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> &#124;
<a href="#pro-types">Protected Types</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-static-methods">Static Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#pro-static-attribs">Static Protected Attributes</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">icu::Calendar Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p><code><a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a></code> is an abstract base class for converting between a <code>UDate</code> object and a set of integer fields such as <code>YEAR</code>, <code>MONTH</code>, <code>DAY</code>, <code>HOUR</code>, and so on.  
 <a href="classicu_1_1Calendar.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="calendar_8h_source.html">calendar.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for icu::Calendar:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classicu_1_1Calendar.png" usemap="#icu::Calendar_map" alt=""/>
  <map id="icu::Calendar_map" name="icu::Calendar_map">
<area href="classicu_1_1UObject.html" title="UObject is the common ICU &quot;boilerplate&quot; class. " alt="icu::UObject" shape="rect" coords="0,56,144,80"/>
<area href="classicu_1_1UMemory.html" title="UMemory is the common ICU base class. " alt="icu::UMemory" shape="rect" coords="0,0,144,24"/>
<area href="classicu_1_1GregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. " alt="icu::GregorianCalendar" shape="rect" coords="0,168,144,192"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a4d834504c309b2c84831390db2664520"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a4d834504c309b2c84831390db2664520">EDateFields</a> { <br />
&#160;&#160;<b>ERA</b>, 
<b>YEAR</b>, 
<b>MONTH</b>, 
<b>WEEK_OF_YEAR</b>, 
<br />
&#160;&#160;<b>WEEK_OF_MONTH</b>, 
<b>DATE</b>, 
<b>DAY_OF_YEAR</b>, 
<b>DAY_OF_WEEK</b>, 
<br />
&#160;&#160;<b>DAY_OF_WEEK_IN_MONTH</b>, 
<b>AM_PM</b>, 
<b>HOUR</b>, 
<b>HOUR_OF_DAY</b>, 
<br />
&#160;&#160;<b>MINUTE</b>, 
<b>SECOND</b>, 
<b>MILLISECOND</b>, 
<b>ZONE_OFFSET</b>, 
<br />
&#160;&#160;<b>DST_OFFSET</b>, 
<b>YEAR_WOY</b>, 
<b>DOW_LOCAL</b>, 
<b>EXTENDED_YEAR</b>, 
<br />
&#160;&#160;<b>JULIAN_DAY</b>, 
<b>MILLISECONDS_IN_DAY</b>, 
<b>IS_LEAP_MONTH</b>, 
<b>FIELD_COUNT</b> = UCAL_FIELD_COUNT
<br />
 }<tr class="memdesc:a4d834504c309b2c84831390db2664520"><td class="mdescLeft">&#160;</td><td class="mdescRight">Field IDs for date and time.  <a href="classicu_1_1Calendar.html#a4d834504c309b2c84831390db2664520">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a4d834504c309b2c84831390db2664520"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ca774e0e17548d6818ff549529346ab"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a3ca774e0e17548d6818ff549529346ab">EDaysOfWeek</a> { <br />
&#160;&#160;<b>SUNDAY</b> = 1, 
<b>MONDAY</b>, 
<b>TUESDAY</b>, 
<b>WEDNESDAY</b>, 
<br />
&#160;&#160;<b>THURSDAY</b>, 
<b>FRIDAY</b>, 
<b>SATURDAY</b>
<br />
 }<tr class="memdesc:a3ca774e0e17548d6818ff549529346ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for days of week.  <a href="classicu_1_1Calendar.html#a3ca774e0e17548d6818ff549529346ab">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a3ca774e0e17548d6818ff549529346ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae10c95d8821f0c31a247dd6b9be65c94"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#ae10c95d8821f0c31a247dd6b9be65c94">EMonths</a> { <br />
&#160;&#160;<b>JANUARY</b>, 
<b>FEBRUARY</b>, 
<b>MARCH</b>, 
<b>APRIL</b>, 
<br />
&#160;&#160;<b>MAY</b>, 
<b>JUNE</b>, 
<b>JULY</b>, 
<b>AUGUST</b>, 
<br />
&#160;&#160;<b>SEPTEMBER</b>, 
<b>OCTOBER</b>, 
<b>NOVEMBER</b>, 
<b>DECEMBER</b>, 
<br />
&#160;&#160;<b>UNDECIMBER</b>
<br />
 }<tr class="memdesc:ae10c95d8821f0c31a247dd6b9be65c94"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constants for month.  <a href="classicu_1_1Calendar.html#ae10c95d8821f0c31a247dd6b9be65c94">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:ae10c95d8821f0c31a247dd6b9be65c94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3e4b8918f255797559a401681da32d5"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#ab3e4b8918f255797559a401681da32d5">EAmpm</a> { <b>AM</b>, 
<b>PM</b>
 }<tr class="memdesc:ab3e4b8918f255797559a401681da32d5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constants for hour in 12-hour clock.  <a href="classicu_1_1Calendar.html#ab3e4b8918f255797559a401681da32d5">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:ab3e4b8918f255797559a401681da32d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a4575ea61fb04e8276d36854f4b3b8d1d"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a4575ea61fb04e8276d36854f4b3b8d1d">~Calendar</a> ()</td></tr>
<tr class="memdesc:a4575ea61fb04e8276d36854f4b3b8d1d"><td class="mdescLeft">&#160;</td><td class="mdescRight">destructor  <a href="#a4575ea61fb04e8276d36854f4b3b8d1d">More...</a><br /></td></tr>
<tr class="separator:a4575ea61fb04e8276d36854f4b3b8d1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a114afce08d68598111ae08b908937293"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classicu_1_1Calendar.html">Calendar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a114afce08d68598111ae08b908937293">clone</a> (void) const =0</td></tr>
<tr class="memdesc:a114afce08d68598111ae08b908937293"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create and return a polymorphic copy of this calendar.  <a href="#a114afce08d68598111ae08b908937293">More...</a><br /></td></tr>
<tr class="separator:a114afce08d68598111ae08b908937293"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e85ccfedfb7722bcf6120dbe65182ed"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a5e85ccfedfb7722bcf6120dbe65182ed">getTime</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a5e85ccfedfb7722bcf6120dbe65182ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>'s time as milliseconds.  <a href="#a5e85ccfedfb7722bcf6120dbe65182ed">More...</a><br /></td></tr>
<tr class="separator:a5e85ccfedfb7722bcf6120dbe65182ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0892d30c6780218d801d55e64d642a4f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a0892d30c6780218d801d55e64d642a4f">setTime</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> date, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a0892d30c6780218d801d55e64d642a4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>'s current time with the given UDate.  <a href="#a0892d30c6780218d801d55e64d642a4f">More...</a><br /></td></tr>
<tr class="separator:a0892d30c6780218d801d55e64d642a4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ee1e26782181bd2191cbd8e369db0a9"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a2ee1e26782181bd2191cbd8e369db0a9">operator==</a> (const <a class="el" href="classicu_1_1Calendar.html">Calendar</a> &amp;that) const </td></tr>
<tr class="memdesc:a2ee1e26782181bd2191cbd8e369db0a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compares the equality of two <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> objects.  <a href="#a2ee1e26782181bd2191cbd8e369db0a9">More...</a><br /></td></tr>
<tr class="separator:a2ee1e26782181bd2191cbd8e369db0a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a641afdb5e48534eb17568c1911b28292"><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="classicu_1_1Calendar.html#a641afdb5e48534eb17568c1911b28292">operator!=</a> (const <a class="el" href="classicu_1_1Calendar.html">Calendar</a> &amp;that) const </td></tr>
<tr class="memdesc:a641afdb5e48534eb17568c1911b28292"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compares the inequality of two <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> objects.  <a href="#a641afdb5e48534eb17568c1911b28292">More...</a><br /></td></tr>
<tr class="separator:a641afdb5e48534eb17568c1911b28292"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3bba83239bd569208b4c2e83720a7833"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a3bba83239bd569208b4c2e83720a7833">isEquivalentTo</a> (const <a class="el" href="classicu_1_1Calendar.html">Calendar</a> &amp;other) const </td></tr>
<tr class="memdesc:a3bba83239bd569208b4c2e83720a7833"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns TRUE if the given <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> object is equivalent to this one.  <a href="#a3bba83239bd569208b4c2e83720a7833">More...</a><br /></td></tr>
<tr class="separator:a3bba83239bd569208b4c2e83720a7833"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6678db8af47d1e69fd3d0e784fe06716"><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="classicu_1_1Calendar.html#a6678db8af47d1e69fd3d0e784fe06716">equals</a> (const <a class="el" href="classicu_1_1Calendar.html">Calendar</a> &amp;when, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a6678db8af47d1e69fd3d0e784fe06716"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compares the <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> time, whereas <a class="el" href="classicu_1_1Calendar.html#a2ee1e26782181bd2191cbd8e369db0a9" title="Compares the equality of two Calendar objects. ">Calendar::operator==</a> compares the equality of <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> objects.  <a href="#a6678db8af47d1e69fd3d0e784fe06716">More...</a><br /></td></tr>
<tr class="separator:a6678db8af47d1e69fd3d0e784fe06716"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a42d775544946461c15e7226429154c7a"><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="classicu_1_1Calendar.html#a42d775544946461c15e7226429154c7a">before</a> (const <a class="el" href="classicu_1_1Calendar.html">Calendar</a> &amp;when, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a42d775544946461c15e7226429154c7a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>'s current time is before "when"'s current time.  <a href="#a42d775544946461c15e7226429154c7a">More...</a><br /></td></tr>
<tr class="separator:a42d775544946461c15e7226429154c7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabe8c2be4095a5ded2f4437c51eed401"><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="classicu_1_1Calendar.html#aabe8c2be4095a5ded2f4437c51eed401">after</a> (const <a class="el" href="classicu_1_1Calendar.html">Calendar</a> &amp;when, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:aabe8c2be4095a5ded2f4437c51eed401"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>'s current time is after "when"'s current time.  <a href="#aabe8c2be4095a5ded2f4437c51eed401">More...</a><br /></td></tr>
<tr class="separator:aabe8c2be4095a5ded2f4437c51eed401"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1fbbede5bcd4ea879c2a7573379b5d9"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#af1fbbede5bcd4ea879c2a7573379b5d9">add</a> (<a class="el" href="classicu_1_1Calendar.html#a4d834504c309b2c84831390db2664520">EDateFields</a> field, int32_t amount, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:af1fbbede5bcd4ea879c2a7573379b5d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">UDate Arithmetic function.  <a href="#af1fbbede5bcd4ea879c2a7573379b5d9">More...</a><br /></td></tr>
<tr class="separator:af1fbbede5bcd4ea879c2a7573379b5d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aedff97cf3cb3d7b8515e721e289f31af"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#aedff97cf3cb3d7b8515e721e289f31af">add</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, int32_t amount, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:aedff97cf3cb3d7b8515e721e289f31af"><td class="mdescLeft">&#160;</td><td class="mdescRight">UDate Arithmetic function.  <a href="#aedff97cf3cb3d7b8515e721e289f31af">More...</a><br /></td></tr>
<tr class="separator:aedff97cf3cb3d7b8515e721e289f31af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91e030cdb98538b5010510dbce783624"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a91e030cdb98538b5010510dbce783624">roll</a> (<a class="el" href="classicu_1_1Calendar.html#a4d834504c309b2c84831390db2664520">EDateFields</a> field, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> up, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a91e030cdb98538b5010510dbce783624"><td class="mdescLeft">&#160;</td><td class="mdescRight">Time Field Rolling function.  <a href="#a91e030cdb98538b5010510dbce783624">More...</a><br /></td></tr>
<tr class="separator:a91e030cdb98538b5010510dbce783624"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acdc73fcdbc01d47d4fe3821d19e7edcc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#acdc73fcdbc01d47d4fe3821d19e7edcc">roll</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> up, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:acdc73fcdbc01d47d4fe3821d19e7edcc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Time Field Rolling function.  <a href="#acdc73fcdbc01d47d4fe3821d19e7edcc">More...</a><br /></td></tr>
<tr class="separator:acdc73fcdbc01d47d4fe3821d19e7edcc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4fdb47e33f3733c251ec685b91dc15f5"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a4fdb47e33f3733c251ec685b91dc15f5">roll</a> (<a class="el" href="classicu_1_1Calendar.html#a4d834504c309b2c84831390db2664520">EDateFields</a> field, int32_t amount, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a4fdb47e33f3733c251ec685b91dc15f5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Time Field Rolling function.  <a href="#a4fdb47e33f3733c251ec685b91dc15f5">More...</a><br /></td></tr>
<tr class="separator:a4fdb47e33f3733c251ec685b91dc15f5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1bce39d5b53eeacc9b014f9bf64a30a1"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a1bce39d5b53eeacc9b014f9bf64a30a1">roll</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, int32_t amount, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a1bce39d5b53eeacc9b014f9bf64a30a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Time Field Rolling function.  <a href="#a1bce39d5b53eeacc9b014f9bf64a30a1">More...</a><br /></td></tr>
<tr class="separator:a1bce39d5b53eeacc9b014f9bf64a30a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afe1ff7b373368d4b6393db2e9d1e892b"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#afe1ff7b373368d4b6393db2e9d1e892b">fieldDifference</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> when, <a class="el" href="classicu_1_1Calendar.html#a4d834504c309b2c84831390db2664520">EDateFields</a> field, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:afe1ff7b373368d4b6393db2e9d1e892b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the difference between the given time and the time this calendar object is set to.  <a href="#afe1ff7b373368d4b6393db2e9d1e892b">More...</a><br /></td></tr>
<tr class="separator:afe1ff7b373368d4b6393db2e9d1e892b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1dc3ed6a2c8ebaf833dc022023208b88"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a1dc3ed6a2c8ebaf833dc022023208b88">fieldDifference</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> when, <a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a1dc3ed6a2c8ebaf833dc022023208b88"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the difference between the given time and the time this calendar object is set to.  <a href="#a1dc3ed6a2c8ebaf833dc022023208b88">More...</a><br /></td></tr>
<tr class="separator:a1dc3ed6a2c8ebaf833dc022023208b88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8797da617df1ac9c424eb4e0c2ad5608"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a8797da617df1ac9c424eb4e0c2ad5608">adoptTimeZone</a> (<a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> *value)</td></tr>
<tr class="memdesc:a8797da617df1ac9c424eb4e0c2ad5608"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the calendar's time zone to be the one passed in.  <a href="#a8797da617df1ac9c424eb4e0c2ad5608">More...</a><br /></td></tr>
<tr class="separator:a8797da617df1ac9c424eb4e0c2ad5608"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aafc842cd79cf0a1c653c543def4893eb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#aafc842cd79cf0a1c653c543def4893eb">setTimeZone</a> (const <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> &amp;zone)</td></tr>
<tr class="memdesc:aafc842cd79cf0a1c653c543def4893eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the calendar's time zone to be the same as the one passed in.  <a href="#aafc842cd79cf0a1c653c543def4893eb">More...</a><br /></td></tr>
<tr class="separator:aafc842cd79cf0a1c653c543def4893eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afafa04252604325d5e984e03ef438435"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#afafa04252604325d5e984e03ef438435">getTimeZone</a> (void) const </td></tr>
<tr class="memdesc:afafa04252604325d5e984e03ef438435"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a reference to the time zone owned by this calendar.  <a href="#afafa04252604325d5e984e03ef438435">More...</a><br /></td></tr>
<tr class="separator:afafa04252604325d5e984e03ef438435"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f00ccc3032b22c8c902b3ede7ce3182"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a3f00ccc3032b22c8c902b3ede7ce3182">orphanTimeZone</a> (void)</td></tr>
<tr class="memdesc:a3f00ccc3032b22c8c902b3ede7ce3182"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the time zone owned by this calendar.  <a href="#a3f00ccc3032b22c8c902b3ede7ce3182">More...</a><br /></td></tr>
<tr class="separator:a3f00ccc3032b22c8c902b3ede7ce3182"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd88b3a7707e9b9256ec8dee3f6c7ced"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#acd88b3a7707e9b9256ec8dee3f6c7ced">inDaylightTime</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const =0</td></tr>
<tr class="memdesc:acd88b3a7707e9b9256ec8dee3f6c7ced"><td class="mdescLeft">&#160;</td><td class="mdescRight">Queries if the current date for this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> is in Daylight Savings Time.  <a href="#acd88b3a7707e9b9256ec8dee3f6c7ced">More...</a><br /></td></tr>
<tr class="separator:acd88b3a7707e9b9256ec8dee3f6c7ced"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29c0974167c4d5b3570a87a55935224b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a29c0974167c4d5b3570a87a55935224b">setLenient</a> (<a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> lenient)</td></tr>
<tr class="memdesc:a29c0974167c4d5b3570a87a55935224b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Specifies whether or not date/time interpretation is to be lenient.  <a href="#a29c0974167c4d5b3570a87a55935224b">More...</a><br /></td></tr>
<tr class="separator:a29c0974167c4d5b3570a87a55935224b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb53d92dc483443f9edece337f4bd86a"><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="classicu_1_1Calendar.html#adb53d92dc483443f9edece337f4bd86a">isLenient</a> (void) const </td></tr>
<tr class="memdesc:adb53d92dc483443f9edece337f4bd86a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tells whether date/time interpretation is to be lenient.  <a href="#adb53d92dc483443f9edece337f4bd86a">More...</a><br /></td></tr>
<tr class="separator:adb53d92dc483443f9edece337f4bd86a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc9fae6a9d2844aad73aa12f8a841eb6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#acc9fae6a9d2844aad73aa12f8a841eb6">setRepeatedWallTimeOption</a> (<a class="el" href="ucal_8h.html#a4868f5e191f75ed38b7ee0c3040317b8">UCalendarWallTimeOption</a> option)</td></tr>
<tr class="memdesc:acc9fae6a9d2844aad73aa12f8a841eb6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the behavior for handling wall time repeating multiple times at negative time zone offset transitions.  <a href="#acc9fae6a9d2844aad73aa12f8a841eb6">More...</a><br /></td></tr>
<tr class="separator:acc9fae6a9d2844aad73aa12f8a841eb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a112119cdc47a197c4563749da2ed39a0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucal_8h.html#a4868f5e191f75ed38b7ee0c3040317b8">UCalendarWallTimeOption</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a112119cdc47a197c4563749da2ed39a0">getRepeatedWallTimeOption</a> (void) const </td></tr>
<tr class="memdesc:a112119cdc47a197c4563749da2ed39a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the behavior for handling wall time repeating multiple times at negative time zone offset transitions.  <a href="#a112119cdc47a197c4563749da2ed39a0">More...</a><br /></td></tr>
<tr class="separator:a112119cdc47a197c4563749da2ed39a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09676ec794b4a18247d7daae5f746ce6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a09676ec794b4a18247d7daae5f746ce6">setSkippedWallTimeOption</a> (<a class="el" href="ucal_8h.html#a4868f5e191f75ed38b7ee0c3040317b8">UCalendarWallTimeOption</a> option)</td></tr>
<tr class="memdesc:a09676ec794b4a18247d7daae5f746ce6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the behavior for handling skipped wall time at positive time zone offset transitions.  <a href="#a09676ec794b4a18247d7daae5f746ce6">More...</a><br /></td></tr>
<tr class="separator:a09676ec794b4a18247d7daae5f746ce6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5f48b5a457657ec25a8db9cc4121f5a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucal_8h.html#a4868f5e191f75ed38b7ee0c3040317b8">UCalendarWallTimeOption</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#af5f48b5a457657ec25a8db9cc4121f5a">getSkippedWallTimeOption</a> (void) const </td></tr>
<tr class="memdesc:af5f48b5a457657ec25a8db9cc4121f5a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the behavior for handling skipped wall time at positive time zone offset transitions.  <a href="#af5f48b5a457657ec25a8db9cc4121f5a">More...</a><br /></td></tr>
<tr class="separator:af5f48b5a457657ec25a8db9cc4121f5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a59e5abe6a36bfc5668bd7193b8eaf9ef"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a59e5abe6a36bfc5668bd7193b8eaf9ef">setFirstDayOfWeek</a> (<a class="el" href="classicu_1_1Calendar.html#a3ca774e0e17548d6818ff549529346ab">EDaysOfWeek</a> value)</td></tr>
<tr class="memdesc:a59e5abe6a36bfc5668bd7193b8eaf9ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets what the first day of the week is; e.g., Sunday in US, Monday in France.  <a href="#a59e5abe6a36bfc5668bd7193b8eaf9ef">More...</a><br /></td></tr>
<tr class="separator:a59e5abe6a36bfc5668bd7193b8eaf9ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf7a6d09860c37daa75906824bbd94c4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#acf7a6d09860c37daa75906824bbd94c4">setFirstDayOfWeek</a> (<a class="el" href="ucal_8h.html#a62d9fe551bd48e4141fce52b917119a4">UCalendarDaysOfWeek</a> value)</td></tr>
<tr class="memdesc:acf7a6d09860c37daa75906824bbd94c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets what the first day of the week is; e.g., Sunday in US, Monday in France.  <a href="#acf7a6d09860c37daa75906824bbd94c4">More...</a><br /></td></tr>
<tr class="separator:acf7a6d09860c37daa75906824bbd94c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a55d7c70691dd47644ae1720b1868a075"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1Calendar.html#a3ca774e0e17548d6818ff549529346ab">EDaysOfWeek</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a55d7c70691dd47644ae1720b1868a075">getFirstDayOfWeek</a> (void) const </td></tr>
<tr class="memdesc:a55d7c70691dd47644ae1720b1868a075"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets what the first day of the week is; e.g., Sunday in US, Monday in France.  <a href="#a55d7c70691dd47644ae1720b1868a075">More...</a><br /></td></tr>
<tr class="separator:a55d7c70691dd47644ae1720b1868a075"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a009a36988f65cba33e7db4a811336b32"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucal_8h.html#a62d9fe551bd48e4141fce52b917119a4">UCalendarDaysOfWeek</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a009a36988f65cba33e7db4a811336b32">getFirstDayOfWeek</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a009a36988f65cba33e7db4a811336b32"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets what the first day of the week is; e.g., Sunday in US, Monday in France.  <a href="#a009a36988f65cba33e7db4a811336b32">More...</a><br /></td></tr>
<tr class="separator:a009a36988f65cba33e7db4a811336b32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b667a3b107b4269d57fdd58e76f37c1"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a8b667a3b107b4269d57fdd58e76f37c1">setMinimalDaysInFirstWeek</a> (uint8_t value)</td></tr>
<tr class="memdesc:a8b667a3b107b4269d57fdd58e76f37c1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets what the minimal days required in the first week of the year are; For example, if the first week is defined as one that contains the first day of the first month of a year, call the method with value 1.  <a href="#a8b667a3b107b4269d57fdd58e76f37c1">More...</a><br /></td></tr>
<tr class="separator:a8b667a3b107b4269d57fdd58e76f37c1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a94ff80e6d1a098c137f3def18b407bc3"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a94ff80e6d1a098c137f3def18b407bc3">getMinimalDaysInFirstWeek</a> (void) const </td></tr>
<tr class="memdesc:a94ff80e6d1a098c137f3def18b407bc3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets what the minimal days required in the first week of the year are; e.g., if the first week is defined as one that contains the first day of the first month of a year, getMinimalDaysInFirstWeek returns 1.  <a href="#a94ff80e6d1a098c137f3def18b407bc3">More...</a><br /></td></tr>
<tr class="separator:a94ff80e6d1a098c137f3def18b407bc3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a803f2c087ab8a5cdb8dcae7d0a6b19a0"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a803f2c087ab8a5cdb8dcae7d0a6b19a0">getMinimum</a> (<a class="el" href="classicu_1_1Calendar.html#a4d834504c309b2c84831390db2664520">EDateFields</a> field) const </td></tr>
<tr class="memdesc:a803f2c087ab8a5cdb8dcae7d0a6b19a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the minimum value for the given time field.  <a href="#a803f2c087ab8a5cdb8dcae7d0a6b19a0">More...</a><br /></td></tr>
<tr class="separator:a803f2c087ab8a5cdb8dcae7d0a6b19a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9ec449f1dd4f133cc057d7e81b32c17"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#ac9ec449f1dd4f133cc057d7e81b32c17">getMinimum</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field) const </td></tr>
<tr class="memdesc:ac9ec449f1dd4f133cc057d7e81b32c17"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the minimum value for the given time field.  <a href="#ac9ec449f1dd4f133cc057d7e81b32c17">More...</a><br /></td></tr>
<tr class="separator:ac9ec449f1dd4f133cc057d7e81b32c17"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8d7b66fb3daea46b9e97ed78b280e37a"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a8d7b66fb3daea46b9e97ed78b280e37a">getMaximum</a> (<a class="el" href="classicu_1_1Calendar.html#a4d834504c309b2c84831390db2664520">EDateFields</a> field) const </td></tr>
<tr class="memdesc:a8d7b66fb3daea46b9e97ed78b280e37a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the maximum value for the given time field.  <a href="#a8d7b66fb3daea46b9e97ed78b280e37a">More...</a><br /></td></tr>
<tr class="separator:a8d7b66fb3daea46b9e97ed78b280e37a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4dcb59b6291e87896bbfdd7d3280d987"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a4dcb59b6291e87896bbfdd7d3280d987">getMaximum</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field) const </td></tr>
<tr class="memdesc:a4dcb59b6291e87896bbfdd7d3280d987"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the maximum value for the given time field.  <a href="#a4dcb59b6291e87896bbfdd7d3280d987">More...</a><br /></td></tr>
<tr class="separator:a4dcb59b6291e87896bbfdd7d3280d987"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acadfa5299cd065e3d4e8bbeae970ced0"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#acadfa5299cd065e3d4e8bbeae970ced0">getGreatestMinimum</a> (<a class="el" href="classicu_1_1Calendar.html#a4d834504c309b2c84831390db2664520">EDateFields</a> field) const </td></tr>
<tr class="memdesc:acadfa5299cd065e3d4e8bbeae970ced0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the highest minimum value for the given field if varies.  <a href="#acadfa5299cd065e3d4e8bbeae970ced0">More...</a><br /></td></tr>
<tr class="separator:acadfa5299cd065e3d4e8bbeae970ced0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c795b4d55d06e46784625ace258b418"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a5c795b4d55d06e46784625ace258b418">getGreatestMinimum</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field) const </td></tr>
<tr class="memdesc:a5c795b4d55d06e46784625ace258b418"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the highest minimum value for the given field if varies.  <a href="#a5c795b4d55d06e46784625ace258b418">More...</a><br /></td></tr>
<tr class="separator:a5c795b4d55d06e46784625ace258b418"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a18e7a67e203eab806010a4fb46dd6ef7"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a18e7a67e203eab806010a4fb46dd6ef7">getLeastMaximum</a> (<a class="el" href="classicu_1_1Calendar.html#a4d834504c309b2c84831390db2664520">EDateFields</a> field) const </td></tr>
<tr class="memdesc:a18e7a67e203eab806010a4fb46dd6ef7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the lowest maximum value for the given field if varies.  <a href="#a18e7a67e203eab806010a4fb46dd6ef7">More...</a><br /></td></tr>
<tr class="separator:a18e7a67e203eab806010a4fb46dd6ef7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a340d6a65b1449001e0f0ef4d7d34f018"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a340d6a65b1449001e0f0ef4d7d34f018">getLeastMaximum</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field) const </td></tr>
<tr class="memdesc:a340d6a65b1449001e0f0ef4d7d34f018"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the lowest maximum value for the given field if varies.  <a href="#a340d6a65b1449001e0f0ef4d7d34f018">More...</a><br /></td></tr>
<tr class="separator:a340d6a65b1449001e0f0ef4d7d34f018"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e121a4ce4aafbbde21c577278482dae"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a2e121a4ce4aafbbde21c577278482dae">getActualMinimum</a> (<a class="el" href="classicu_1_1Calendar.html#a4d834504c309b2c84831390db2664520">EDateFields</a> field, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a2e121a4ce4aafbbde21c577278482dae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the minimum value that this field could have, given the current date.  <a href="#a2e121a4ce4aafbbde21c577278482dae">More...</a><br /></td></tr>
<tr class="separator:a2e121a4ce4aafbbde21c577278482dae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a1859db412fb3ce385e4b98a84b0f5d"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a3a1859db412fb3ce385e4b98a84b0f5d">getActualMinimum</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a3a1859db412fb3ce385e4b98a84b0f5d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the minimum value that this field could have, given the current date.  <a href="#a3a1859db412fb3ce385e4b98a84b0f5d">More...</a><br /></td></tr>
<tr class="separator:a3a1859db412fb3ce385e4b98a84b0f5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9efcae081ffdcc9e63f7e7f275d4320b"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a9efcae081ffdcc9e63f7e7f275d4320b">getActualMaximum</a> (<a class="el" href="classicu_1_1Calendar.html#a4d834504c309b2c84831390db2664520">EDateFields</a> field, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a9efcae081ffdcc9e63f7e7f275d4320b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the maximum value that this field could have, given the current date.  <a href="#a9efcae081ffdcc9e63f7e7f275d4320b">More...</a><br /></td></tr>
<tr class="separator:a9efcae081ffdcc9e63f7e7f275d4320b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af47e64294492f403e2b167a57ba72be4"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#af47e64294492f403e2b167a57ba72be4">getActualMaximum</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:af47e64294492f403e2b167a57ba72be4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the maximum value that this field could have, given the current date.  <a href="#af47e64294492f403e2b167a57ba72be4">More...</a><br /></td></tr>
<tr class="separator:af47e64294492f403e2b167a57ba72be4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63681d990cc67b1962d3c85da66e5953"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a63681d990cc67b1962d3c85da66e5953">get</a> (<a class="el" href="classicu_1_1Calendar.html#a4d834504c309b2c84831390db2664520">EDateFields</a> field, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a63681d990cc67b1962d3c85da66e5953"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the value for a given time field.  <a href="#a63681d990cc67b1962d3c85da66e5953">More...</a><br /></td></tr>
<tr class="separator:a63681d990cc67b1962d3c85da66e5953"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44bad5015b407bbe63d92322149af4ad"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a44bad5015b407bbe63d92322149af4ad">get</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a44bad5015b407bbe63d92322149af4ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the value for a given time field.  <a href="#a44bad5015b407bbe63d92322149af4ad">More...</a><br /></td></tr>
<tr class="separator:a44bad5015b407bbe63d92322149af4ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6fefa1505ea34d12f195015470ee941"><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="classicu_1_1Calendar.html#aa6fefa1505ea34d12f195015470ee941">isSet</a> (<a class="el" href="classicu_1_1Calendar.html#a4d834504c309b2c84831390db2664520">EDateFields</a> field) const </td></tr>
<tr class="memdesc:aa6fefa1505ea34d12f195015470ee941"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines if the given time field has a value set.  <a href="#aa6fefa1505ea34d12f195015470ee941">More...</a><br /></td></tr>
<tr class="separator:aa6fefa1505ea34d12f195015470ee941"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a355dfcba0c6952c5ee645dcd06ba033b"><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="classicu_1_1Calendar.html#a355dfcba0c6952c5ee645dcd06ba033b">isSet</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field) const </td></tr>
<tr class="memdesc:a355dfcba0c6952c5ee645dcd06ba033b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines if the given time field has a value set.  <a href="#a355dfcba0c6952c5ee645dcd06ba033b">More...</a><br /></td></tr>
<tr class="separator:a355dfcba0c6952c5ee645dcd06ba033b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26f29ca7778531e4b897cbfc181ac0f6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a26f29ca7778531e4b897cbfc181ac0f6">set</a> (<a class="el" href="classicu_1_1Calendar.html#a4d834504c309b2c84831390db2664520">EDateFields</a> field, int32_t value)</td></tr>
<tr class="memdesc:a26f29ca7778531e4b897cbfc181ac0f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the given time field with the given value.  <a href="#a26f29ca7778531e4b897cbfc181ac0f6">More...</a><br /></td></tr>
<tr class="separator:a26f29ca7778531e4b897cbfc181ac0f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a52feb5d2013966f72d4c24405badae"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a0a52feb5d2013966f72d4c24405badae">set</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, int32_t value)</td></tr>
<tr class="memdesc:a0a52feb5d2013966f72d4c24405badae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the given time field with the given value.  <a href="#a0a52feb5d2013966f72d4c24405badae">More...</a><br /></td></tr>
<tr class="separator:a0a52feb5d2013966f72d4c24405badae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb3dbfabf06d5cc6f6b0127061c09b61"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#afb3dbfabf06d5cc6f6b0127061c09b61">set</a> (int32_t year, int32_t month, int32_t date)</td></tr>
<tr class="memdesc:afb3dbfabf06d5cc6f6b0127061c09b61"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the values for the fields YEAR, MONTH, and DATE.  <a href="#afb3dbfabf06d5cc6f6b0127061c09b61">More...</a><br /></td></tr>
<tr class="separator:afb3dbfabf06d5cc6f6b0127061c09b61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc9dfcf97750cd6aee5c1e39fce60ae7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#afc9dfcf97750cd6aee5c1e39fce60ae7">set</a> (int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute)</td></tr>
<tr class="memdesc:afc9dfcf97750cd6aee5c1e39fce60ae7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the values for the fields YEAR, MONTH, DATE, HOUR_OF_DAY, and MINUTE.  <a href="#afc9dfcf97750cd6aee5c1e39fce60ae7">More...</a><br /></td></tr>
<tr class="separator:afc9dfcf97750cd6aee5c1e39fce60ae7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad93748f69bf8c427cbe97714de1ca443"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#ad93748f69bf8c427cbe97714de1ca443">set</a> (int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute, int32_t second)</td></tr>
<tr class="memdesc:ad93748f69bf8c427cbe97714de1ca443"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the values for the fields YEAR, MONTH, DATE, HOUR_OF_DAY, MINUTE, and SECOND.  <a href="#ad93748f69bf8c427cbe97714de1ca443">More...</a><br /></td></tr>
<tr class="separator:ad93748f69bf8c427cbe97714de1ca443"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade18a5974ebb8c684e3e2acebb5935cb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#ade18a5974ebb8c684e3e2acebb5935cb">clear</a> (void)</td></tr>
<tr class="memdesc:ade18a5974ebb8c684e3e2acebb5935cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the values of all the time fields, making them both unset and assigning them a value of zero.  <a href="#ade18a5974ebb8c684e3e2acebb5935cb">More...</a><br /></td></tr>
<tr class="separator:ade18a5974ebb8c684e3e2acebb5935cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f4c3047a79cc8dabdc90ae254216686"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a9f4c3047a79cc8dabdc90ae254216686">clear</a> (<a class="el" href="classicu_1_1Calendar.html#a4d834504c309b2c84831390db2664520">EDateFields</a> field)</td></tr>
<tr class="memdesc:a9f4c3047a79cc8dabdc90ae254216686"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the value in the given time field, both making it unset and assigning it a value of zero.  <a href="#a9f4c3047a79cc8dabdc90ae254216686">More...</a><br /></td></tr>
<tr class="separator:a9f4c3047a79cc8dabdc90ae254216686"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d8926a23cef3bd938aae2df1483b132"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a5d8926a23cef3bd938aae2df1483b132">clear</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field)</td></tr>
<tr class="memdesc:a5d8926a23cef3bd938aae2df1483b132"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the value in the given time field, both making it unset and assigning it a value of zero.  <a href="#a5d8926a23cef3bd938aae2df1483b132">More...</a><br /></td></tr>
<tr class="separator:a5d8926a23cef3bd938aae2df1483b132"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab278d3b6441dd14bedd4624e32a321e8"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#ab278d3b6441dd14bedd4624e32a321e8">getDynamicClassID</a> (void) const =0</td></tr>
<tr class="memdesc:ab278d3b6441dd14bedd4624e32a321e8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a unique class ID POLYMORPHICALLY.  <a href="#ab278d3b6441dd14bedd4624e32a321e8">More...</a><br /></td></tr>
<tr class="separator:ab278d3b6441dd14bedd4624e32a321e8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c0404ab571a529fefbf4708affcceca"><td class="memItemLeft" align="right" valign="top">virtual const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a5c0404ab571a529fefbf4708affcceca">getType</a> () const =0</td></tr>
<tr class="memdesc:a5c0404ab571a529fefbf4708affcceca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the calendar type name string for this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> object.  <a href="#a5c0404ab571a529fefbf4708affcceca">More...</a><br /></td></tr>
<tr class="separator:a5c0404ab571a529fefbf4708affcceca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0bc1e5fdb589dfbaa8e8f0e24f7e9179"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucal_8h.html#a5d1f042c84dc291891c208d4c7dcd933">UCalendarWeekdayType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a0bc1e5fdb589dfbaa8e8f0e24f7e9179">getDayOfWeekType</a> (<a class="el" href="ucal_8h.html#a62d9fe551bd48e4141fce52b917119a4">UCalendarDaysOfWeek</a> dayOfWeek, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a0bc1e5fdb589dfbaa8e8f0e24f7e9179"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the given day of the week is a weekday, a weekend day, or a day that transitions from one to the other, for the locale and calendar system associated with this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> (the locale's region is often the most determinant factor).  <a href="#a0bc1e5fdb589dfbaa8e8f0e24f7e9179">More...</a><br /></td></tr>
<tr class="separator:a0bc1e5fdb589dfbaa8e8f0e24f7e9179"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a231e1427bfe88fad011820f5f9972aa7"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a231e1427bfe88fad011820f5f9972aa7">getWeekendTransition</a> (<a class="el" href="ucal_8h.html#a62d9fe551bd48e4141fce52b917119a4">UCalendarDaysOfWeek</a> dayOfWeek, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a231e1427bfe88fad011820f5f9972aa7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the time during the day at which the weekend begins or ends in this calendar system.  <a href="#a231e1427bfe88fad011820f5f9972aa7">More...</a><br /></td></tr>
<tr class="separator:a231e1427bfe88fad011820f5f9972aa7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ad9c5ad98a49b02ad7293228100bc51"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a9ad9c5ad98a49b02ad7293228100bc51">isWeekend</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> date, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a9ad9c5ad98a49b02ad7293228100bc51"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns TRUE if the given UDate is in the weekend in this calendar system.  <a href="#a9ad9c5ad98a49b02ad7293228100bc51">More...</a><br /></td></tr>
<tr class="separator:a9ad9c5ad98a49b02ad7293228100bc51"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a584cafe69a84f27293a3dd127d4dba45"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a584cafe69a84f27293a3dd127d4dba45">isWeekend</a> (void) const </td></tr>
<tr class="memdesc:a584cafe69a84f27293a3dd127d4dba45"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns TRUE if this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>'s current date-time is in the weekend in this calendar system.  <a href="#a584cafe69a84f27293a3dd127d4dba45">More...</a><br /></td></tr>
<tr class="separator:a584cafe69a84f27293a3dd127d4dba45"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a9e76d81d84c2a59db1c28c2001abdd"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a3a9e76d81d84c2a59db1c28c2001abdd">haveDefaultCentury</a> () const =0</td></tr>
<tr class="separator:a3a9e76d81d84c2a59db1c28c2001abdd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a927dd35081247fd9f35bc27eea46c827"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a927dd35081247fd9f35bc27eea46c827">defaultCenturyStart</a> () const =0</td></tr>
<tr class="separator:a927dd35081247fd9f35bc27eea46c827"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a8dc87f0d3189ca23f0a37dae3fcef5"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a8a8dc87f0d3189ca23f0a37dae3fcef5">defaultCenturyStartYear</a> () const =0</td></tr>
<tr class="separator:a8a8dc87f0d3189ca23f0a37dae3fcef5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ac9d9a4def3e2b821ee1f8f0ba1858d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1Locale.html">Locale</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a9ac9d9a4def3e2b821ee1f8f0ba1858d">getLocale</a> (<a class="el" href="uloc_8h.html#adf053345d343f8d82ae080f7a5871f34">ULocDataLocaleType</a> type, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a9ac9d9a4def3e2b821ee1f8f0ba1858d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the locale for this calendar object.  <a href="#a9ac9d9a4def3e2b821ee1f8f0ba1858d">More...</a><br /></td></tr>
<tr class="separator:a9ac9d9a4def3e2b821ee1f8f0ba1858d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68513c08cf1d338cc6f6e450298d1ec9"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a68513c08cf1d338cc6f6e450298d1ec9">getRelatedYear</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="separator:a68513c08cf1d338cc6f6e450298d1ec9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd3f0ea4ab623eac9e53572981c2f88e"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#abd3f0ea4ab623eac9e53572981c2f88e">setRelatedYear</a> (int32_t year)</td></tr>
<tr class="separator:abd3f0ea4ab623eac9e53572981c2f88e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afffc294760d45bcdbd7792f201cc9fc8"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#afffc294760d45bcdbd7792f201cc9fc8">getLocaleID</a> (<a class="el" href="uloc_8h.html#adf053345d343f8d82ae080f7a5871f34">ULocDataLocaleType</a> type, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:afffc294760d45bcdbd7792f201cc9fc8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the locale for this calendar object.  <a href="#afffc294760d45bcdbd7792f201cc9fc8">More...</a><br /></td></tr>
<tr class="separator:afffc294760d45bcdbd7792f201cc9fc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classicu_1_1UObject"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classicu_1_1UObject')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classicu_1_1UObject.html">icu::UObject</a></td></tr>
<tr class="memitem:af10026497704f510d3d1f2eff50acb18 inherit pub_methods_classicu_1_1UObject"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1UObject.html#af10026497704f510d3d1f2eff50acb18">~UObject</a> ()</td></tr>
<tr class="memdesc:af10026497704f510d3d1f2eff50acb18 inherit pub_methods_classicu_1_1UObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#af10026497704f510d3d1f2eff50acb18">More...</a><br /></td></tr>
<tr class="separator:af10026497704f510d3d1f2eff50acb18 inherit pub_methods_classicu_1_1UObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:ad2d72d348ce478cf1715dd79b7262c89"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1Calendar.html">Calendar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#ad2d72d348ce478cf1715dd79b7262c89">createInstance</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;success)</td></tr>
<tr class="memdesc:ad2d72d348ce478cf1715dd79b7262c89"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> using the default timezone and locale.  <a href="#ad2d72d348ce478cf1715dd79b7262c89">More...</a><br /></td></tr>
<tr class="separator:ad2d72d348ce478cf1715dd79b7262c89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f19a556c0ab4efe6fcc10ddbc44959d"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1Calendar.html">Calendar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a8f19a556c0ab4efe6fcc10ddbc44959d">createInstance</a> (<a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> *zoneToAdopt, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;success)</td></tr>
<tr class="memdesc:a8f19a556c0ab4efe6fcc10ddbc44959d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> using the given timezone and the default locale.  <a href="#a8f19a556c0ab4efe6fcc10ddbc44959d">More...</a><br /></td></tr>
<tr class="separator:a8f19a556c0ab4efe6fcc10ddbc44959d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82736eeccb849d64de70a3b5592be2b8"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1Calendar.html">Calendar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a82736eeccb849d64de70a3b5592be2b8">createInstance</a> (const <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> &amp;zone, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;success)</td></tr>
<tr class="memdesc:a82736eeccb849d64de70a3b5592be2b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> using the given timezone and the default locale.  <a href="#a82736eeccb849d64de70a3b5592be2b8">More...</a><br /></td></tr>
<tr class="separator:a82736eeccb849d64de70a3b5592be2b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb1c63dd184db6621361612913359c47"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1Calendar.html">Calendar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#abb1c63dd184db6621361612913359c47">createInstance</a> (const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;aLocale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;success)</td></tr>
<tr class="memdesc:abb1c63dd184db6621361612913359c47"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> using the default timezone and the given locale.  <a href="#abb1c63dd184db6621361612913359c47">More...</a><br /></td></tr>
<tr class="separator:abb1c63dd184db6621361612913359c47"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af99f52dab94a3d1a20bbf74c6b4a0b39"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1Calendar.html">Calendar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#af99f52dab94a3d1a20bbf74c6b4a0b39">createInstance</a> (<a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> *zoneToAdopt, const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;aLocale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;success)</td></tr>
<tr class="memdesc:af99f52dab94a3d1a20bbf74c6b4a0b39"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> using the given timezone and given locale.  <a href="#af99f52dab94a3d1a20bbf74c6b4a0b39">More...</a><br /></td></tr>
<tr class="separator:af99f52dab94a3d1a20bbf74c6b4a0b39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb4d90176180fe00de45956b023ea436"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1Calendar.html">Calendar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#abb4d90176180fe00de45956b023ea436">createInstance</a> (const <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> &amp;zone, const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;aLocale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;success)</td></tr>
<tr class="memdesc:abb4d90176180fe00de45956b023ea436"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets a <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> using the given timezone and given locale.  <a href="#abb4d90176180fe00de45956b023ea436">More...</a><br /></td></tr>
<tr class="separator:abb4d90176180fe00de45956b023ea436"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad23c6f68b2facf85dc1365f7c1bac0bb"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classicu_1_1Locale.html">Locale</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#ad23c6f68b2facf85dc1365f7c1bac0bb">getAvailableLocales</a> (int32_t &amp;count)</td></tr>
<tr class="memdesc:ad23c6f68b2facf85dc1365f7c1bac0bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a list of the locales for which Calendars are installed.  <a href="#ad23c6f68b2facf85dc1365f7c1bac0bb">More...</a><br /></td></tr>
<tr class="separator:ad23c6f68b2facf85dc1365f7c1bac0bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a520dbe21940ea4c57febf1f8f5e4b341"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1StringEnumeration.html">StringEnumeration</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a520dbe21940ea4c57febf1f8f5e4b341">getKeywordValuesForLocale</a> (const char *key, const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;locale, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> commonlyUsed, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a520dbe21940ea4c57febf1f8f5e4b341"><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a key and a locale, returns an array of string values in a preferred order that would make a difference.  <a href="#a520dbe21940ea4c57febf1f8f5e4b341">More...</a><br /></td></tr>
<tr class="separator:a520dbe21940ea4c57febf1f8f5e4b341"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd72cd8a3a8fd6052e21f80528a0dd34"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#abd72cd8a3a8fd6052e21f80528a0dd34">getNow</a> (void)</td></tr>
<tr class="memdesc:abd72cd8a3a8fd6052e21f80528a0dd34"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the current UTC (GMT) time measured in milliseconds since 0:00:00 on 1/1/70 (derived from the system time).  <a href="#abd72cd8a3a8fd6052e21f80528a0dd34">More...</a><br /></td></tr>
<tr class="separator:abd72cd8a3a8fd6052e21f80528a0dd34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbb8665a720ba96c5eec94c0e49098a6"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1StringEnumeration.html">StringEnumeration</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#adbb8665a720ba96c5eec94c0e49098a6">getAvailableLocales</a> (void)</td></tr>
<tr class="memdesc:adbb8665a720ba96c5eec94c0e49098a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">INTERNAL FOR 2.6 &ndash; Registration.  <a href="#adbb8665a720ba96c5eec94c0e49098a6">More...</a><br /></td></tr>
<tr class="separator:adbb8665a720ba96c5eec94c0e49098a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a747e3d0cfec86b8286a237bce24e2c01"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="umisc_8h.html#ab5905d79ed3b979840cee1d5fd48b4fb">URegistryKey</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a747e3d0cfec86b8286a237bce24e2c01">registerFactory</a> (ICUServiceFactory *toAdopt, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a747e3d0cfec86b8286a237bce24e2c01"><td class="mdescLeft">&#160;</td><td class="mdescRight">Register a new <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> factory.  <a href="#a747e3d0cfec86b8286a237bce24e2c01">More...</a><br /></td></tr>
<tr class="separator:a747e3d0cfec86b8286a237bce24e2c01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee69ee39f3838b40933c875c0623e205"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#aee69ee39f3838b40933c875c0623e205">unregister</a> (<a class="el" href="umisc_8h.html#ab5905d79ed3b979840cee1d5fd48b4fb">URegistryKey</a> key, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:aee69ee39f3838b40933c875c0623e205"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unregister a previously-registered CalendarFactory using the key returned from the register call.  <a href="#aee69ee39f3838b40933c875c0623e205">More...</a><br /></td></tr>
<tr class="separator:aee69ee39f3838b40933c875c0623e205"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5623309bf9dc3046af213ca043d3734e"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classicu_1_1Calendar.html">Calendar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a5623309bf9dc3046af213ca043d3734e">makeInstance</a> (const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;locale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a5623309bf9dc3046af213ca043d3734e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> from a <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a> for the cache.  <a href="#a5623309bf9dc3046af213ca043d3734e">More...</a><br /></td></tr>
<tr class="separator:a5623309bf9dc3046af213ca043d3734e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2846233ad0aef278624293ccdbb1eedf"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a2846233ad0aef278624293ccdbb1eedf">getCalendarTypeFromLocale</a> (const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;locale, char *typeBuffer, int32_t typeBufferSize, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a2846233ad0aef278624293ccdbb1eedf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the calendar type for given locale.  <a href="#a2846233ad0aef278624293ccdbb1eedf">More...</a><br /></td></tr>
<tr class="separator:a2846233ad0aef278624293ccdbb1eedf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-types"></a>
Protected Types</h2></td></tr>
<tr class="memitem:a54345fd19441b27f9648c617d0978737"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a54345fd19441b27f9648c617d0978737">ELimitType</a> { <br />
&#160;&#160;<b>UCAL_LIMIT_MINIMUM</b> = 0, 
<b>UCAL_LIMIT_GREATEST_MINIMUM</b>, 
<b>UCAL_LIMIT_LEAST_MAXIMUM</b>, 
<b>UCAL_LIMIT_MAXIMUM</b>, 
<br />
&#160;&#160;<b>UCAL_LIMIT_COUNT</b>
<br />
 }<tr class="memdesc:a54345fd19441b27f9648c617d0978737"><td class="mdescLeft">&#160;</td><td class="mdescRight">Limit enums.  <a href="classicu_1_1Calendar.html#a54345fd19441b27f9648c617d0978737">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a54345fd19441b27f9648c617d0978737"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7b3aacb9ae7095c8c8dddba8da7a594"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom">{ <a class="el" href="classicu_1_1Calendar.html#ae7b3aacb9ae7095c8c8dddba8da7a594abc26005ff02d8963fa26bc7edea32295">kResolveSTOP</a> = -1, 
<a class="el" href="classicu_1_1Calendar.html#ae7b3aacb9ae7095c8c8dddba8da7a594a99c97bf4903957c2151ee834963e821d">kResolveRemap</a> = 32
 }<tr class="memdesc:ae7b3aacb9ae7095c8c8dddba8da7a594"><td class="mdescLeft">&#160;</td><td class="mdescRight">Values for field resolution tables.  <a href="classicu_1_1Calendar.html#ae7b3aacb9ae7095c8c8dddba8da7a594">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:ae7b3aacb9ae7095c8c8dddba8da7a594"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aefbdebb1d013634ce3f466ab94e5f8b7"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom">{ <b>kUnset</b> = 0, 
<b>kInternallySet</b>, 
<b>kMinimumUserStamp</b>
 }<tr class="memdesc:aefbdebb1d013634ce3f466ab94e5f8b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Special values of stamp[].  <a href="classicu_1_1Calendar.html#aefbdebb1d013634ce3f466ab94e5f8b7">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:aefbdebb1d013634ce3f466ab94e5f8b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a56135034d6ce8faca1a989c0d049e9b9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a56135034d6ce8faca1a989c0d049e9b9">Calendar</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;success)</td></tr>
<tr class="memdesc:a56135034d6ce8faca1a989c0d049e9b9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> with the default time zone as returned by TimeZone::createInstance(), and the default locale.  <a href="#a56135034d6ce8faca1a989c0d049e9b9">More...</a><br /></td></tr>
<tr class="separator:a56135034d6ce8faca1a989c0d049e9b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a8980c057ceb3e24ed8e3b9d2bd3e1d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a7a8980c057ceb3e24ed8e3b9d2bd3e1d">Calendar</a> (const <a class="el" href="classicu_1_1Calendar.html">Calendar</a> &amp;source)</td></tr>
<tr class="memdesc:a7a8980c057ceb3e24ed8e3b9d2bd3e1d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor.  <a href="#a7a8980c057ceb3e24ed8e3b9d2bd3e1d">More...</a><br /></td></tr>
<tr class="separator:a7a8980c057ceb3e24ed8e3b9d2bd3e1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a14f16cc41eb7e9d80d48bc68b628aa80"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classicu_1_1Calendar.html">Calendar</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a14f16cc41eb7e9d80d48bc68b628aa80">operator=</a> (const <a class="el" href="classicu_1_1Calendar.html">Calendar</a> &amp;right)</td></tr>
<tr class="memdesc:a14f16cc41eb7e9d80d48bc68b628aa80"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default assignment operator.  <a href="#a14f16cc41eb7e9d80d48bc68b628aa80">More...</a><br /></td></tr>
<tr class="separator:a14f16cc41eb7e9d80d48bc68b628aa80"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af586dccfbdadc3104a6740d485664854"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#af586dccfbdadc3104a6740d485664854">Calendar</a> (<a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> *zone, const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;aLocale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;success)</td></tr>
<tr class="memdesc:af586dccfbdadc3104a6740d485664854"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> with the given time zone and locale.  <a href="#af586dccfbdadc3104a6740d485664854">More...</a><br /></td></tr>
<tr class="separator:af586dccfbdadc3104a6740d485664854"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaeccfb9e1d93934c38d6716d62fd27a7"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#aaeccfb9e1d93934c38d6716d62fd27a7">Calendar</a> (const <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> &amp;zone, const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;aLocale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;success)</td></tr>
<tr class="memdesc:aaeccfb9e1d93934c38d6716d62fd27a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> with the given time zone and locale.  <a href="#aaeccfb9e1d93934c38d6716d62fd27a7">More...</a><br /></td></tr>
<tr class="separator:aaeccfb9e1d93934c38d6716d62fd27a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae22e398ddd0c126424382957b1a1fc6e"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#ae22e398ddd0c126424382957b1a1fc6e">computeTime</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:ae22e398ddd0c126424382957b1a1fc6e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>'s time field values to GMT as milliseconds.  <a href="#ae22e398ddd0c126424382957b1a1fc6e">More...</a><br /></td></tr>
<tr class="separator:ae22e398ddd0c126424382957b1a1fc6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ac20a3fb98a6e4f6d1923f1035613f4"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a7ac20a3fb98a6e4f6d1923f1035613f4">computeFields</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a7ac20a3fb98a6e4f6d1923f1035613f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts GMT as milliseconds to time field values.  <a href="#a7ac20a3fb98a6e4f6d1923f1035613f4">More...</a><br /></td></tr>
<tr class="separator:a7ac20a3fb98a6e4f6d1923f1035613f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d907b84d11bfe8abd94e4320f389d57"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a0d907b84d11bfe8abd94e4320f389d57">getTimeInMillis</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a0d907b84d11bfe8abd94e4320f389d57"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>'s current time as a long.  <a href="#a0d907b84d11bfe8abd94e4320f389d57">More...</a><br /></td></tr>
<tr class="separator:a0d907b84d11bfe8abd94e4320f389d57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a24e93f5a43e1bd057f13350fbe8b404b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a24e93f5a43e1bd057f13350fbe8b404b">setTimeInMillis</a> (double millis, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a24e93f5a43e1bd057f13350fbe8b404b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>'s current time from the given long value.  <a href="#a24e93f5a43e1bd057f13350fbe8b404b">More...</a><br /></td></tr>
<tr class="separator:a24e93f5a43e1bd057f13350fbe8b404b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27373fe01607ff3f183644512f2ca719"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a27373fe01607ff3f183644512f2ca719">complete</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a27373fe01607ff3f183644512f2ca719"><td class="mdescLeft">&#160;</td><td class="mdescRight">Recomputes the current time from currently set fields, and then fills in any unset fields in the time field list.  <a href="#a27373fe01607ff3f183644512f2ca719">More...</a><br /></td></tr>
<tr class="separator:a27373fe01607ff3f183644512f2ca719"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc8cc0970f6bcc1bd618ac72b8918e89"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#afc8cc0970f6bcc1bd618ac72b8918e89">internalGet</a> (<a class="el" href="classicu_1_1Calendar.html#a4d834504c309b2c84831390db2664520">EDateFields</a> field) const </td></tr>
<tr class="memdesc:afc8cc0970f6bcc1bd618ac72b8918e89"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the value for a given time field.  <a href="#afc8cc0970f6bcc1bd618ac72b8918e89">More...</a><br /></td></tr>
<tr class="separator:afc8cc0970f6bcc1bd618ac72b8918e89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a312b80ecf3b2c89557fe910b5ce2ec89"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a312b80ecf3b2c89557fe910b5ce2ec89">internalGet</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, int32_t defaultValue) const </td></tr>
<tr class="memdesc:a312b80ecf3b2c89557fe910b5ce2ec89"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the value for a given time field.  <a href="#a312b80ecf3b2c89557fe910b5ce2ec89">More...</a><br /></td></tr>
<tr class="separator:a312b80ecf3b2c89557fe910b5ce2ec89"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a339803af0ec556ee44e4a96f63b83bc7"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a339803af0ec556ee44e4a96f63b83bc7">internalGet</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field) const </td></tr>
<tr class="memdesc:a339803af0ec556ee44e4a96f63b83bc7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the value for a given time field.  <a href="#a339803af0ec556ee44e4a96f63b83bc7">More...</a><br /></td></tr>
<tr class="separator:a339803af0ec556ee44e4a96f63b83bc7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ababfb7e1d1979a2bd9c949f657169733"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#ababfb7e1d1979a2bd9c949f657169733">internalSet</a> (<a class="el" href="classicu_1_1Calendar.html#a4d834504c309b2c84831390db2664520">EDateFields</a> field, int32_t value)</td></tr>
<tr class="memdesc:ababfb7e1d1979a2bd9c949f657169733"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the value for a given time field.  <a href="#ababfb7e1d1979a2bd9c949f657169733">More...</a><br /></td></tr>
<tr class="separator:ababfb7e1d1979a2bd9c949f657169733"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f49776ebaca65739a2892701ef85113"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a8f49776ebaca65739a2892701ef85113">internalSet</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, int32_t value)</td></tr>
<tr class="memdesc:a8f49776ebaca65739a2892701ef85113"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the value for a given time field.  <a href="#a8f49776ebaca65739a2892701ef85113">More...</a><br /></td></tr>
<tr class="separator:a8f49776ebaca65739a2892701ef85113"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84a69797a48b17892f286d9cd3c99c83"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a84a69797a48b17892f286d9cd3c99c83">prepareGetActual</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> isMinimum, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a84a69797a48b17892f286d9cd3c99c83"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prepare this calendar for computing the actual minimum or maximum.  <a href="#a84a69797a48b17892f286d9cd3c99c83">More...</a><br /></td></tr>
<tr class="separator:a84a69797a48b17892f286d9cd3c99c83"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d0a7cc3031edcbb5e55e7161767747a"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a9d0a7cc3031edcbb5e55e7161767747a">handleGetLimit</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="classicu_1_1Calendar.html#a54345fd19441b27f9648c617d0978737">ELimitType</a> limitType) const =0</td></tr>
<tr class="memdesc:a9d0a7cc3031edcbb5e55e7161767747a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Subclass API for defining limits of different types.  <a href="#a9d0a7cc3031edcbb5e55e7161767747a">More...</a><br /></td></tr>
<tr class="separator:a9d0a7cc3031edcbb5e55e7161767747a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a001f4fb9a37f4ca19a05cb4ceb1dd373"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a001f4fb9a37f4ca19a05cb4ceb1dd373">getLimit</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="classicu_1_1Calendar.html#a54345fd19441b27f9648c617d0978737">ELimitType</a> limitType) const </td></tr>
<tr class="memdesc:a001f4fb9a37f4ca19a05cb4ceb1dd373"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a limit for a field.  <a href="#a001f4fb9a37f4ca19a05cb4ceb1dd373">More...</a><br /></td></tr>
<tr class="separator:a001f4fb9a37f4ca19a05cb4ceb1dd373"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad9a58bffe23ddbe5a91c2b607226f1ef"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#ad9a58bffe23ddbe5a91c2b607226f1ef">handleComputeMonthStart</a> (int32_t eyear, int32_t month, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> useMonth) const =0</td></tr>
<tr class="memdesc:ad9a58bffe23ddbe5a91c2b607226f1ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the Julian day number of day before the first day of the given month in the given extended year.  <a href="#ad9a58bffe23ddbe5a91c2b607226f1ef">More...</a><br /></td></tr>
<tr class="separator:ad9a58bffe23ddbe5a91c2b607226f1ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad2ee8eac9b5398fd40d95ddc9c3ea82d"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#ad2ee8eac9b5398fd40d95ddc9c3ea82d">handleGetMonthLength</a> (int32_t extendedYear, int32_t month) const </td></tr>
<tr class="memdesc:ad2ee8eac9b5398fd40d95ddc9c3ea82d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the number of days in the given month of the given extended year of this calendar system.  <a href="#ad2ee8eac9b5398fd40d95ddc9c3ea82d">More...</a><br /></td></tr>
<tr class="separator:ad2ee8eac9b5398fd40d95ddc9c3ea82d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af60dde656dc4f7bb53acd2afb7dc79d7"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#af60dde656dc4f7bb53acd2afb7dc79d7">handleGetYearLength</a> (int32_t eyear) const </td></tr>
<tr class="memdesc:af60dde656dc4f7bb53acd2afb7dc79d7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the number of days in the given extended year of this calendar system.  <a href="#af60dde656dc4f7bb53acd2afb7dc79d7">More...</a><br /></td></tr>
<tr class="separator:af60dde656dc4f7bb53acd2afb7dc79d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9e834cff9657ddbaae2003d0576204b4"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a9e834cff9657ddbaae2003d0576204b4">handleGetExtendedYear</a> ()=0</td></tr>
<tr class="memdesc:a9e834cff9657ddbaae2003d0576204b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the extended year defined by the current fields.  <a href="#a9e834cff9657ddbaae2003d0576204b4">More...</a><br /></td></tr>
<tr class="separator:a9e834cff9657ddbaae2003d0576204b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a231046c7c26b42ca2ff328927af4fd32"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a231046c7c26b42ca2ff328927af4fd32">handleComputeJulianDay</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> bestField)</td></tr>
<tr class="memdesc:a231046c7c26b42ca2ff328927af4fd32"><td class="mdescLeft">&#160;</td><td class="mdescRight">Subclasses may override this.  <a href="#a231046c7c26b42ca2ff328927af4fd32">More...</a><br /></td></tr>
<tr class="separator:a231046c7c26b42ca2ff328927af4fd32"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac565b6170daf69489f6df2d8acaf617d"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#ac565b6170daf69489f6df2d8acaf617d">handleGetExtendedYearFromWeekFields</a> (int32_t yearWoy, int32_t woy)</td></tr>
<tr class="memdesc:ac565b6170daf69489f6df2d8acaf617d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Subclasses must override this to convert from week fields (YEAR_WOY and WEEK_OF_YEAR) to an extended year in the case where YEAR, EXTENDED_YEAR are not set.  <a href="#ac565b6170daf69489f6df2d8acaf617d">More...</a><br /></td></tr>
<tr class="separator:ac565b6170daf69489f6df2d8acaf617d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef18bfe4c0bf8c16d2bd643123e6c5ff"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#aef18bfe4c0bf8c16d2bd643123e6c5ff">validateField</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:aef18bfe4c0bf8c16d2bd643123e6c5ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">Validate a single field of this calendar.  <a href="#aef18bfe4c0bf8c16d2bd643123e6c5ff">More...</a><br /></td></tr>
<tr class="separator:aef18bfe4c0bf8c16d2bd643123e6c5ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c73b8712b737bc26a9e059fd3e324c6"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a9c73b8712b737bc26a9e059fd3e324c6">computeJulianDay</a> ()</td></tr>
<tr class="memdesc:a9c73b8712b737bc26a9e059fd3e324c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the Julian day from fields.  <a href="#a9c73b8712b737bc26a9e059fd3e324c6">More...</a><br /></td></tr>
<tr class="separator:a9c73b8712b737bc26a9e059fd3e324c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c0bc30f2e864115320a6392261e05ef"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a5c0bc30f2e864115320a6392261e05ef">computeMillisInDay</a> ()</td></tr>
<tr class="memdesc:a5c0bc30f2e864115320a6392261e05ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the milliseconds in the day from the fields.  <a href="#a5c0bc30f2e864115320a6392261e05ef">More...</a><br /></td></tr>
<tr class="separator:a5c0bc30f2e864115320a6392261e05ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91ac60c52368ea4bf5e6afa40835e853"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a91ac60c52368ea4bf5e6afa40835e853">computeZoneOffset</a> (double millis, int32_t millisInDay, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;ec)</td></tr>
<tr class="memdesc:a91ac60c52368ea4bf5e6afa40835e853"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method can assume EXTENDED_YEAR has been set.  <a href="#a91ac60c52368ea4bf5e6afa40835e853">More...</a><br /></td></tr>
<tr class="separator:a91ac60c52368ea4bf5e6afa40835e853"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a01d17c7250c5183c88cfee62d936094e"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a01d17c7250c5183c88cfee62d936094e">newestStamp</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> start, <a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> end, int32_t bestSoFar) const </td></tr>
<tr class="memdesc:a01d17c7250c5183c88cfee62d936094e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determine the best stamp in a range.  <a href="#a01d17c7250c5183c88cfee62d936094e">More...</a><br /></td></tr>
<tr class="separator:a01d17c7250c5183c88cfee62d936094e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61d4c74dee7b85dc1b7600718e84b2af"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a61d4c74dee7b85dc1b7600718e84b2af">resolveFields</a> (const <a class="el" href="namespaceicu.html#a3a6a9cba02d5e5819c84d085616fe531">UFieldResolutionTable</a> *precedenceTable)</td></tr>
<tr class="memdesc:a61d4c74dee7b85dc1b7600718e84b2af"><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a precedence table, return the newest field combination in the table, or UCAL_FIELD_COUNT if none is found.  <a href="#a61d4c74dee7b85dc1b7600718e84b2af">More...</a><br /></td></tr>
<tr class="separator:a61d4c74dee7b85dc1b7600718e84b2af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9675beeaebbbdd2bf956088489ae767"><td class="memItemLeft" align="right" valign="top">virtual const <a class="el" href="namespaceicu.html#a3a6a9cba02d5e5819c84d085616fe531">UFieldResolutionTable</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#ae9675beeaebbbdd2bf956088489ae767">getFieldResolutionTable</a> () const </td></tr>
<tr class="separator:ae9675beeaebbbdd2bf956088489ae767"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae84bf3f4fa21b328df86a07909ca0f05"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#ae84bf3f4fa21b328df86a07909ca0f05">newerField</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> defaultField, <a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> alternateField) const </td></tr>
<tr class="memdesc:ae84bf3f4fa21b328df86a07909ca0f05"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the field that is newer, either defaultField, or alternateField.  <a href="#ae84bf3f4fa21b328df86a07909ca0f05">More...</a><br /></td></tr>
<tr class="separator:ae84bf3f4fa21b328df86a07909ca0f05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4764fc2da5cac68c69ddb30a1aa6deb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#aa4764fc2da5cac68c69ddb30a1aa6deb">internalGetTime</a> (void) const </td></tr>
<tr class="memdesc:aa4764fc2da5cac68c69ddb30a1aa6deb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current time without recomputing.  <a href="#aa4764fc2da5cac68c69ddb30a1aa6deb">More...</a><br /></td></tr>
<tr class="separator:aa4764fc2da5cac68c69ddb30a1aa6deb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9799b65d6e79a954186a5ad542db071d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a9799b65d6e79a954186a5ad542db071d">internalSetTime</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> time)</td></tr>
<tr class="memdesc:a9799b65d6e79a954186a5ad542db071d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the current time without affecting flags or fields.  <a href="#a9799b65d6e79a954186a5ad542db071d">More...</a><br /></td></tr>
<tr class="separator:a9799b65d6e79a954186a5ad542db071d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ea6299625a2c34432702081e2307ef1"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a5ea6299625a2c34432702081e2307ef1">handleComputeFields</a> (int32_t julianDay, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a5ea6299625a2c34432702081e2307ef1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Subclasses may override this method to compute several fields specific to each calendar system.  <a href="#a5ea6299625a2c34432702081e2307ef1">More...</a><br /></td></tr>
<tr class="separator:a5ea6299625a2c34432702081e2307ef1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd3f71f292bd725f2d6fdc4d1e92164b"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#abd3f71f292bd725f2d6fdc4d1e92164b">getGregorianYear</a> () const </td></tr>
<tr class="memdesc:abd3f71f292bd725f2d6fdc4d1e92164b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the extended year on the Gregorian calendar as computed by <code><a class="el" href="classicu_1_1Calendar.html#a2edf69d185164f3426f16e30e3e6ce7b" title="Compute the Gregorian calendar year, month, and day of month from the Julian day. ...">computeGregorianFields()</a></code>.  <a href="#abd3f71f292bd725f2d6fdc4d1e92164b">More...</a><br /></td></tr>
<tr class="separator:abd3f71f292bd725f2d6fdc4d1e92164b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a93f96ad8265c96df740a2a949cddff93"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a93f96ad8265c96df740a2a949cddff93">getGregorianMonth</a> () const </td></tr>
<tr class="memdesc:a93f96ad8265c96df740a2a949cddff93"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the month (0-based) on the Gregorian calendar as computed by <code><a class="el" href="classicu_1_1Calendar.html#a2edf69d185164f3426f16e30e3e6ce7b" title="Compute the Gregorian calendar year, month, and day of month from the Julian day. ...">computeGregorianFields()</a></code>.  <a href="#a93f96ad8265c96df740a2a949cddff93">More...</a><br /></td></tr>
<tr class="separator:a93f96ad8265c96df740a2a949cddff93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa3a52382246b117c3fa6148a1a8f6377"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#aa3a52382246b117c3fa6148a1a8f6377">getGregorianDayOfYear</a> () const </td></tr>
<tr class="memdesc:aa3a52382246b117c3fa6148a1a8f6377"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the day of year (1-based) on the Gregorian calendar as computed by <code><a class="el" href="classicu_1_1Calendar.html#a2edf69d185164f3426f16e30e3e6ce7b" title="Compute the Gregorian calendar year, month, and day of month from the Julian day. ...">computeGregorianFields()</a></code>.  <a href="#aa3a52382246b117c3fa6148a1a8f6377">More...</a><br /></td></tr>
<tr class="separator:aa3a52382246b117c3fa6148a1a8f6377"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d0074074ce314d4a7c1eb4596b81147"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a1d0074074ce314d4a7c1eb4596b81147">getGregorianDayOfMonth</a> () const </td></tr>
<tr class="memdesc:a1d0074074ce314d4a7c1eb4596b81147"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the day of month (1-based) on the Gregorian calendar as computed by <code><a class="el" href="classicu_1_1Calendar.html#a2edf69d185164f3426f16e30e3e6ce7b" title="Compute the Gregorian calendar year, month, and day of month from the Julian day. ...">computeGregorianFields()</a></code>.  <a href="#a1d0074074ce314d4a7c1eb4596b81147">More...</a><br /></td></tr>
<tr class="separator:a1d0074074ce314d4a7c1eb4596b81147"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0e70149450c7bcff3adde93f611fec1"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#ab0e70149450c7bcff3adde93f611fec1">getDefaultMonthInYear</a> (int32_t eyear)</td></tr>
<tr class="memdesc:ab0e70149450c7bcff3adde93f611fec1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called by computeJulianDay.  <a href="#ab0e70149450c7bcff3adde93f611fec1">More...</a><br /></td></tr>
<tr class="separator:ab0e70149450c7bcff3adde93f611fec1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7659141c1a3856909f2c95f2908b25ee"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a7659141c1a3856909f2c95f2908b25ee">getDefaultDayInMonth</a> (int32_t eyear, int32_t month)</td></tr>
<tr class="memdesc:a7659141c1a3856909f2c95f2908b25ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called by computeJulianDay.  <a href="#a7659141c1a3856909f2c95f2908b25ee">More...</a><br /></td></tr>
<tr class="separator:a7659141c1a3856909f2c95f2908b25ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a957c2383b878f68ff3dc12afcdf6446d"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a957c2383b878f68ff3dc12afcdf6446d">pinField</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a957c2383b878f68ff3dc12afcdf6446d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adjust the specified field so that it is within the allowable range for the date to which this calendar is set.  <a href="#a957c2383b878f68ff3dc12afcdf6446d">More...</a><br /></td></tr>
<tr class="separator:a957c2383b878f68ff3dc12afcdf6446d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20a81041973cc96c73454164b5b82a1e"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a20a81041973cc96c73454164b5b82a1e">weekNumber</a> (int32_t desiredDay, int32_t dayOfPeriod, int32_t dayOfWeek)</td></tr>
<tr class="memdesc:a20a81041973cc96c73454164b5b82a1e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the week number of a day, within a period.  <a href="#a20a81041973cc96c73454164b5b82a1e">More...</a><br /></td></tr>
<tr class="separator:a20a81041973cc96c73454164b5b82a1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4f102d361784389e68604f300895885a"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a4f102d361784389e68604f300895885a">weekNumber</a> (int32_t dayOfPeriod, int32_t dayOfWeek)</td></tr>
<tr class="memdesc:a4f102d361784389e68604f300895885a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the week number of a day, within a period.  <a href="#a4f102d361784389e68604f300895885a">More...</a><br /></td></tr>
<tr class="separator:a4f102d361784389e68604f300895885a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a9072b192294d72b673f21d632020ff"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a1a9072b192294d72b673f21d632020ff">getLocalDOW</a> ()</td></tr>
<tr class="memdesc:a1a9072b192294d72b673f21d632020ff"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns the local DOW, valid range 0..6  <a href="#a1a9072b192294d72b673f21d632020ff">More...</a><br /></td></tr>
<tr class="separator:a1a9072b192294d72b673f21d632020ff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2edf69d185164f3426f16e30e3e6ce7b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a2edf69d185164f3426f16e30e3e6ce7b">computeGregorianFields</a> (int32_t julianDay, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;ec)</td></tr>
<tr class="memdesc:a2edf69d185164f3426f16e30e3e6ce7b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the Gregorian calendar year, month, and day of month from the Julian day.  <a href="#a2edf69d185164f3426f16e30e3e6ce7b">More...</a><br /></td></tr>
<tr class="separator:a2edf69d185164f3426f16e30e3e6ce7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-methods"></a>
Static Protected Member Functions</h2></td></tr>
<tr class="memitem:a98d3ea6ce14edb143711f45447c26a95"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a98d3ea6ce14edb143711f45447c26a95">julianDayToDayOfWeek</a> (double julian)</td></tr>
<tr class="memdesc:a98d3ea6ce14edb143711f45447c26a95"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a quasi Julian date to the day of the week.  <a href="#a98d3ea6ce14edb143711f45447c26a95">More...</a><br /></td></tr>
<tr class="separator:a98d3ea6ce14edb143711f45447c26a95"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a03ecd25821e8b3e8af40f99f3fc67d15"><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="classicu_1_1Calendar.html#a03ecd25821e8b3e8af40f99f3fc67d15">fIsTimeSet</a></td></tr>
<tr class="memdesc:a03ecd25821e8b3e8af40f99f3fc67d15"><td class="mdescLeft">&#160;</td><td class="mdescRight">The flag which indicates if the current time is set in the calendar.  <a href="#a03ecd25821e8b3e8af40f99f3fc67d15">More...</a><br /></td></tr>
<tr class="separator:a03ecd25821e8b3e8af40f99f3fc67d15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a79fe87dbeb4091f8d2f4856f34fdf55a"><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="classicu_1_1Calendar.html#a79fe87dbeb4091f8d2f4856f34fdf55a">fAreFieldsSet</a></td></tr>
<tr class="memdesc:a79fe87dbeb4091f8d2f4856f34fdf55a"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if the fields are in sync with the currently set time of this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>.  <a href="#a79fe87dbeb4091f8d2f4856f34fdf55a">More...</a><br /></td></tr>
<tr class="separator:a79fe87dbeb4091f8d2f4856f34fdf55a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b6ead89d1d7b9f68e1f4014967245c8"><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="classicu_1_1Calendar.html#a9b6ead89d1d7b9f68e1f4014967245c8">fAreAllFieldsSet</a></td></tr>
<tr class="memdesc:a9b6ead89d1d7b9f68e1f4014967245c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if all of the fields have been set.  <a href="#a9b6ead89d1d7b9f68e1f4014967245c8">More...</a><br /></td></tr>
<tr class="separator:a9b6ead89d1d7b9f68e1f4014967245c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a66a5b113d1121b2b8e3e8fb75aff8577"><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="classicu_1_1Calendar.html#a66a5b113d1121b2b8e3e8fb75aff8577">fAreFieldsVirtuallySet</a></td></tr>
<tr class="memdesc:a66a5b113d1121b2b8e3e8fb75aff8577"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if all fields have been virtually set, but have not yet been computed.  <a href="#a66a5b113d1121b2b8e3e8fb75aff8577">More...</a><br /></td></tr>
<tr class="separator:a66a5b113d1121b2b8e3e8fb75aff8577"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73d34e78f4c2cb3a52ad1740c633b8c0"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a73d34e78f4c2cb3a52ad1740c633b8c0">fFields</a> [<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912adbfdd6e6b1bc1be830c7f1ba29f2c68c">UCAL_FIELD_COUNT</a>]</td></tr>
<tr class="memdesc:a73d34e78f4c2cb3a52ad1740c633b8c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">The time fields containing values into which the millis is computed.  <a href="#a73d34e78f4c2cb3a52ad1740c633b8c0">More...</a><br /></td></tr>
<tr class="separator:a73d34e78f4c2cb3a52ad1740c633b8c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ae946a22e7bfcb50d237f83345644c7"><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="classicu_1_1Calendar.html#a7ae946a22e7bfcb50d237f83345644c7">fIsSet</a> [<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912adbfdd6e6b1bc1be830c7f1ba29f2c68c">UCAL_FIELD_COUNT</a>]</td></tr>
<tr class="memdesc:a7ae946a22e7bfcb50d237f83345644c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">The flags which tell if a specified time field for the calendar is set.  <a href="#a7ae946a22e7bfcb50d237f83345644c7">More...</a><br /></td></tr>
<tr class="separator:a7ae946a22e7bfcb50d237f83345644c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0f84036d699c4238786b13eabfc6017"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#af0f84036d699c4238786b13eabfc6017">fStamp</a> [<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912adbfdd6e6b1bc1be830c7f1ba29f2c68c">UCAL_FIELD_COUNT</a>]</td></tr>
<tr class="memdesc:af0f84036d699c4238786b13eabfc6017"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pseudo-time-stamps which specify when each field was set.  <a href="#af0f84036d699c4238786b13eabfc6017">More...</a><br /></td></tr>
<tr class="separator:af0f84036d699c4238786b13eabfc6017"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-attribs"></a>
Static Protected Attributes</h2></td></tr>
<tr class="memitem:a52d01a94775f8e90dcaba22fedfadebb"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="namespaceicu.html#a3a6a9cba02d5e5819c84d085616fe531">UFieldResolutionTable</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a52d01a94775f8e90dcaba22fedfadebb">kDatePrecedence</a> []</td></tr>
<tr class="memdesc:a52d01a94775f8e90dcaba22fedfadebb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Precedence table for Dates.  <a href="#a52d01a94775f8e90dcaba22fedfadebb">More...</a><br /></td></tr>
<tr class="separator:a52d01a94775f8e90dcaba22fedfadebb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc8e1b75669aff79c2b762bba54e5c53"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="namespaceicu.html#a3a6a9cba02d5e5819c84d085616fe531">UFieldResolutionTable</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#acc8e1b75669aff79c2b762bba54e5c53">kYearPrecedence</a> []</td></tr>
<tr class="memdesc:acc8e1b75669aff79c2b762bba54e5c53"><td class="mdescLeft">&#160;</td><td class="mdescRight">Precedence table for Year.  <a href="#acc8e1b75669aff79c2b762bba54e5c53">More...</a><br /></td></tr>
<tr class="separator:acc8e1b75669aff79c2b762bba54e5c53"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1af5decf9b843bc3e55277ef71cdb47a"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="namespaceicu.html#a3a6a9cba02d5e5819c84d085616fe531">UFieldResolutionTable</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a1af5decf9b843bc3e55277ef71cdb47a">kDOWPrecedence</a> []</td></tr>
<tr class="memdesc:a1af5decf9b843bc3e55277ef71cdb47a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Precedence table for Day of Week.  <a href="#a1af5decf9b843bc3e55277ef71cdb47a">More...</a><br /></td></tr>
<tr class="separator:a1af5decf9b843bc3e55277ef71cdb47a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a7b8da58f16be9990955f60c930b4376d"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#a7b8da58f16be9990955f60c930b4376d">CalendarFactory</a></td></tr>
<tr class="memdesc:a7b8da58f16be9990955f60c930b4376d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Multiple <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> Implementation.  <a href="#a7b8da58f16be9990955f60c930b4376d">More...</a><br /></td></tr>
<tr class="separator:a7b8da58f16be9990955f60c930b4376d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef82cfadea9ca1be538463884884c8aa"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#aef82cfadea9ca1be538463884884c8aa">CalendarService</a></td></tr>
<tr class="memdesc:aef82cfadea9ca1be538463884884c8aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Multiple <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> Implementation.  <a href="#aef82cfadea9ca1be538463884884c8aa">More...</a><br /></td></tr>
<tr class="separator:aef82cfadea9ca1be538463884884c8aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affad2f956e924717f3de7ccd94224551"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classicu_1_1Calendar.html#affad2f956e924717f3de7ccd94224551">DefaultCalendarFactory</a></td></tr>
<tr class="memdesc:affad2f956e924717f3de7ccd94224551"><td class="mdescLeft">&#160;</td><td class="mdescRight">Multiple <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> Implementation.  <a href="#affad2f956e924717f3de7ccd94224551">More...</a><br /></td></tr>
<tr class="separator:affad2f956e924717f3de7ccd94224551"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><code><a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a></code> is an abstract base class for converting between a <code>UDate</code> object and a set of integer fields such as <code>YEAR</code>, <code>MONTH</code>, <code>DAY</code>, <code>HOUR</code>, and so on. </p>
<p>(A <code>UDate</code> object represents a specific instant in time with millisecond precision. See UDate for information about the <code>UDate</code> class.)</p>
<p>Subclasses of <code><a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a></code> interpret a <code>UDate</code> according to the rules of a specific calendar system. The most commonly used subclass of <code><a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a></code> is <code><a class="el" href="classicu_1_1GregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</a></code>. Other subclasses could represent the various types of lunar calendars in use in many parts of the world.</p>
<p><b>NOTE</b>: (ICU 2.6) The subclass interface should be considered unstable</p><ul>
<li>it WILL change.</li>
</ul>
<p>Like other locale-sensitive classes, <code><a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a></code> provides a static method, <code>createInstance</code>, for getting a generally useful object of this type. <code><a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a></code>'s <code>createInstance</code> method returns the appropriate <code><a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a></code> subclass whose time fields have been initialized with the current date and time:  <blockquote> </p><pre>
<a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> *rightNow = Calendar::createInstance(errCode);
</pre><p>  </blockquote></p>
<p>A <code><a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a></code> object can produce all the time field values needed to implement the date-time formatting for a particular language and calendar style (for example, Japanese-Gregorian, Japanese-Traditional).</p>
<p>When computing a <code>UDate</code> from time fields, some special circumstances may arise: there may be insufficient information to compute the <code>UDate</code> (such as only year and month but no day in the month), there may be inconsistent information (such as "Tuesday, July 15, 1996" &ndash; July 15, 1996 is actually a Monday), or the input time might be ambiguous because of time zone transition.</p>
<p><b>Insufficient information.</b> The calendar will use default information to specify the missing fields. This may vary by calendar; for the Gregorian calendar, the default for a field is the same as that of the start of the epoch: i.e., YEAR = 1970, MONTH = JANUARY, DATE = 1, etc.</p>
<p><b>Inconsistent information.</b> If fields conflict, the calendar will give preference to fields set more recently. For example, when determining the day, the calendar will look for one of the following combinations of fields. The most recent combination, as determined by the most recently set single field, will be used.</p>
<p> <blockquote> </p><pre>
MONTH + DAY_OF_MONTH
MONTH + WEEK_OF_MONTH + DAY_OF_WEEK
MONTH + DAY_OF_WEEK_IN_MONTH + DAY_OF_WEEK
DAY_OF_YEAR
DAY_OF_WEEK + WEEK_OF_YEAR
</pre><p>  </blockquote></p>
<p>For the time of day:</p>
<p> <blockquote> </p><pre>
HOUR_OF_DAY
AM_PM + HOUR
</pre><p>  </blockquote></p>
<p><b>Ambiguous Wall Clock Time.</b> When time offset from UTC has changed, it produces an ambiguous time slot around the transition. For example, many US locations observe daylight saving time. On the date switching to daylight saving time in US, wall clock time jumps from 12:59 AM (standard) to 2:00 AM (daylight). Therefore, wall clock time from 1:00 AM to 1:59 AM do not exist on the date. When the input wall time fall into this missing time slot, the ICU <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> resolves the time using the UTC offset before the transition by default. In this example, 1:30 AM is interpreted as 1:30 AM standard time (non-exist), so the final result will be 2:30 AM daylight time.</p>
<p>On the date switching back to standard time, wall clock time is moved back one hour at 2:00 AM. So wall clock time from 1:00 AM to 1:59 AM occur twice. In this case, the ICU <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> resolves the time using the UTC offset after the transition by default. For example, 1:30 AM on the date is resolved as 1:30 AM standard time.</p>
<p>Ambiguous wall clock time resolution behaviors can be customized by <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> APIs <a class="el" href="classicu_1_1Calendar.html#acc9fae6a9d2844aad73aa12f8a841eb6">setRepeatedWallTimeOption</a> and <a class="el" href="classicu_1_1Calendar.html#a09676ec794b4a18247d7daae5f746ce6">setSkippedWallTimeOption</a>. These methods are available in ICU 49 or later versions.</p>
<p><b>Note:</b> for some non-Gregorian calendars, different fields may be necessary for complete disambiguation. For example, a full specification of the historial Arabic astronomical calendar requires year, month, day-of-month <em>and</em> day-of-week in some cases.</p>
<p><b>Note:</b> There are certain possible ambiguities in interpretation of certain singular times, which are resolved in the following ways: </p><ol>
<li>
<p class="startli">24:00:00 "belongs" to the following day. That is, 23:59 on Dec 31, 1969 &lt; 24:00 on Jan 1, 1970 &lt; 24:01:00 on Jan 1, 1970</p>
<p class="endli"></p>
</li>
<li>
Although historically not precise, midnight also belongs to "am", and noon belongs to "pm", so on the same day, 12:00 am (midnight) &lt; 12:01 am, and 12:00 pm (noon) &lt; 12:01 pm </li>
</ol>
<p>The date or time format strings are not part of the definition of a calendar, as those must be modifiable or overridable by the user at runtime. Use <a class="el" href="classicu_1_1DateFormat.html">DateFormat</a> to format dates.</p>
<p><code><a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a></code> provides an API for field "rolling", where fields can be incremented or decremented, but wrap around. For example, rolling the month up in the date <code>December 12, <b>1996</b></code> results in <code>January 12, <b>1996</b></code>.</p>
<p><code><a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a></code> also provides a date arithmetic function for adding the specified (signed) amount of time to a particular time field. For example, subtracting 5 days from the date <code>September 12, 1996</code> results in <code>September 7, 1996</code>.</p>
<p>&lt;big&gt;<b>Supported range</b>&lt;/big&gt;</p>
<p>The allowable range of <code><a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a></code> has been narrowed. <code><a class="el" href="classicu_1_1GregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</a></code> used to attempt to support the range of dates with millisecond values from <code>Long.MIN_VALUE</code> to <code>Long.MAX_VALUE</code>. The new <code><a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a></code> protocol specifies the maximum range of supportable dates as those having Julian day numbers of <code>-0x7F000000</code> to <code>+0x7F000000</code>. This corresponds to years from ~5,800,000 BCE to ~5,800,000 CE. Programmers should use the protected constants in <code><a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a></code> to specify an extremely early or extremely late date.</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003074">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l00202">202</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a class="anchor" id="ae7b3aacb9ae7095c8c8dddba8da7a594"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">anonymous enum</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Values for field resolution tables. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classicu_1_1Calendar.html#a61d4c74dee7b85dc1b7600718e84b2af" title="Given a precedence table, return the newest field combination in the table, or UCAL_FIELD_COUNT if no...">resolveFields</a> </dd></dl>
<dl class="internal"><dt><b>Internal:</b></dt><dd>Do not use. This API is for internal use only. </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="ae7b3aacb9ae7095c8c8dddba8da7a594abc26005ff02d8963fa26bc7edea32295"></a>kResolveSTOP&#160;</td><td class="fielddoc">
<p>Marker for end of resolve set (row or group). </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ae7b3aacb9ae7095c8c8dddba8da7a594a99c97bf4903957c2151ee834963e821d"></a>kResolveRemap&#160;</td><td class="fielddoc">
<p>Value to be bitwised "ORed" against resolve table field values for remapping. </p>
<p>Example: (UCAL_DATE | kResolveRemap) in 1st column will cause 'UCAL_DATE' to be returned, but will not examine the value of UCAL_DATE. </p>
</td></tr>
</table>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l01773">1773</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

</div>
</div>
<a class="anchor" id="aefbdebb1d013634ce3f466ab94e5f8b7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">anonymous enum</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Special values of stamp[]. </p>
<dl class="stable"><dt><b>Stable:</b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l01926">1926</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

</div>
</div>
<a class="anchor" id="ab3e4b8918f255797559a401681da32d5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classicu_1_1Calendar.html#ab3e4b8918f255797559a401681da32d5">icu::Calendar::EAmpm</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Useful constants for hour in 12-hour clock. </p>
<p>Used in <a class="el" href="classicu_1_1GregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</a>. </p><dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000289">Deprecated:</a></b></dt><dd>ICU 2.6. Use C enum UCalendarAMPMs defined in <a class="el" href="ucal_8h.html" title="C API: Calendar. ">ucal.h</a> </dd></dl>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l00289">289</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4d834504c309b2c84831390db2664520"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classicu_1_1Calendar.html#a4d834504c309b2c84831390db2664520">icu::Calendar::EDateFields</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Field IDs for date and time. </p>
<p>Used to specify date/time fields. ERA is calendar specific. Example ranges given are for illustration only; see specific <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> subclasses for actual ranges. </p><dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000286">Deprecated:</a></b></dt><dd>ICU 2.6. Use C enum UCalendarDateFields defined in <a class="el" href="ucal_8h.html" title="C API: Calendar. ">ucal.h</a> </dd></dl>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l00211">211</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3ca774e0e17548d6818ff549529346ab"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classicu_1_1Calendar.html#a3ca774e0e17548d6818ff549529346ab">icu::Calendar::EDaysOfWeek</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Useful constant for days of week. </p>
<p>Note: <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> day-of-week is 1-based. Clients who create locale resources for the field of first-day-of-week should be aware of this. For instance, in US locale, first-day-of-week is set to 1, i.e., SUNDAY. </p><dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000287">Deprecated:</a></b></dt><dd>ICU 2.6. Use C enum UCalendarDaysOfWeek defined in <a class="el" href="ucal_8h.html" title="C API: Calendar. ">ucal.h</a> </dd></dl>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l00255">255</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

</div>
</div>
<a class="anchor" id="a54345fd19441b27f9648c617d0978737"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classicu_1_1Calendar.html#a54345fd19441b27f9648c617d0978737">icu::Calendar::ELimitType</a></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Limit enums. </p>
<p>Not in sync with UCalendarLimitType (refers to internal fields). </p><dl class="internal"><dt><b><a class="el" href="internal.html#_internal000237">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l01610">1610</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae10c95d8821f0c31a247dd6b9be65c94"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classicu_1_1Calendar.html#ae10c95d8821f0c31a247dd6b9be65c94">icu::Calendar::EMonths</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Useful constants for month. </p>
<p>Note: <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> month is 0-based. </p><dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000288">Deprecated:</a></b></dt><dd>ICU 2.6. Use C enum UCalendarMonths defined in <a class="el" href="ucal_8h.html" title="C API: Calendar. ">ucal.h</a> </dd></dl>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l00269">269</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a4575ea61fb04e8276d36854f4b3b8d1d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual icu::Calendar::~Calendar </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></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>destructor </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003075">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a56135034d6ce8faca1a989c0d049e9b9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">icu::Calendar::Calendar </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>success</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructs a <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> with the default time zone as returned by TimeZone::createInstance(), and the default locale. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">success</td><td>Indicates the status of <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> object construction. Returns U_ZERO_ERROR if constructed successfully. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003133">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a7a8980c057ceb3e24ed8e3b9d2bd3e1d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">icu::Calendar::Calendar </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Calendar.html">Calendar</a> &amp;&#160;</td>
          <td class="paramname"><em>source</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </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><a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> object to be copied from </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003134">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="af586dccfbdadc3104a6740d485664854"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">icu::Calendar::Calendar </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> *&#160;</td>
          <td class="paramname"><em>zone</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td>
          <td class="paramname"><em>aLocale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>success</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructs a <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> with the given time zone and locale. </p>
<p>Clients are no longer responsible for deleting the given time zone object after it's adopted.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">zone</td><td>The given time zone. </td></tr>
    <tr><td class="paramname">aLocale</td><td>The given locale. </td></tr>
    <tr><td class="paramname">success</td><td>Indicates the status of <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> object construction. Returns U_ZERO_ERROR if constructed successfully. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003136">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="aaeccfb9e1d93934c38d6716d62fd27a7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">icu::Calendar::Calendar </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> &amp;&#160;</td>
          <td class="paramname"><em>zone</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td>
          <td class="paramname"><em>aLocale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>success</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Constructs a <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> with the given time zone and locale. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">zone</td><td>The given time zone. </td></tr>
    <tr><td class="paramname">aLocale</td><td>The given locale. </td></tr>
    <tr><td class="paramname">success</td><td>Indicates the status of <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> object construction. Returns U_ZERO_ERROR if constructed successfully. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003137">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="af1fbbede5bcd4ea879c2a7573379b5d9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void icu::Calendar::add </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1Calendar.html#a4d834504c309b2c84831390db2664520">EDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>amount</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></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>UDate Arithmetic function. </p>
<p>Adds the specified (signed) amount of time to the given time field, based on the calendar's rules. For example, to subtract 5 days from the current time of the calendar, call add(Calendar::DATE, -5). When adding on the month or Calendar::MONTH field, other fields like date might conflict and need to be changed. For instance, adding 1 month on the date 01/31/96 will result in 02/29/96. Adding a positive value always means moving forward in time, so for the Gregorian calendar, starting with 100 BC and adding +1 to year results in 99 BC (even though this actually reduces the numeric value of the field itself).</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>Specifies which date field to modify. </td></tr>
    <tr><td class="paramname">amount</td><td>The amount of time to be added to the field, in the natural unit for that field (e.g., days for the day fields, hours for the hour field.) </td></tr>
    <tr><td class="paramname">status</td><td>Output param set to success/failure code on exit. If any value previously set in the time field is invalid or restricted by leniency, this will be set to an error status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000290">Deprecated:</a></b></dt><dd>ICU 2.6. use <a class="el" href="classicu_1_1Calendar.html#aedff97cf3cb3d7b8515e721e289f31af" title="UDate Arithmetic function. ">add(UCalendarDateFields field, int32_t amount, UErrorCode&amp; status)</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="aedff97cf3cb3d7b8515e721e289f31af"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void icu::Calendar::add </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>amount</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></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>UDate Arithmetic function. </p>
<p>Adds the specified (signed) amount of time to the given time field, based on the calendar's rules. For example, to subtract 5 days from the current time of the calendar, call add(Calendar::DATE, -5). When adding on the month or Calendar::MONTH field, other fields like date might conflict and need to be changed. For instance, adding 1 month on the date 01/31/96 will result in 02/29/96. Adding a positive value always means moving forward in time, so for the Gregorian calendar, starting with 100 BC and adding +1 to year results in 99 BC (even though this actually reduces the numeric value of the field itself).</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>Specifies which date field to modify. </td></tr>
    <tr><td class="paramname">amount</td><td>The amount of time to be added to the field, in the natural unit for that field (e.g., days for the day fields, hours for the hour field.) </td></tr>
    <tr><td class="paramname">status</td><td>Output param set to success/failure code on exit. If any value previously set in the time field is invalid or restricted by leniency, this will be set to an error status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003094">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

</div>
</div>
<a class="anchor" id="a8797da617df1ac9c424eb4e0c2ad5608"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Calendar::adoptTimeZone </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> *&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the calendar's time zone to be the one passed in. </p>
<p>The <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> takes ownership of the <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a>; the caller is no longer responsible for deleting it. If the given time zone is NULL, this function has no effect.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>The given time zone. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003098">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="aabe8c2be4095a5ded2f4437c51eed401"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::Calendar::after </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Calendar.html">Calendar</a> &amp;&#160;</td>
          <td class="paramname"><em>when</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns true if this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>'s current time is after "when"'s current time. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">when</td><td>The <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> to be compared with this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>. Although this is a const parameter, the object may be modified physically (semantically const). </td></tr>
    <tr><td class="paramname">status</td><td>Output param set to success/failure code on exit. If any value previously set in the time field is invalid or restricted by leniency, this will be set to an error status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if the current time of this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> is after the time of <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> when; false otherwise. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003093">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a42d775544946461c15e7226429154c7a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::Calendar::before </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Calendar.html">Calendar</a> &amp;&#160;</td>
          <td class="paramname"><em>when</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns true if this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>'s current time is before "when"'s current time. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">when</td><td>The <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> to be compared with this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>. Although this is a const parameter, the object may be modified physically (semantically const). </td></tr>
    <tr><td class="paramname">status</td><td>Output param set to success/failure code on exit. If any value previously set in the time field is invalid or restricted by leniency, this will be set to an error status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if the current time of this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> is before the time of <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> when; false otherwise. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003092">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ade18a5974ebb8c684e3e2acebb5935cb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Calendar::clear </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clears the values of all the time fields, making them both unset and assigning them a value of zero. </p>
<p>The field values will be determined during the next resolving of time into time fields. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable003125">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a9f4c3047a79cc8dabdc90ae254216686"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Calendar::clear </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1Calendar.html#a4d834504c309b2c84831390db2664520">EDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clears the value in the given time field, both making it unset and assigning it a value of zero. </p>
<p>This field value will be determined during the next resolving of time into time fields.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The time field to be cleared. </td></tr>
  </table>
  </dd>
</dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000305">Deprecated:</a></b></dt><dd>ICU 2.6. Use <a class="el" href="classicu_1_1Calendar.html#a5d8926a23cef3bd938aae2df1483b132" title="Clears the value in the given time field, both making it unset and assigning it a value of zero...">clear(UCalendarDateFields field)</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a5d8926a23cef3bd938aae2df1483b132"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Calendar::clear </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clears the value in the given time field, both making it unset and assigning it a value of zero. </p>
<p>This field value will be determined during the next resolving of time into time fields.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The time field to be cleared. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003126">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

</div>
</div>
<a class="anchor" id="a114afce08d68598111ae08b908937293"></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="classicu_1_1Calendar.html">Calendar</a>* icu::Calendar::clone </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">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Create and return a polymorphic copy of this calendar. </p>
<dl class="section return"><dt>Returns</dt><dd>a polymorphic copy of this calendar. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003076">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implemented in <a class="el" href="classicu_1_1GregorianCalendar.html#aae6cec5cdd93a6447a03bdf1e113bce8">icu::GregorianCalendar</a>.</p>

</div>
</div>
<a class="anchor" id="a27373fe01607ff3f183644512f2ca719"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Calendar::complete </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Recomputes the current time from currently set fields, and then fills in any unset fields in the time field list. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td>Output param set to success/failure code on exit. If any value previously set in the time field is invalid or restricted by leniency, this will be set to an error status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003142">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a7ac20a3fb98a6e4f6d1923f1035613f4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void icu::Calendar::computeFields </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Converts GMT as milliseconds to time field values. </p>
<p>This allows you to sync up the time field values with a new time that is set for the calendar. This method does NOT recompute the time first; to recompute the time, then the fields, use the method <a class="el" href="classicu_1_1Calendar.html#a27373fe01607ff3f183644512f2ca719" title="Recomputes the current time from currently set fields, and then fills in any unset fields in the time...">complete()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td>Output param set to success/failure code on exit. If any value previously set in the time field is invalid or restricted by leniency, this will be set to an error status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003139">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a2edf69d185164f3426f16e30e3e6ce7b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Calendar::computeGregorianFields </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>julianDay</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>ec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Compute the Gregorian calendar year, month, and day of month from the Julian day. </p>
<p>These values are not stored in fields, but in member variables gregorianXxx. They are used for time zone computations and by subclasses that are Gregorian derivatives. Subclasses may call this method to perform a Gregorian calendar millis-&gt;fields computation. </p>

</div>
</div>
<a class="anchor" id="a9c73b8712b737bc26a9e059fd3e324c6"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int32_t icu::Calendar::computeJulianDay </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Compute the Julian day from fields. </p>
<p>Will determine whether to use the JULIAN_DAY field directly, or other fields. </p><dl class="section return"><dt>Returns</dt><dd>the julian day </dd></dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000246">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

</div>
</div>
<a class="anchor" id="a5c0bc30f2e864115320a6392261e05ef"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int32_t icu::Calendar::computeMillisInDay </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Compute the milliseconds in the day from the fields. </p>
<p>This is a value from 0 to 23:59:59.999 inclusive, unless fields are out of range, in which case it can be an arbitrary value. This value reflects local zone wall time. </p><dl class="internal"><dt><b><a class="el" href="internal.html#_internal000247">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

</div>
</div>
<a class="anchor" id="ae22e398ddd0c126424382957b1a1fc6e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void icu::Calendar::computeTime </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Converts <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>'s time field values to GMT as milliseconds. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td>Output param set to success/failure code on exit. If any value previously set in the time field is invalid or restricted by leniency, this will be set to an error status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003138">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a91ac60c52368ea4bf5e6afa40835e853"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int32_t icu::Calendar::computeZoneOffset </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>millis</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>millisInDay</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>ec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This method can assume EXTENDED_YEAR has been set. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">millis</td><td>milliseconds of the date fields </td></tr>
    <tr><td class="paramname">millisInDay</td><td>milliseconds of the time fields; may be out or range. </td></tr>
    <tr><td class="paramname">ec</td><td>Output param set to failure code on function return when this function fails. </td></tr>
  </table>
  </dd>
</dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000248">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

</div>
</div>
<a class="anchor" id="ad2d72d348ce478cf1715dd79b7262c89"></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="classicu_1_1Calendar.html">Calendar</a>* icu::Calendar::createInstance </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>success</em></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>Creates a <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> using the default timezone and locale. </p>
<p>Clients are responsible for deleting the object returned.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">success</td><td>Indicates the success/failure of <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> creation. Filled in with U_ZERO_ERROR if created successfully, set to a failure result otherwise. U_MISSING_RESOURCE_ERROR will be returned if the resource data requests a calendar type which has not been installed. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> if created successfully. NULL otherwise. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003077">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a8f19a556c0ab4efe6fcc10ddbc44959d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1Calendar.html">Calendar</a> * icu::Calendar::createInstance </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> *&#160;</td>
          <td class="paramname"><em>zoneToAdopt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>success</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> using the given timezone and the default locale. </p>
<p>The <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> takes ownership of zoneToAdopt; the client must not delete it.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">zoneToAdopt</td><td>The given timezone to be adopted. </td></tr>
    <tr><td class="paramname">success</td><td>Indicates the success/failure of <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> creation. Filled in with U_ZERO_ERROR if created successfully, set to a failure result otherwise. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> if created successfully. NULL otherwise. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003078">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l02501">2501</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

</div>
</div>
<a class="anchor" id="a82736eeccb849d64de70a3b5592be2b8"></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="classicu_1_1Calendar.html">Calendar</a>* icu::Calendar::createInstance </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> &amp;&#160;</td>
          <td class="paramname"><em>zone</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>success</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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>Creates a <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> using the given timezone and the default locale. </p>
<p>The <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> is <em>not</em> adopted; the client is still responsible for deleting it.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">zone</td><td>The timezone. </td></tr>
    <tr><td class="paramname">success</td><td>Indicates the success/failure of <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> creation. Filled in with U_ZERO_ERROR if created successfully, set to a failure result otherwise. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> if created successfully. NULL otherwise. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003079">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="abb1c63dd184db6621361612913359c47"></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="classicu_1_1Calendar.html">Calendar</a>* icu::Calendar::createInstance </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td>
          <td class="paramname"><em>aLocale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>success</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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>Creates a <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> using the default timezone and the given locale. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">aLocale</td><td>The given locale. </td></tr>
    <tr><td class="paramname">success</td><td>Indicates the success/failure of <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> creation. Filled in with U_ZERO_ERROR if created successfully, set to a failure result otherwise. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> if created successfully. NULL otherwise. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003080">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="af99f52dab94a3d1a20bbf74c6b4a0b39"></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="classicu_1_1Calendar.html">Calendar</a>* icu::Calendar::createInstance </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> *&#160;</td>
          <td class="paramname"><em>zoneToAdopt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td>
          <td class="paramname"><em>aLocale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>success</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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>Creates a <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> using the given timezone and given locale. </p>
<p>The <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> takes ownership of zoneToAdopt; the client must not delete it.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">zoneToAdopt</td><td>The given timezone to be adopted. </td></tr>
    <tr><td class="paramname">aLocale</td><td>The given locale. </td></tr>
    <tr><td class="paramname">success</td><td>Indicates the success/failure of <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> creation. Filled in with U_ZERO_ERROR if created successfully, set to a failure result otherwise. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> if created successfully. NULL otherwise. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003081">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="abb4d90176180fe00de45956b023ea436"></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="classicu_1_1Calendar.html">Calendar</a>* icu::Calendar::createInstance </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> &amp;&#160;</td>
          <td class="paramname"><em>zone</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td>
          <td class="paramname"><em>aLocale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>success</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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>Gets a <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> using the given timezone and given locale. </p>
<p>The <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> is <em>not</em> adopted; the client is still responsible for deleting it.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">zone</td><td>The given timezone. </td></tr>
    <tr><td class="paramname">aLocale</td><td>The given locale. </td></tr>
    <tr><td class="paramname">success</td><td>Indicates the success/failure of <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> creation. Filled in with U_ZERO_ERROR if created successfully, set to a failure result otherwise. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> if created successfully. NULL otherwise. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003082">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a927dd35081247fd9f35bc27eea46c827"></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#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> icu::Calendar::defaultCenturyStart </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>the start of the default century, as a UDate </dd></dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000277">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

<p>Implemented in <a class="el" href="classicu_1_1GregorianCalendar.html#a971c03c05d63524bba5019c57b183a56">icu::GregorianCalendar</a>.</p>

</div>
</div>
<a class="anchor" id="a8a8dc87f0d3189ca23f0a37dae3fcef5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::Calendar::defaultCenturyStartYear </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>the beginning year of the default century, as a year </dd></dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000278">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

<p>Implemented in <a class="el" href="classicu_1_1GregorianCalendar.html#a68ddf65f47704f47ca5fe45e1627684e">icu::GregorianCalendar</a>.</p>

</div>
</div>
<a class="anchor" id="a6678db8af47d1e69fd3d0e784fe06716"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::Calendar::equals </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Calendar.html">Calendar</a> &amp;&#160;</td>
          <td class="paramname"><em>when</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Compares the <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> time, whereas <a class="el" href="classicu_1_1Calendar.html#a2ee1e26782181bd2191cbd8e369db0a9" title="Compares the equality of two Calendar objects. ">Calendar::operator==</a> compares the equality of <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> objects. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">when</td><td>The <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> to be compared with this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>. Although this is a const parameter, the object may be modified physically (semantically const). </td></tr>
    <tr><td class="paramname">status</td><td>Output param set to success/failure code on exit. If any value previously set in the time field is invalid or restricted by leniency, this will be set to an error status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if the current time of this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> is equal to the time of <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> when; false otherwise. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003091">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="afe1ff7b373368d4b6393db2e9d1e892b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::Calendar::fieldDifference </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</td>
          <td class="paramname"><em>when</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classicu_1_1Calendar.html#a4d834504c309b2c84831390db2664520">EDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></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>Return the difference between the given time and the time this calendar object is set to. </p>
<p>If this calendar is set <em>before</em> the given time, the returned value will be positive. If this calendar is set <em>after</em> the given time, the returned value will be negative. The <code>field</code> parameter specifies the units of the return value. For example, if <code>fieldDifference(when, Calendar::MONTH)</code> returns 3, then this calendar is set to 3 months before <code>when</code>, and possibly some addition time less than one month.</p>
<p>As a side effect of this call, this calendar is advanced toward <code>when</code> by the given amount. That is, calling this method has the side effect of calling <code>add(field, n)</code>, where <code>n</code> is the return value.</p>
<p>Usage: To use this method, call it first with the largest field of interest, then with progressively smaller fields. For example:</p>
<pre>
int y = cal-&gt;fieldDifference(when, Calendar::YEAR, err);
int m = cal-&gt;fieldDifference(when, Calendar::MONTH, err);
int d = cal-&gt;fieldDifference(when, Calendar::DATE, err);</pre><p>computes the difference between <code>cal</code> and <code>when</code> in years, months, and days.</p>
<p>Note: <code><a class="el" href="classicu_1_1Calendar.html#afe1ff7b373368d4b6393db2e9d1e892b" title="Return the difference between the given time and the time this calendar object is set to...">fieldDifference()</a></code> is <em>asymmetrical</em>. That is, in the following code:</p>
<pre>
cal-&gt;setTime(date1, err);
int m1 = cal-&gt;fieldDifference(date2, Calendar::MONTH, err);
int d1 = cal-&gt;fieldDifference(date2, Calendar::DATE, err);
cal-&gt;setTime(date2, err);
int m2 = cal-&gt;fieldDifference(date1, Calendar::MONTH, err);
int d2 = cal-&gt;fieldDifference(date1, Calendar::DATE, err);</pre><p>one might expect that <code>m1 == -m2 &amp;&amp; d1 == -d2</code>. However, this is not generally the case, because of irregularities in the underlying calendar system (e.g., the Gregorian calendar has a varying number of days per month).</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">when</td><td>the date to compare this calendar's time to </td></tr>
    <tr><td class="paramname">field</td><td>the field in which to compute the result </td></tr>
    <tr><td class="paramname">status</td><td>Output param set to success/failure code on exit. If any value previously set in the time field is invalid, this will be set to an error status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the difference, either positive or negative, between this calendar's time and <code>when</code>, in terms of <code>field</code>. </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000293">Deprecated:</a></b></dt><dd>ICU 2.6. Use <a class="el" href="classicu_1_1Calendar.html#a1dc3ed6a2c8ebaf833dc022023208b88" title="Return the difference between the given time and the time this calendar object is set to...">fieldDifference(UDate when, UCalendarDateFields field, UErrorCode&amp; status)</a>. </dd></dl>

</div>
</div>
<a class="anchor" id="a1dc3ed6a2c8ebaf833dc022023208b88"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::Calendar::fieldDifference </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</td>
          <td class="paramname"><em>when</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></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>Return the difference between the given time and the time this calendar object is set to. </p>
<p>If this calendar is set <em>before</em> the given time, the returned value will be positive. If this calendar is set <em>after</em> the given time, the returned value will be negative. The <code>field</code> parameter specifies the units of the return value. For example, if <code>fieldDifference(when, Calendar::MONTH)</code> returns 3, then this calendar is set to 3 months before <code>when</code>, and possibly some addition time less than one month.</p>
<p>As a side effect of this call, this calendar is advanced toward <code>when</code> by the given amount. That is, calling this method has the side effect of calling <code>add(field, n)</code>, where <code>n</code> is the return value.</p>
<p>Usage: To use this method, call it first with the largest field of interest, then with progressively smaller fields. For example:</p>
<pre>
int y = cal-&gt;fieldDifference(when, Calendar::YEAR, err);
int m = cal-&gt;fieldDifference(when, Calendar::MONTH, err);
int d = cal-&gt;fieldDifference(when, Calendar::DATE, err);</pre><p>computes the difference between <code>cal</code> and <code>when</code> in years, months, and days.</p>
<p>Note: <code><a class="el" href="classicu_1_1Calendar.html#afe1ff7b373368d4b6393db2e9d1e892b" title="Return the difference between the given time and the time this calendar object is set to...">fieldDifference()</a></code> is <em>asymmetrical</em>. That is, in the following code:</p>
<pre>
cal-&gt;setTime(date1, err);
int m1 = cal-&gt;fieldDifference(date2, Calendar::MONTH, err);
int d1 = cal-&gt;fieldDifference(date2, Calendar::DATE, err);
cal-&gt;setTime(date2, err);
int m2 = cal-&gt;fieldDifference(date1, Calendar::MONTH, err);
int d2 = cal-&gt;fieldDifference(date1, Calendar::DATE, err);</pre><p>one might expect that <code>m1 == -m2 &amp;&amp; d1 == -d2</code>. However, this is not generally the case, because of irregularities in the underlying calendar system (e.g., the Gregorian calendar has a varying number of days per month).</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">when</td><td>the date to compare this calendar's time to </td></tr>
    <tr><td class="paramname">field</td><td>the field in which to compute the result </td></tr>
    <tr><td class="paramname">status</td><td>Output param set to success/failure code on exit. If any value previously set in the time field is invalid, this will be set to an error status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the difference, either positive or negative, between this calendar's time and <code>when</code>, in terms of <code>field</code>. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003097">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

</div>
</div>
<a class="anchor" id="a63681d990cc67b1962d3c85da66e5953"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t icu::Calendar::get </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1Calendar.html#a4d834504c309b2c84831390db2664520">EDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the value for a given time field. </p>
<p>Recalculate the current time field values if the time value has been changed by a call to <a class="el" href="classicu_1_1Calendar.html#a0892d30c6780218d801d55e64d642a4f" title="Sets this Calendar&#39;s current time with the given UDate. ">setTime()</a>. Return zero for unset fields if any fields have been explicitly set by a call to <a class="el" href="classicu_1_1Calendar.html#a26f29ca7778531e4b897cbfc181ac0f6" title="Sets the given time field with the given value. ">set()</a>. To force a recomputation of all fields regardless of the previous state, call <a class="el" href="classicu_1_1Calendar.html#a27373fe01607ff3f183644512f2ca719" title="Recomputes the current time from currently set fields, and then fills in any unset fields in the time...">complete()</a>. This method is semantically const, but may alter the object in memory.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The given time field. </td></tr>
    <tr><td class="paramname">status</td><td>Fill-in parameter which receives the status of the operation. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The value for the given time field, or zero if the field is unset, and <a class="el" href="classicu_1_1Calendar.html#a26f29ca7778531e4b897cbfc181ac0f6" title="Sets the given time field with the given value. ">set()</a> has been called for any other field. </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000302">Deprecated:</a></b></dt><dd>ICU 2.6. Use get(UCalendarDateFields field, UErrorCode&amp; status) instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a44bad5015b407bbe63d92322149af4ad"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t icu::Calendar::get </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the value for a given time field. </p>
<p>Recalculate the current time field values if the time value has been changed by a call to <a class="el" href="classicu_1_1Calendar.html#a0892d30c6780218d801d55e64d642a4f" title="Sets this Calendar&#39;s current time with the given UDate. ">setTime()</a>. Return zero for unset fields if any fields have been explicitly set by a call to <a class="el" href="classicu_1_1Calendar.html#a26f29ca7778531e4b897cbfc181ac0f6" title="Sets the given time field with the given value. ">set()</a>. To force a recomputation of all fields regardless of the previous state, call <a class="el" href="classicu_1_1Calendar.html#a27373fe01607ff3f183644512f2ca719" title="Recomputes the current time from currently set fields, and then fills in any unset fields in the time...">complete()</a>. This method is semantically const, but may alter the object in memory.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The given time field. </td></tr>
    <tr><td class="paramname">status</td><td>Fill-in parameter which receives the status of the operation. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The value for the given time field, or zero if the field is unset, and <a class="el" href="classicu_1_1Calendar.html#a26f29ca7778531e4b897cbfc181ac0f6" title="Sets the given time field with the given value. ">set()</a> has been called for any other field. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003119">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

</div>
</div>
<a class="anchor" id="a9efcae081ffdcc9e63f7e7f275d4320b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t icu::Calendar::getActualMaximum </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1Calendar.html#a4d834504c309b2c84831390db2664520">EDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return the maximum value that this field could have, given the current date. </p>
<p>For example, with the date "Feb 3, 1997" and the DAY_OF_MONTH field, the actual maximum would be 28; for "Feb 3, 1996" it s 29. Similarly for a Hebrew calendar, for some years the actual maximum for MONTH is 12, and for others 13.</p>
<p>The version of this function on <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> uses an iterative algorithm to determine the actual maximum value for the field. There is almost always a more efficient way to accomplish this (in most cases, you can simply return <a class="el" href="classicu_1_1Calendar.html#a8d7b66fb3daea46b9e97ed78b280e37a" title="Gets the maximum value for the given time field. ">getMaximum()</a>). <a class="el" href="classicu_1_1GregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</a> overrides this function with a more efficient implementation.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>the field to determine the maximum of </td></tr>
    <tr><td class="paramname">status</td><td>Fill-in parameter which receives the status of this operation. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the maximum of the given field for the current date of this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000301">Deprecated:</a></b></dt><dd>ICU 2.6. Use getActualMaximum(UCalendarDateFields field, UErrorCode&amp; status) instead. </dd></dl>

</div>
</div>
<a class="anchor" id="af47e64294492f403e2b167a57ba72be4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::Calendar::getActualMaximum </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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>Return the maximum value that this field could have, given the current date. </p>
<p>For example, with the date "Feb 3, 1997" and the DAY_OF_MONTH field, the actual maximum would be 28; for "Feb 3, 1996" it s 29. Similarly for a Hebrew calendar, for some years the actual maximum for MONTH is 12, and for others 13.</p>
<p>The version of this function on <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> uses an iterative algorithm to determine the actual maximum value for the field. There is almost always a more efficient way to accomplish this (in most cases, you can simply return <a class="el" href="classicu_1_1Calendar.html#a8d7b66fb3daea46b9e97ed78b280e37a" title="Gets the maximum value for the given time field. ">getMaximum()</a>). <a class="el" href="classicu_1_1GregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</a> overrides this function with a more efficient implementation.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>the field to determine the maximum of </td></tr>
    <tr><td class="paramname">status</td><td>Fill-in parameter which receives the status of this operation. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the maximum of the given field for the current date of this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003118">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

<p>Reimplemented in <a class="el" href="classicu_1_1GregorianCalendar.html#aaff7031b6dcfdfe5a436dc917a815e89">icu::GregorianCalendar</a>.</p>

</div>
</div>
<a class="anchor" id="a2e121a4ce4aafbbde21c577278482dae"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t icu::Calendar::getActualMinimum </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1Calendar.html#a4d834504c309b2c84831390db2664520">EDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return the minimum value that this field could have, given the current date. </p>
<p>For the Gregorian calendar, this is the same as <a class="el" href="classicu_1_1Calendar.html#a803f2c087ab8a5cdb8dcae7d0a6b19a0" title="Gets the minimum value for the given time field. ">getMinimum()</a> and <a class="el" href="classicu_1_1Calendar.html#acadfa5299cd065e3d4e8bbeae970ced0" title="Gets the highest minimum value for the given field if varies. ">getGreatestMinimum()</a>.</p>
<p>The version of this function on <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> uses an iterative algorithm to determine the actual minimum value for the field. There is almost always a more efficient way to accomplish this (in most cases, you can simply return <a class="el" href="classicu_1_1Calendar.html#a803f2c087ab8a5cdb8dcae7d0a6b19a0" title="Gets the minimum value for the given time field. ">getMinimum()</a>). <a class="el" href="classicu_1_1GregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</a> overrides this function with a more efficient implementation.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>the field to determine the minimum of </td></tr>
    <tr><td class="paramname">status</td><td>Fill-in parameter which receives the status of this operation. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the minimum of the given field for the current date of this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000300">Deprecated:</a></b></dt><dd>ICU 2.6. Use getActualMinimum(UCalendarDateFields field, UErrorCode&amp; status) instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a3a1859db412fb3ce385e4b98a84b0f5d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::Calendar::getActualMinimum </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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>Return the minimum value that this field could have, given the current date. </p>
<p>For the Gregorian calendar, this is the same as <a class="el" href="classicu_1_1Calendar.html#a803f2c087ab8a5cdb8dcae7d0a6b19a0" title="Gets the minimum value for the given time field. ">getMinimum()</a> and <a class="el" href="classicu_1_1Calendar.html#acadfa5299cd065e3d4e8bbeae970ced0" title="Gets the highest minimum value for the given field if varies. ">getGreatestMinimum()</a>.</p>
<p>The version of this function on <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> uses an iterative algorithm to determine the actual minimum value for the field. There is almost always a more efficient way to accomplish this (in most cases, you can simply return <a class="el" href="classicu_1_1Calendar.html#a803f2c087ab8a5cdb8dcae7d0a6b19a0" title="Gets the minimum value for the given time field. ">getMinimum()</a>). <a class="el" href="classicu_1_1GregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</a> overrides this function with a more efficient implementation.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>the field to determine the minimum of </td></tr>
    <tr><td class="paramname">status</td><td>Fill-in parameter which receives the status of this operation. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the minimum of the given field for the current date of this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003117">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

<p>Reimplemented in <a class="el" href="classicu_1_1GregorianCalendar.html#acc98a444212557e648979fcbb6fe8c90">icu::GregorianCalendar</a>.</p>

</div>
</div>
<a class="anchor" id="ad23c6f68b2facf85dc1365f7c1bac0bb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classicu_1_1Locale.html">Locale</a>* icu::Calendar::getAvailableLocales </td>
          <td>(</td>
          <td class="paramtype">int32_t &amp;&#160;</td>
          <td class="paramname"><em>count</em></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>Returns a list of the locales for which Calendars are installed. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">count</td><td>Number of locales returned. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>An array of <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a> objects representing the set of locales for which Calendars are installed. The system retains ownership of this list; the caller must NOT delete it. Does not include user-registered Calendars. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003083">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="adbb8665a720ba96c5eec94c0e49098a6"></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="classicu_1_1StringEnumeration.html">StringEnumeration</a>* icu::Calendar::getAvailableLocales </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>INTERNAL FOR 2.6 &ndash; Registration. </p>
<p>Return a <a class="el" href="classicu_1_1StringEnumeration.html" title="Base class for &#39;pure&#39; C++ implementations of uenum api. ">StringEnumeration</a> over the locales available at the time of the call, including registered locales. </p><dl class="section return"><dt>Returns</dt><dd>a <a class="el" href="classicu_1_1StringEnumeration.html" title="Base class for &#39;pure&#39; C++ implementations of uenum api. ">StringEnumeration</a> over the locales available at the time of the call </dd></dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000270">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

</div>
</div>
<a class="anchor" id="a2846233ad0aef278624293ccdbb1eedf"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static void icu::Calendar::getCalendarTypeFromLocale </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td>
          <td class="paramname"><em>locale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char *&#160;</td>
          <td class="paramname"><em>typeBuffer</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>typeBufferSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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>Get the calendar type for given locale. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">locale</td><td>the locale </td></tr>
    <tr><td class="paramname">typeBuffer</td><td>calendar type returned here </td></tr>
    <tr><td class="paramname">typeBufferSize</td><td>The size of typeBuffer in bytes. If the type can't fit in the buffer, this method sets status to U_BUFFER_OVERFLOW_ERROR </td></tr>
    <tr><td class="paramname">status</td><td>error, if any, returned here. </td></tr>
  </table>
  </dd>
</dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000283">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. For ICU use only. </dd></dl>

</div>
</div>
<a class="anchor" id="a0bc1e5fdb589dfbaa8e8f0e24f7e9179"></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="ucal_8h.html#a5d1f042c84dc291891c208d4c7dcd933">UCalendarWeekdayType</a> icu::Calendar::getDayOfWeekType </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#a62d9fe551bd48e4141fce52b917119a4">UCalendarDaysOfWeek</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="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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 whether the given day of the week is a weekday, a weekend day, or a day that transitions from one to the other, for the locale and calendar system associated with this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> (the locale's region is often the most determinant factor). </p>
<p>If a transition occurs at midnight, then the days before and after the transition will have the type UCAL_WEEKDAY or UCAL_WEEKEND. If a transition occurs at a time other than midnight, then the day of the transition will have the type UCAL_WEEKEND_ONSET or UCAL_WEEKEND_CEASE. In this case, the method <a class="el" href="classicu_1_1Calendar.html#a231e1427bfe88fad011820f5f9972aa7" title="Returns the time during the day at which the weekend begins or ends in this calendar system...">getWeekendTransition()</a> will return the point of transition. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dayOfWeek</td><td>The day of the week whose type is desired (UCAL_SUNDAY..UCAL_SATURDAY). </td></tr>
    <tr><td class="paramname">status</td><td>The error code for the operation. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The UCalendarWeekdayType for the day of the week. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003129">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a7659141c1a3856909f2c95f2908b25ee"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::Calendar::getDefaultDayInMonth </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>eyear</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>month</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Called by computeJulianDay. </p>
<p>Returns the default day (1-based) for the month, taking currently-set year and era into account. Defaults to 1 for Gregorian. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">eyear</td><td>the extended year </td></tr>
    <tr><td class="paramname">month</td><td>the month in the year </td></tr>
  </table>
  </dd>
</dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000264">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

</div>
</div>
<a class="anchor" id="ab0e70149450c7bcff3adde93f611fec1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::Calendar::getDefaultMonthInYear </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>eyear</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Called by computeJulianDay. </p>
<p>Returns the default month (0-based) for the year, taking year and era into account. Defaults to 0 for Gregorian, which doesn't care. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">eyear</td><td>The extended year </td></tr>
  </table>
  </dd>
</dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000263">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

</div>
</div>
<a class="anchor" id="ab278d3b6441dd14bedd4624e32a321e8"></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="uobject_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> icu::Calendar::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">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a unique class ID POLYMORPHICALLY. </p>
<p>Pure virtual method. This method is to implement a simple version of RTTI, since not all C++ compilers support genuine RTTI. Polymorphic <a class="el" href="classicu_1_1Calendar.html#a2ee1e26782181bd2191cbd8e369db0a9" title="Compares the equality of two Calendar objects. ">operator==()</a> and <a class="el" href="classicu_1_1Calendar.html#a114afce08d68598111ae08b908937293" title="Create and return a polymorphic copy of this calendar. ">clone()</a> methods call this method. </p>
<p>Concrete subclasses of <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> must implement <a class="el" href="classicu_1_1Calendar.html#ab278d3b6441dd14bedd4624e32a321e8" title="Returns a unique class ID POLYMORPHICALLY. ">getDynamicClassID()</a> and also a static method and data member: </p><pre class="fragment"> static UClassID getStaticClassID() { return (UClassID)&amp;amp;fgClassID; }
 static char fgClassID;
</pre><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#_stable003127">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Reimplemented from <a class="el" href="classicu_1_1UObject.html#a1aa93096e880907080b503ff1fb0f8bc">icu::UObject</a>.</p>

<p>Implemented in <a class="el" href="classicu_1_1GregorianCalendar.html#a9d123fc67c8fc32b68198300f40b9a41">icu::GregorianCalendar</a>.</p>

</div>
</div>
<a class="anchor" id="ae9675beeaebbbdd2bf956088489ae767"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="namespaceicu.html#a3a6a9cba02d5e5819c84d085616fe531">UFieldResolutionTable</a>* icu::Calendar::getFieldResolutionTable </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000255">Internal:</a></b></dt><dd>Do not use.</dd></dl>
<p>This API is for internal use only. </p>

</div>
</div>
<a class="anchor" id="a55d7c70691dd47644ae1720b1868a075"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1Calendar.html#a3ca774e0e17548d6818ff549529346ab">EDaysOfWeek</a> icu::Calendar::getFirstDayOfWeek </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 what the first day of the week is; e.g., Sunday in US, Monday in France. </p>
<dl class="section return"><dt>Returns</dt><dd>The first day of the week. </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000295">Deprecated:</a></b></dt><dd>ICU 2.6 use the overload with error code </dd></dl>

</div>
</div>
<a class="anchor" id="a009a36988f65cba33e7db4a811336b32"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ucal_8h.html#a62d9fe551bd48e4141fce52b917119a4">UCalendarDaysOfWeek</a> icu::Calendar::getFirstDayOfWeek </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets what the first day of the week is; e.g., Sunday in US, Monday in France. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td>error code </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The first day of the week. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003110">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

</div>
</div>
<a class="anchor" id="acadfa5299cd065e3d4e8bbeae970ced0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::Calendar::getGreatestMinimum </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1Calendar.html#a4d834504c309b2c84831390db2664520">EDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em></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>Gets the highest minimum value for the given field if varies. </p>
<p>Otherwise same as <a class="el" href="classicu_1_1Calendar.html#a803f2c087ab8a5cdb8dcae7d0a6b19a0" title="Gets the minimum value for the given time field. ">getMinimum()</a>. For Gregorian, no difference.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The given time field. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The highest minimum value for the given time field. </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000298">Deprecated:</a></b></dt><dd>ICU 2.6. Use getGreatestMinimum(UCalendarDateFields field) instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a5c795b4d55d06e46784625ace258b418"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::Calendar::getGreatestMinimum </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em></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>Gets the highest minimum value for the given field if varies. </p>
<p>Otherwise same as <a class="el" href="classicu_1_1Calendar.html#a803f2c087ab8a5cdb8dcae7d0a6b19a0" title="Gets the minimum value for the given time field. ">getMinimum()</a>. For Gregorian, no difference.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The given time field. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The highest minimum value for the given time field. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003115">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

</div>
</div>
<a class="anchor" id="a1d0074074ce314d4a7c1eb4596b81147"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int32_t icu::Calendar::getGregorianDayOfMonth </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the day of month (1-based) on the Gregorian calendar as computed by <code><a class="el" href="classicu_1_1Calendar.html#a2edf69d185164f3426f16e30e3e6ce7b" title="Compute the Gregorian calendar year, month, and day of month from the Julian day. ...">computeGregorianFields()</a></code>. </p>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000262">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l01999">1999</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

<p>References <a class="el" href="uloc_8h_source.html#l00264">ULOC_FULLNAME_CAPACITY</a>.</p>

</div>
</div>
<a class="anchor" id="aa3a52382246b117c3fa6148a1a8f6377"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int32_t icu::Calendar::getGregorianDayOfYear </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the day of year (1-based) on the Gregorian calendar as computed by <code><a class="el" href="classicu_1_1Calendar.html#a2edf69d185164f3426f16e30e3e6ce7b" title="Compute the Gregorian calendar year, month, and day of month from the Julian day. ...">computeGregorianFields()</a></code>. </p>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000261">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l01990">1990</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

</div>
</div>
<a class="anchor" id="a93f96ad8265c96df740a2a949cddff93"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int32_t icu::Calendar::getGregorianMonth </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the month (0-based) on the Gregorian calendar as computed by <code><a class="el" href="classicu_1_1Calendar.html#a2edf69d185164f3426f16e30e3e6ce7b" title="Compute the Gregorian calendar year, month, and day of month from the Julian day. ...">computeGregorianFields()</a></code>. </p>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000260">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l01981">1981</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

</div>
</div>
<a class="anchor" id="abd3f71f292bd725f2d6fdc4d1e92164b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int32_t icu::Calendar::getGregorianYear </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the extended year on the Gregorian calendar as computed by <code><a class="el" href="classicu_1_1Calendar.html#a2edf69d185164f3426f16e30e3e6ce7b" title="Compute the Gregorian calendar year, month, and day of month from the Julian day. ...">computeGregorianFields()</a></code>. </p>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000259">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l01972">1972</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

</div>
</div>
<a class="anchor" id="a520dbe21940ea4c57febf1f8f5e4b341"></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="classicu_1_1StringEnumeration.html">StringEnumeration</a>* icu::Calendar::getKeywordValuesForLocale </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td>
          <td class="paramname"><em>locale</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>commonlyUsed</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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>Given a key and a locale, returns an array of string values in a preferred order that would make a difference. </p>
<p>These are all and only those values where the open (creation) of the service with the locale formed from the input locale plus input keyword and that value has different behavior than creation with the input locale alone. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td>one of the keys supported by this service. For now, only "calendar" is supported. </td></tr>
    <tr><td class="paramname">locale</td><td>the locale </td></tr>
    <tr><td class="paramname">commonlyUsed</td><td>if set to true it will return only commonly used values with the given locale in preferred order. Otherwise, it will return all the available values for the locale. </td></tr>
    <tr><td class="paramname">status</td><td>ICU Error Code </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a string enumeration over keyword values for the given key and the locale. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003084">Stable:</a></b></dt><dd>ICU 4.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a18e7a67e203eab806010a4fb46dd6ef7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::Calendar::getLeastMaximum </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1Calendar.html#a4d834504c309b2c84831390db2664520">EDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em></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>Gets the lowest maximum value for the given field if varies. </p>
<p>Otherwise same as <a class="el" href="classicu_1_1Calendar.html#a8d7b66fb3daea46b9e97ed78b280e37a" title="Gets the maximum value for the given time field. ">getMaximum()</a>. e.g., for Gregorian DAY_OF_MONTH, 28.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The given time field. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The lowest maximum value for the given time field. </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000299">Deprecated:</a></b></dt><dd>ICU 2.6. Use getLeastMaximum(UCalendarDateFields field) instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a340d6a65b1449001e0f0ef4d7d34f018"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::Calendar::getLeastMaximum </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em></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>Gets the lowest maximum value for the given field if varies. </p>
<p>Otherwise same as <a class="el" href="classicu_1_1Calendar.html#a8d7b66fb3daea46b9e97ed78b280e37a" title="Gets the maximum value for the given time field. ">getMaximum()</a>. e.g., for Gregorian DAY_OF_MONTH, 28.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The given time field. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The lowest maximum value for the given time field. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003116">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

</div>
</div>
<a class="anchor" id="a001f4fb9a37f4ca19a05cb4ceb1dd373"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::Calendar::getLimit </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classicu_1_1Calendar.html#a54345fd19441b27f9648c617d0978737">ELimitType</a>&#160;</td>
          <td class="paramname"><em>limitType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return a limit for a field. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>the field, from <code>0..UCAL_MAX_FIELD</code> </td></tr>
    <tr><td class="paramname">limitType</td><td>the type specifier for the limit </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classicu_1_1Calendar.html#a54345fd19441b27f9648c617d0978737" title="Limit enums. ">ELimitType</a> </dd></dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000239">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

</div>
</div>
<a class="anchor" id="a1a9072b192294d72b673f21d632020ff"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int32_t icu::Calendar::getLocalDOW </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>returns the local DOW, valid range 0..6 </p>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000266">Internal:</a></b></dt><dd>Do not use.</dd></dl>
<p>This API is for internal use only. </p>

</div>
</div>
<a class="anchor" id="a9ac9d9a4def3e2b821ee1f8f0ba1858d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1Locale.html">Locale</a> icu::Calendar::getLocale </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="uloc_8h.html#adf053345d343f8d82ae080f7a5871f34">ULocDataLocaleType</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the locale for this calendar object. </p>
<p>You can choose between valid and actual locale. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>type of the locale we're looking for (valid or actual) </td></tr>
    <tr><td class="paramname">status</td><td>error code for the operation </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the locale </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003156">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

</div>
</div>
<a class="anchor" id="afffc294760d45bcdbd7792f201cc9fc8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* icu::Calendar::getLocaleID </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="uloc_8h.html#adf053345d343f8d82ae080f7a5871f34">ULocDataLocaleType</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the locale for this calendar object. </p>
<p>You can choose between valid and actual locale. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">type</td><td>type of the locale we're looking for (valid or actual) </td></tr>
    <tr><td class="paramname">status</td><td>error code for the operation </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the locale </dd></dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000281">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

</div>
</div>
<a class="anchor" id="a8d7b66fb3daea46b9e97ed78b280e37a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::Calendar::getMaximum </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1Calendar.html#a4d834504c309b2c84831390db2664520">EDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em></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>Gets the maximum value for the given time field. </p>
<p>e.g. for Gregorian DAY_OF_MONTH, 31.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The given time field. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The maximum value for the given time field. </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000297">Deprecated:</a></b></dt><dd>ICU 2.6. Use getMaximum(UCalendarDateFields field) instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a4dcb59b6291e87896bbfdd7d3280d987"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::Calendar::getMaximum </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em></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>Gets the maximum value for the given time field. </p>
<p>e.g. for Gregorian DAY_OF_MONTH, 31.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The given time field. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The maximum value for the given time field. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003114">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

</div>
</div>
<a class="anchor" id="a94ff80e6d1a098c137f3def18b407bc3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t icu::Calendar::getMinimalDaysInFirstWeek </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 what the minimal days required in the first week of the year are; e.g., if the first week is defined as one that contains the first day of the first month of a year, getMinimalDaysInFirstWeek returns 1. </p>
<p>If the minimal days required must be a full week, getMinimalDaysInFirstWeek returns 7.</p>
<dl class="section return"><dt>Returns</dt><dd>The minimal days required in the first week of the year. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003112">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a803f2c087ab8a5cdb8dcae7d0a6b19a0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::Calendar::getMinimum </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1Calendar.html#a4d834504c309b2c84831390db2664520">EDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em></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>Gets the minimum value for the given time field. </p>
<p>e.g., for Gregorian DAY_OF_MONTH, 1.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The given time field. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The minimum value for the given time field. </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000296">Deprecated:</a></b></dt><dd>ICU 2.6. Use getMinimum(UCalendarDateFields field) instead. </dd></dl>

</div>
</div>
<a class="anchor" id="ac9ec449f1dd4f133cc057d7e81b32c17"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::Calendar::getMinimum </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em></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>Gets the minimum value for the given time field. </p>
<p>e.g., for Gregorian DAY_OF_MONTH, 1.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The given time field. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The minimum value for the given time field. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003113">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

</div>
</div>
<a class="anchor" id="abd72cd8a3a8fd6052e21f80528a0dd34"></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#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> icu::Calendar::getNow </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>Returns the current UTC (GMT) time measured in milliseconds since 0:00:00 on 1/1/70 (derived from the system time). </p>
<dl class="section return"><dt>Returns</dt><dd>The current UTC time in milliseconds. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003085">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a68513c08cf1d338cc6f6e450298d1ec9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::Calendar::getRelatedYear </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em></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">
<dl class="section return"><dt>Returns</dt><dd>The related Gregorian year; will be obtained by modifying the value obtained by get from UCAL_EXTENDED_YEAR field </dd></dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000279">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

</div>
</div>
<a class="anchor" id="a112119cdc47a197c4563749da2ed39a0"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ucal_8h.html#a4868f5e191f75ed38b7ee0c3040317b8">UCalendarWallTimeOption</a> icu::Calendar::getRepeatedWallTimeOption </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 behavior for handling wall time repeating multiple times at negative time zone offset transitions. </p>
<dl class="section return"><dt>Returns</dt><dd>the behavior for handling repeating wall time, either <code>UCAL_WALLTIME_FIRST</code> or <code>UCAL_WALLTIME_LAST</code>. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classicu_1_1Calendar.html#acc9fae6a9d2844aad73aa12f8a841eb6" title="Sets the behavior for handling wall time repeating multiple times at negative time zone offset transi...">setRepeatedWallTimeOption</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003106">Stable:</a></b></dt><dd>ICU 49 </dd></dl>

</div>
</div>
<a class="anchor" id="af5f48b5a457657ec25a8db9cc4121f5a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ucal_8h.html#a4868f5e191f75ed38b7ee0c3040317b8">UCalendarWallTimeOption</a> icu::Calendar::getSkippedWallTimeOption </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 behavior for handling skipped wall time at positive time zone offset transitions. </p>
<dl class="section return"><dt>Returns</dt><dd>the behavior for handling skipped wall time, one of <code>UCAL_WALLTIME_FIRST</code>, <code>UCAL_WALLTIME_LAST</code> and <code>UCAL_WALLTIME_NEXT_VALID</code>. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classicu_1_1Calendar.html#a09676ec794b4a18247d7daae5f746ce6" title="Sets the behavior for handling skipped wall time at positive time zone offset transitions. ">setSkippedWallTimeOption</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003108">Stable:</a></b></dt><dd>ICU 49 </dd></dl>

</div>
</div>
<a class="anchor" id="a5e85ccfedfb7722bcf6120dbe65182ed"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> icu::Calendar::getTime </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gets this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>'s time as milliseconds. </p>
<p>May involve recalculation of time due to previous calls to set time field values. The time specified is non-local UTC (GMT) time. Although this method is const, this object may actually be changed (semantically const).</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td>Output param set to success/failure code on exit. If any value previously set in the time field is invalid or restricted by leniency, this will be set to an error status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The current time in UTC (GMT) time, or zero if the operation failed. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003086">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l00443">443</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0d907b84d11bfe8abd94e4320f389d57"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">double icu::Calendar::getTimeInMillis </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gets this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>'s current time as a long. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td>Output param set to success/failure code on exit. If any value previously set in the time field is invalid or restricted by leniency, this will be set to an error status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the current time as UTC milliseconds from the epoch. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003140">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="afafa04252604325d5e984e03ef438435"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a>&amp; icu::Calendar::getTimeZone </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>Returns a reference to the time zone owned by this calendar. </p>
<p>The returned reference is only valid until clients make another call to adoptTimeZone or setTimeZone, or this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> is destroyed.</p>
<dl class="section return"><dt>Returns</dt><dd>The time zone object associated with this calendar. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003100">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a5c0404ab571a529fefbf4708affcceca"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* icu::Calendar::getType </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the calendar type name string for this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> object. </p>
<p>The returned string is the legacy ICU calendar attribute value, for example, "gregorian" or "japanese".</p>
<p>See type="old type name" for the calendar attribute of locale IDs at <a href="http://www.unicode.org/reports/tr35/#Key_Type_Definitions">http://www.unicode.org/reports/tr35/#Key_Type_Definitions</a></p>
<p>Sample code for getting the LDML/BCP 47 calendar key value: </p><div class="fragment"><div class="line"><span class="keyword">const</span> <span class="keywordtype">char</span> *calType = cal-&gt;getType();</div><div class="line"><span class="keywordflow">if</span> (0 == strcmp(calType, <span class="stringliteral">&quot;unknown&quot;</span>)) {</div><div class="line">    <span class="comment">// deal with unknown calendar type</span></div><div class="line">} <span class="keywordflow">else</span> {</div><div class="line">    <span class="keywordtype">string</span> localeID(<span class="stringliteral">&quot;root@calendar=&quot;</span>);</div><div class="line">    localeID.append(calType);</div><div class="line">    <span class="keywordtype">char</span> langTag[100];</div><div class="line">    <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> errorCode = <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caa43dbfc9499c5f911d04e1a0ca3bf6f9">U_ZERO_ERROR</a>;</div><div class="line">    int32_t length = <a class="code" href="uloc_8h.html#a1d50c91925ca3853fce6f28cf7390c3c">uloc_toLanguageTag</a>(localeID.c_str(), langTag, (int32_t)<span class="keyword">sizeof</span>(langTag), <a class="code" href="umachine_8h.html#aa8cecfc5c5c054d2875c03e77b7be15d">TRUE</a>, &amp;errorCode);</div><div class="line">    <span class="keywordflow">if</span> (<a class="code" href="utypes_8h.html#a4d202200b6aa6f3c965ea370e0c8155f">U_FAILURE</a>(errorCode)) {</div><div class="line">        <span class="comment">// deal with errors &amp; overflow</span></div><div class="line">    }</div><div class="line">    <span class="keywordtype">string</span> lang(langTag, length);</div><div class="line">    <span class="keywordtype">size_t</span> caPos = lang.find(<span class="stringliteral">&quot;-ca-&quot;</span>);</div><div class="line">    lang.erase(0, caPos + 4);</div><div class="line">    <span class="comment">// lang now contains the LDML calendar type</span></div><div class="line">}</div></div><!-- fragment --><dl class="section return"><dt>Returns</dt><dd>legacy calendar type name string </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003128">Stable:</a></b></dt><dd>ICU 49 </dd></dl>

<p>Implemented in <a class="el" href="classicu_1_1GregorianCalendar.html#a2679c772838ecf44b8dc440cd028f88b">icu::GregorianCalendar</a>.</p>

</div>
</div>
<a class="anchor" id="a231e1427bfe88fad011820f5f9972aa7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::Calendar::getWeekendTransition </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#a62d9fe551bd48e4141fce52b917119a4">UCalendarDaysOfWeek</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="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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 the time during the day at which the weekend begins or ends in this calendar system. </p>
<p>If <a class="el" href="classicu_1_1Calendar.html#a0bc1e5fdb589dfbaa8e8f0e24f7e9179" title="Returns whether the given day of the week is a weekday, a weekend day, or a day that transitions from...">getDayOfWeekType()</a> returns UCAL_WEEKEND_ONSET for the specified dayOfWeek, return the time at which the weekend begins. If <a class="el" href="classicu_1_1Calendar.html#a0bc1e5fdb589dfbaa8e8f0e24f7e9179" title="Returns whether the given day of the week is a weekday, a weekend day, or a day that transitions from...">getDayOfWeekType()</a> returns UCAL_WEEKEND_CEASE for the specified dayOfWeek, return the time at which the weekend ends. If <a class="el" href="classicu_1_1Calendar.html#a0bc1e5fdb589dfbaa8e8f0e24f7e9179" title="Returns whether the given day of the week is a weekday, a weekend day, or a day that transitions from...">getDayOfWeekType()</a> returns some other UCalendarWeekdayType for the specified dayOfWeek, is it an error condition (U_ILLEGAL_ARGUMENT_ERROR). </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dayOfWeek</td><td>The day of the week for which the weekend transition time is desired (UCAL_SUNDAY..UCAL_SATURDAY). </td></tr>
    <tr><td class="paramname">status</td><td>The error code for the operation. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The milliseconds after midnight at which the weekend begins or ends. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003130">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a5ea6299625a2c34432702081e2307ef1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void icu::Calendar::handleComputeFields </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>julianDay</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Subclasses may override this method to compute several fields specific to each calendar system. </p>
<p>These are:</p>
<ul>
<li>
ERA </li>
<li>
YEAR </li>
<li>
MONTH </li>
<li>
DAY_OF_MONTH </li>
<li>
DAY_OF_YEAR </li>
<li>
EXTENDED_YEAR</li>
</ul>
<p>Subclasses can refer to the DAY_OF_WEEK and DOW_LOCAL fields, which will be set when this method is called. Subclasses can also call the getGregorianXxx() methods to obtain Gregorian calendar equivalents for the given Julian day.</p>
<p>In addition, subclasses should compute any subclass-specific fields, that is, fields from BASE_FIELD_COUNT to getFieldCount() - 1.</p>
<p>The default implementation in <code><a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a></code> implements a pure proleptic Gregorian calendar. </p><dl class="internal"><dt><b><a class="el" href="internal.html#_internal000258">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

<p>Reimplemented in <a class="el" href="classicu_1_1GregorianCalendar.html#afeb981119abe516326c073f5a4a5d1cd">icu::GregorianCalendar</a>.</p>

</div>
</div>
<a class="anchor" id="a231046c7c26b42ca2ff328927af4fd32"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::Calendar::handleComputeJulianDay </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td>
          <td class="paramname"><em>bestField</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Subclasses may override this. </p>
<p>This method calls <a class="el" href="classicu_1_1Calendar.html#ad2ee8eac9b5398fd40d95ddc9c3ea82d" title="Return the number of days in the given month of the given extended year of this calendar system...">handleGetMonthLength()</a> to obtain the calendar-specific month length. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">bestField</td><td>which field to use to calculate the date </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>julian day specified by calendar fields. </dd></dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000243">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

<p>Reimplemented in <a class="el" href="classicu_1_1GregorianCalendar.html#a0bce41372aecdac67ce2c464ce14353e">icu::GregorianCalendar</a>.</p>

</div>
</div>
<a class="anchor" id="ad9a58bffe23ddbe5a91c2b607226f1ef"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::Calendar::handleComputeMonthStart </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>eyear</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>month</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>useMonth</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the Julian day number of day before the first day of the given month in the given extended year. </p>
<p>Subclasses should override this method to implement their calendar system. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">eyear</td><td>the extended year </td></tr>
    <tr><td class="paramname">month</td><td>the zero-based month, or 0 if useMonth is false </td></tr>
    <tr><td class="paramname">useMonth</td><td>if false, compute the day before the first day of the given year, otherwise, compute the day before the first day of the given month </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the Julian day number of the day before the first day of the given month and year </dd></dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000240">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

<p>Implemented in <a class="el" href="classicu_1_1GregorianCalendar.html#a4347ce6592c7156ce577166dbbdf9701">icu::GregorianCalendar</a>.</p>

</div>
</div>
<a class="anchor" id="a9e834cff9657ddbaae2003d0576204b4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::Calendar::handleGetExtendedYear </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the extended year defined by the current fields. </p>
<p>This will use the UCAL_EXTENDED_YEAR field or the UCAL_YEAR and supra-year fields (such as UCAL_ERA) specific to the calendar system, depending on which set of fields is newer. </p><dl class="section return"><dt>Returns</dt><dd>the extended year </dd></dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000242">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

<p>Implemented in <a class="el" href="classicu_1_1GregorianCalendar.html#aa35d5cc163162be81f8ff193de7903d7">icu::GregorianCalendar</a>.</p>

</div>
</div>
<a class="anchor" id="ac565b6170daf69489f6df2d8acaf617d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::Calendar::handleGetExtendedYearFromWeekFields </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>yearWoy</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>woy</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Subclasses must override this to convert from week fields (YEAR_WOY and WEEK_OF_YEAR) to an extended year in the case where YEAR, EXTENDED_YEAR are not set. </p>
<p>The <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> implementation assumes yearWoy is in extended gregorian form </p><dl class="section return"><dt>Returns</dt><dd>the extended year, UCAL_EXTENDED_YEAR </dd></dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000244">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

<p>Reimplemented in <a class="el" href="classicu_1_1GregorianCalendar.html#ad3a537bc34b5e0efe83d2985e5992abe">icu::GregorianCalendar</a>.</p>

</div>
</div>
<a class="anchor" id="a9d0a7cc3031edcbb5e55e7161767747a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::Calendar::handleGetLimit </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classicu_1_1Calendar.html#a54345fd19441b27f9648c617d0978737">ELimitType</a>&#160;</td>
          <td class="paramname"><em>limitType</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Subclass API for defining limits of different types. </p>
<p>Subclasses must implement this method to return limits for the following fields:</p>
<pre>UCAL_ERA
UCAL_YEAR
UCAL_MONTH
UCAL_WEEK_OF_YEAR
UCAL_WEEK_OF_MONTH
UCAL_DATE (DAY_OF_MONTH on Java)
UCAL_DAY_OF_YEAR
UCAL_DAY_OF_WEEK_IN_MONTH
UCAL_YEAR_WOY
UCAL_EXTENDED_YEAR</pre><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>one of the above field numbers </td></tr>
    <tr><td class="paramname">limitType</td><td>one of <code>MINIMUM</code>, <code>GREATEST_MINIMUM</code>, <code>LEAST_MAXIMUM</code>, or <code>MAXIMUM</code> </td></tr>
  </table>
  </dd>
</dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000238">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

<p>Implemented in <a class="el" href="classicu_1_1GregorianCalendar.html#a546215c8e25e26b0a9ca2bbc60e146f0">icu::GregorianCalendar</a>.</p>

</div>
</div>
<a class="anchor" id="ad2ee8eac9b5398fd40d95ddc9c3ea82d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::Calendar::handleGetMonthLength </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>extendedYear</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>month</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the number of days in the given month of the given extended year of this calendar system. </p>
<p>Subclasses should override this method if they can provide a more correct or more efficient implementation than the default implementation in <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>. </p><dl class="internal"><dt><b><a class="el" href="internal.html#_internal000241">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

<p>Reimplemented in <a class="el" href="classicu_1_1GregorianCalendar.html#a398b02748863d181fd08247a92645686">icu::GregorianCalendar</a>.</p>

</div>
</div>
<a class="anchor" id="af60dde656dc4f7bb53acd2afb7dc79d7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t icu::Calendar::handleGetYearLength </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>eyear</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the number of days in the given extended year of this calendar system. </p>
<p>Subclasses should override this method if they can provide a more correct or more efficient implementation than the default implementation in <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable003144">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Reimplemented in <a class="el" href="classicu_1_1GregorianCalendar.html#a0e089c17cf5408523d6c30c1ff99b186">icu::GregorianCalendar</a>.</p>

</div>
</div>
<a class="anchor" id="a3a9e76d81d84c2a59db1c28c2001abdd"></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="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::Calendar::haveDefaultCentury </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="section return"><dt>Returns</dt><dd>TRUE if this calendar has a default century (i.e. 03 -&gt; 2003) </dd></dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000276">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

<p>Implemented in <a class="el" href="classicu_1_1GregorianCalendar.html#a9686f43dd8b8d7c3ff716728ac4a1f0c">icu::GregorianCalendar</a>.</p>

</div>
</div>
<a class="anchor" id="acd88b3a7707e9b9256ec8dee3f6c7ced"></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="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::Calendar::inDaylightTime </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Queries if the current date for this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> is in Daylight Savings Time. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td>Fill-in parameter which receives the status of this operation. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if the current date for this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> is in Daylight Savings Time, false, otherwise. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003102">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Implemented in <a class="el" href="classicu_1_1GregorianCalendar.html#a0f08c4c81796eb1612ad6bf0fe02f5f3">icu::GregorianCalendar</a>.</p>

</div>
</div>
<a class="anchor" id="afc8cc0970f6bcc1bd618ac72b8918e89"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int32_t icu::Calendar::internalGet </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1Calendar.html#a4d834504c309b2c84831390db2664520">EDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gets the value for a given time field. </p>
<p>Subclasses can use this function to get field values without forcing recomputation of time.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The given time field. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The value for the given time field. </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000306">Deprecated:</a></b></dt><dd>ICU 2.6. Use internalGet(UCalendarDateFields field) instead. </dd></dl>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l01547">1547</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

</div>
</div>
<a class="anchor" id="a312b80ecf3b2c89557fe910b5ce2ec89"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int32_t icu::Calendar::internalGet </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>defaultValue</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gets the value for a given time field. </p>
<p>Subclasses can use this function to get field values without forcing recomputation of time. If the field's stamp is UNSET, the defaultValue is used.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The given time field. </td></tr>
    <tr><td class="paramname">defaultValue</td><td>a default value used if the field is unset. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The value for the given time field. </dd></dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000234">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l01561">1561</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

</div>
</div>
<a class="anchor" id="a339803af0ec556ee44e4a96f63b83bc7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int32_t icu::Calendar::internalGet </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gets the value for a given time field. </p>
<p>Subclasses can use this function to get field values without forcing recomputation of time.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The given time field. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The value for the given time field. </dd></dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000235">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l01571">1571</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa4764fc2da5cac68c69ddb30a1aa6deb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> icu::Calendar::internalGetTime </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">inline</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the current time without recomputing. </p>
<dl class="section return"><dt>Returns</dt><dd>the current time without recomputing. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003149">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l01900">1900</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

</div>
</div>
<a class="anchor" id="ababfb7e1d1979a2bd9c949f657169733"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Calendar::internalSet </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1Calendar.html#a4d834504c309b2c84831390db2664520">EDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Sets the value for a given time field. </p>
<p>This is a fast internal method for subclasses. It does not affect the areFieldsInSync, isTimeSet, or areAllFieldsSet flags.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The given time field. </td></tr>
    <tr><td class="paramname">value</td><td>The value for the given time field. </td></tr>
  </table>
  </dd>
</dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000307">Deprecated:</a></b></dt><dd>ICU 2.6. Use <a class="el" href="classicu_1_1Calendar.html#a8f49776ebaca65739a2892701ef85113" title="Sets the value for a given time field. ">internalSet(UCalendarDateFields field, int32_t value)</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a8f49776ebaca65739a2892701ef85113"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Calendar::internalSet </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Sets the value for a given time field. </p>
<p>Fast method for subclasses.</p>
<p>This is a fast internal method for subclasses. It does not affect the areFieldsInSync, isTimeSet, or areAllFieldsSet flags.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The given time field. </td></tr>
    <tr><td class="paramname">value</td><td>The value for the given time field. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003143">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>
<p>The caller must maintain fUserSetDSTOffset and fUserSetZoneOffset, as well as the isSet[] array. </p>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l02532">2532</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

<p>References <a class="el" href="umachine_8h_source.html#l00263">TRUE</a>.</p>

</div>
</div>
<a class="anchor" id="a9799b65d6e79a954186a5ad542db071d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Calendar::internalSetTime </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</td>
          <td class="paramname"><em>time</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Set the current time without affecting flags or fields. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">time</td><td>The time to be set </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the current time without recomputing. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003150">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l01909">1909</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3bba83239bd569208b4c2e83720a7833"></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="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::Calendar::isEquivalentTo </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Calendar.html">Calendar</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></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 TRUE if the given <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> object is equivalent to this one. </p>
<p>An equivalent <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> will behave exactly as this one does, but it may be set to a different time. By contrast, for the <a class="el" href="classicu_1_1Calendar.html#a2ee1e26782181bd2191cbd8e369db0a9" title="Compares the equality of two Calendar objects. ">operator==()</a> method to return TRUE, the other <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> must be set to the same time.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">other</td><td>the <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> to be compared with this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003090">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

<p>Reimplemented in <a class="el" href="classicu_1_1GregorianCalendar.html#aa90e2a1092c8cf330ab9b6a7e99edf04">icu::GregorianCalendar</a>.</p>

</div>
</div>
<a class="anchor" id="adb53d92dc483443f9edece337f4bd86a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::Calendar::isLenient </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>Tells whether date/time interpretation is to be lenient. </p>
<dl class="section return"><dt>Returns</dt><dd>True tells that date/time interpretation is to be lenient. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003104">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="aa6fefa1505ea34d12f195015470ee941"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::Calendar::isSet </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1Calendar.html#a4d834504c309b2c84831390db2664520">EDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determines if the given time field has a value set. </p>
<p>This can affect in the resolving of time in <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>. Unset fields have a value of zero, by definition.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The given time field. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if the given time field has a value set; false otherwise. </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000303">Deprecated:</a></b></dt><dd>ICU 2.6. Use isSet(UCalendarDateFields field) instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a355dfcba0c6952c5ee645dcd06ba033b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::Calendar::isSet </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determines if the given time field has a value set. </p>
<p>This can affect in the resolving of time in <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>. Unset fields have a value of zero, by definition.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The given time field. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if the given time field has a value set; false otherwise. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003120">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

</div>
</div>
<a class="anchor" id="a9ad9c5ad98a49b02ad7293228100bc51"></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="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::Calendar::isWeekend </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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 TRUE if the given UDate is in the weekend in this calendar system. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">date</td><td>The UDate in question. </td></tr>
    <tr><td class="paramname">status</td><td>The error code for the operation. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if the given UDate is in the weekend in this calendar system, FALSE otherwise. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003131">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a584cafe69a84f27293a3dd127d4dba45"></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="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::Calendar::isWeekend </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 TRUE if this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>'s current date-time is in the weekend in this calendar system. </p>
<dl class="section return"><dt>Returns</dt><dd>TRUE if this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>'s current date-time is in the weekend in this calendar system, FALSE otherwise. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003132">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a98d3ea6ce14edb143711f45447c26a95"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static uint8_t icu::Calendar::julianDayToDayOfWeek </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>julian</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Convert a quasi Julian date to the day of the week. </p>
<p>The Julian date used here is not a true Julian date, since it is measured from midnight, not noon. Return value is one-based.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">julian</td><td>The given Julian date number. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Day number from 1..7 (SUN..SAT). </dd></dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000269">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

</div>
</div>
<a class="anchor" id="a5623309bf9dc3046af213ca043d3734e"></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="classicu_1_1Calendar.html">Calendar</a>* icu::Calendar::makeInstance </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Locale.html">Locale</a> &amp;&#160;</td>
          <td class="paramname"><em>locale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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>Creates a new <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> from a <a class="el" href="classicu_1_1Locale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a> for the cache. </p>
<p>This method does not set the time or timezone in returned calendar. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">locale</td><td>the locale. </td></tr>
    <tr><td class="paramname">status</td><td>any error returned here. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the new <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> object with no time or timezone set. </dd></dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000282">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. For ICU use only. </dd></dl>

</div>
</div>
<a class="anchor" id="ae84bf3f4fa21b328df86a07909ca0f05"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> icu::Calendar::newerField </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td>
          <td class="paramname"><em>defaultField</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td>
          <td class="paramname"><em>alternateField</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the field that is newer, either defaultField, or alternateField. </p>
<p>If neither is newer or neither is set, return defaultField. </p><dl class="internal"><dt><b><a class="el" href="internal.html#_internal000256">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

</div>
</div>
<a class="anchor" id="a01d17c7250c5183c88cfee62d936094e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int32_t icu::Calendar::newestStamp </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td>
          <td class="paramname"><em>start</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td>
          <td class="paramname"><em>end</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>bestSoFar</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Determine the best stamp in a range. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">start</td><td>first enum to look at </td></tr>
    <tr><td class="paramname">end</td><td>last enum to look at </td></tr>
    <tr><td class="paramname">bestSoFar</td><td>stamp prior to function call </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the stamp value of the best stamp </dd></dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000249">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

</div>
</div>
<a class="anchor" id="a641afdb5e48534eb17568c1911b28292"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::Calendar::operator!= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Calendar.html">Calendar</a> &amp;&#160;</td>
          <td class="paramname"><em>that</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Compares the inequality of two <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> objects. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">that</td><td>The <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> 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="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> is not the same as this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>; false otherwise. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003089">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l00478">478</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

<p>References <a class="el" href="classicu_1_1UObject.html#a1aa93096e880907080b503ff1fb0f8bc">icu::UObject::getDynamicClassID()</a>, and <a class="el" href="namespaceicu.html#a1c2f6ca43e636f38d1a3291eb851e9f0">icu::operator==()</a>.</p>

</div>
</div>
<a class="anchor" id="a14f16cc41eb7e9d80d48bc68b628aa80"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1Calendar.html">Calendar</a>&amp; icu::Calendar::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Calendar.html">Calendar</a> &amp;&#160;</td>
          <td class="paramname"><em>right</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Default assignment operator. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">right</td><td><a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> object to be copied </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003135">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a2ee1e26782181bd2191cbd8e369db0a9"></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="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::Calendar::operator== </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1Calendar.html">Calendar</a> &amp;&#160;</td>
          <td class="paramname"><em>that</em></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>Compares the equality of two <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> objects. </p>
<p>Objects of different subclasses are considered unequal. This comparison is very exacting; two <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> objects must be in exactly the same state to be considered equal. To compare based on the represented time, use <a class="el" href="classicu_1_1Calendar.html#a6678db8af47d1e69fd3d0e784fe06716" title="Compares the Calendar time, whereas Calendar::operator== compares the equality of Calendar objects...">equals()</a> instead.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">that</td><td>The <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> 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="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> is the same as this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>; false otherwise. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003088">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a3f00ccc3032b22c8c902b3ede7ce3182"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classicu_1_1TimeZone.html">TimeZone</a>* icu::Calendar::orphanTimeZone </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the time zone owned by this calendar. </p>
<p>The caller owns the returned object and must delete it when done. After this call, the new time zone associated with this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> is the default <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> as returned by <a class="el" href="classicu_1_1TimeZone.html#acc42dd35187faaf9e755b9a3be47d16b" title="Creates a new copy of the default TimeZone for this host. ">TimeZone::createDefault()</a>.</p>
<dl class="section return"><dt>Returns</dt><dd>The time zone object which was associated with this calendar. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003101">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a957c2383b878f68ff3dc12afcdf6446d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void icu::Calendar::pinField </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Adjust the specified field so that it is within the allowable range for the date to which this calendar is set. </p>
<p>For example, in a Gregorian calendar pinning the <a class="el" href="ucal_8h.html#a28411d3f471b1720fe688466983d2298">DAY_OF_MONTH</a> field for a calendar set to April 31 would cause it to be set to April 30. </p>
<p><b>Subclassing:</b> <br />
 This utility method is intended for use by subclasses that need to implement their own overrides of <a class="el" href="classicu_1_1Calendar.html#a91e030cdb98538b5010510dbce783624">roll</a> and <a class="el" href="classicu_1_1Calendar.html#af1fbbede5bcd4ea879c2a7573379b5d9">add</a>. </p>
<p><b>Note:</b> <code>pinField</code> is implemented in terms of <a class="el" href="classicu_1_1Calendar.html#a2e121a4ce4aafbbde21c577278482dae">getActualMinimum</a> and <a class="el" href="classicu_1_1Calendar.html#a9efcae081ffdcc9e63f7e7f275d4320b">getActualMaximum</a>. If either of those methods uses a slow, iterative algorithm for a particular field, it would be unwise to attempt to call <code>pinField</code> for that field. If you really do need to do so, you should override this method to do something more efficient for that field. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The calendar field whose value should be pinned. </td></tr>
    <tr><td class="paramname">status</td><td>Output param set to failure code on function return when this function fails.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classicu_1_1Calendar.html#a2e121a4ce4aafbbde21c577278482dae" title="Return the minimum value that this field could have, given the current date. ">getActualMinimum</a> </dd>
<dd>
<a class="el" href="classicu_1_1Calendar.html#a9efcae081ffdcc9e63f7e7f275d4320b" title="Return the maximum value that this field could have, given the current date. ">getActualMaximum</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003154">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a84a69797a48b17892f286d9cd3c99c83"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void icu::Calendar::prepareGetActual </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td>
          <td class="paramname"><em>field</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>isMinimum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Prepare this calendar for computing the actual minimum or maximum. </p>
<p>This method modifies this calendar's fields; it is called on a temporary calendar. </p><dl class="internal"><dt><b><a class="el" href="internal.html#_internal000236">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

</div>
</div>
<a class="anchor" id="a747e3d0cfec86b8286a237bce24e2c01"></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="umisc_8h.html#ab5905d79ed3b979840cee1d5fd48b4fb">URegistryKey</a> icu::Calendar::registerFactory </td>
          <td>(</td>
          <td class="paramtype">ICUServiceFactory *&#160;</td>
          <td class="paramname"><em>toAdopt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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>Register a new <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> factory. </p>
<p>The factory will be adopted. INTERNAL in 2.6</p>
<p>Because ICU may choose to cache Calendars internally, this must be called at application startup, prior to any calls to <a class="el" href="classicu_1_1Calendar.html#ad2d72d348ce478cf1715dd79b7262c89" title="Creates a Calendar using the default timezone and locale. ">Calendar::createInstance</a> to avoid undefined behavior.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">toAdopt</td><td>the factory instance to be adopted </td></tr>
    <tr><td class="paramname">status</td><td>the in/out status code, no special meanings are assigned </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a registry key that can be used to unregister this factory </dd></dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000271">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

</div>
</div>
<a class="anchor" id="a61d4c74dee7b85dc1b7600718e84b2af"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> icu::Calendar::resolveFields </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="namespaceicu.html#a3a6a9cba02d5e5819c84d085616fe531">UFieldResolutionTable</a> *&#160;</td>
          <td class="paramname"><em>precedenceTable</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Given a precedence table, return the newest field combination in the table, or UCAL_FIELD_COUNT if none is found. </p>
<p>The precedence table is a 3-dimensional array of integers. It may be thought of as an array of groups. Each group is an array of lines. Each line is an array of field numbers. Within a line, if all fields are set, then the time stamp of the line is taken to be the stamp of the most recently set field. If any field of a line is unset, then the line fails to match. Within a group, the line with the newest time stamp is selected. The first field of the line is returned to indicate which line matched.</p>
<p>In some cases, it may be desirable to map a line to field that whose stamp is NOT examined. For example, if the best field is DAY_OF_WEEK then the DAY_OF_WEEK_IN_MONTH algorithm may be used. In order to do this, insert the value <code>kResolveRemap | F</code> at the start of the line, where <code>F</code> is the desired return field value. This field will NOT be examined; it only determines the return value if the other fields in the line are the newest.</p>
<p>If all lines of a group contain at least one unset field, then no line will match, and the group as a whole will fail to match. In that case, the next group will be processed. If all groups fail to match, then UCAL_FIELD_COUNT is returned. </p><dl class="internal"><dt><b><a class="el" href="internal.html#_internal000254">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

</div>
</div>
<a class="anchor" id="a91e030cdb98538b5010510dbce783624"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Calendar::roll </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1Calendar.html#a4d834504c309b2c84831390db2664520">EDateFields</a>&#160;</td>
          <td class="paramname"><em>field</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>up</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Time Field Rolling function. </p>
<p>Rolls (up/down) a single unit of time on the given time field. For example, to roll the current date up by one day, call roll(Calendar::DATE, true). When rolling on the year or Calendar::YEAR field, it will roll the year value in the range between getMinimum(Calendar::YEAR) and the value returned by getMaximum(Calendar::YEAR). When rolling on the month or Calendar::MONTH field, other fields like date might conflict and, need to be changed. For instance, rolling the month up on the date 01/31/96 will result in 02/29/96. Rolling up always means rolling forward in time (unless the limit of the field is reached, in which case it may pin or wrap), so for Gregorian calendar, starting with 100 BC and rolling the year up results in 99 BC. When eras have a definite beginning and end (as in the Chinese calendar, or as in most eras in the Japanese calendar) then rolling the year past either limit of the era will cause the year to wrap around. When eras only have a limit at one end, then attempting to roll the year past that limit will result in pinning the year at that limit. Note that for most calendars in which era 0 years move forward in time (such as Buddhist, Hebrew, or Islamic), it is possible for add or roll to result in negative years for era 0 (that is the only way to represent years before the calendar epoch). When rolling on the hour-in-day or Calendar::HOUR_OF_DAY field, it will roll the hour value in the range between 0 and 23, which is zero-based. </p>
<p>NOTE: Do not use this method &ndash; use roll(EDateFields, int, UErrorCode&amp;) instead.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The time field. </td></tr>
    <tr><td class="paramname">up</td><td>Indicates if the value of the specified time field is to be rolled up or rolled down. Use true if rolling up, false otherwise. </td></tr>
    <tr><td class="paramname">status</td><td>Output param set to success/failure code on exit. If any value previously set in the time field is invalid or restricted by leniency, this will be set to an error status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000291">Deprecated:</a></b></dt><dd>ICU 2.6. Use <a class="el" href="classicu_1_1Calendar.html#acdc73fcdbc01d47d4fe3821d19e7edcc" title="Time Field Rolling function. ">roll(UCalendarDateFields field, UBool up, UErrorCode&amp; status)</a> instead. </dd></dl>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l02517">2517</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

</div>
</div>
<a class="anchor" id="acdc73fcdbc01d47d4fe3821d19e7edcc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Calendar::roll </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td>
          <td class="paramname"><em>field</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>up</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Time Field Rolling function. </p>
<p>Rolls (up/down) a single unit of time on the given time field. For example, to roll the current date up by one day, call roll(Calendar::DATE, true). When rolling on the year or Calendar::YEAR field, it will roll the year value in the range between getMinimum(Calendar::YEAR) and the value returned by getMaximum(Calendar::YEAR). When rolling on the month or Calendar::MONTH field, other fields like date might conflict and, need to be changed. For instance, rolling the month up on the date 01/31/96 will result in 02/29/96. Rolling up always means rolling forward in time (unless the limit of the field is reached, in which case it may pin or wrap), so for Gregorian calendar, starting with 100 BC and rolling the year up results in 99 BC. When eras have a definite beginning and end (as in the Chinese calendar, or as in most eras in the Japanese calendar) then rolling the year past either limit of the era will cause the year to wrap around. When eras only have a limit at one end, then attempting to roll the year past that limit will result in pinning the year at that limit. Note that for most calendars in which era 0 years move forward in time (such as Buddhist, Hebrew, or Islamic), it is possible for add or roll to result in negative years for era 0 (that is the only way to represent years before the calendar epoch). When rolling on the hour-in-day or Calendar::HOUR_OF_DAY field, it will roll the hour value in the range between 0 and 23, which is zero-based. </p>
<p>NOTE: Do not use this method &ndash; use roll(UCalendarDateFields, int, UErrorCode&amp;) instead.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The time field. </td></tr>
    <tr><td class="paramname">up</td><td>Indicates if the value of the specified time field is to be rolled up or rolled down. Use true if rolling up, false otherwise. </td></tr>
    <tr><td class="paramname">status</td><td>Output param set to success/failure code on exit. If any value previously set in the time field is invalid or restricted by leniency, this will be set to an error status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003095">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l02510">2510</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4fdb47e33f3733c251ec685b91dc15f5"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void icu::Calendar::roll </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1Calendar.html#a4d834504c309b2c84831390db2664520">EDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>amount</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></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>Time Field Rolling function. </p>
<p>Rolls by the given amount on the given time field. For example, to roll the current date up by one day, call roll(Calendar::DATE, +1, status). When rolling on the month or Calendar::MONTH field, other fields like date might conflict and, need to be changed. For instance, rolling the month up on the date 01/31/96 will result in 02/29/96. Rolling by a positive value always means rolling forward in time (unless the limit of the field is reached, in which case it may pin or wrap), so for Gregorian calendar, starting with 100 BC and rolling the year by + 1 results in 99 BC. When eras have a definite beginning and end (as in the Chinese calendar, or as in most eras in the Japanese calendar) then rolling the year past either limit of the era will cause the year to wrap around. When eras only have a limit at one end, then attempting to roll the year past that limit will result in pinning the year at that limit. Note that for most calendars in which era 0 years move forward in time (such as Buddhist, Hebrew, or Islamic), it is possible for add or roll to result in negative years for era 0 (that is the only way to represent years before the calendar epoch). When rolling on the hour-in-day or Calendar::HOUR_OF_DAY field, it will roll the hour value in the range between 0 and 23, which is zero-based. </p>
<p>The only difference between <a class="el" href="classicu_1_1Calendar.html#a91e030cdb98538b5010510dbce783624" title="Time Field Rolling function. ">roll()</a> and <a class="el" href="classicu_1_1Calendar.html#af1fbbede5bcd4ea879c2a7573379b5d9" title="UDate Arithmetic function. ">add()</a> is that <a class="el" href="classicu_1_1Calendar.html#a91e030cdb98538b5010510dbce783624" title="Time Field Rolling function. ">roll()</a> does not change the value of more significant fields when it reaches the minimum or maximum of its range, whereas <a class="el" href="classicu_1_1Calendar.html#af1fbbede5bcd4ea879c2a7573379b5d9" title="UDate Arithmetic function. ">add()</a> does.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The time field. </td></tr>
    <tr><td class="paramname">amount</td><td>Indicates amount to roll. </td></tr>
    <tr><td class="paramname">status</td><td>Output param set to success/failure code on exit. If any value previously set in the time field is invalid, this will be set to an error status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000292">Deprecated:</a></b></dt><dd>ICU 2.6. Use <a class="el" href="classicu_1_1Calendar.html#a1bce39d5b53eeacc9b014f9bf64a30a1" title="Time Field Rolling function. ">roll(UCalendarDateFields field, int32_t amount, UErrorCode&amp; status)</a> instead. </dd></dl>

<p>Reimplemented in <a class="el" href="classicu_1_1GregorianCalendar.html#ae1c25345256fc78869907e6c7b5e541e">icu::GregorianCalendar</a>.</p>

</div>
</div>
<a class="anchor" id="a1bce39d5b53eeacc9b014f9bf64a30a1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void icu::Calendar::roll </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>amount</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></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>Time Field Rolling function. </p>
<p>Rolls by the given amount on the given time field. For example, to roll the current date up by one day, call roll(Calendar::DATE, +1, status). When rolling on the month or Calendar::MONTH field, other fields like date might conflict and, need to be changed. For instance, rolling the month up on the date 01/31/96 will result in 02/29/96. Rolling by a positive value always means rolling forward in time (unless the limit of the field is reached, in which case it may pin or wrap), so for Gregorian calendar, starting with 100 BC and rolling the year by + 1 results in 99 BC. When eras have a definite beginning and end (as in the Chinese calendar, or as in most eras in the Japanese calendar) then rolling the year past either limit of the era will cause the year to wrap around. When eras only have a limit at one end, then attempting to roll the year past that limit will result in pinning the year at that limit. Note that for most calendars in which era 0 years move forward in time (such as Buddhist, Hebrew, or Islamic), it is possible for add or roll to result in negative years for era 0 (that is the only way to represent years before the calendar epoch). When rolling on the hour-in-day or Calendar::HOUR_OF_DAY field, it will roll the hour value in the range between 0 and 23, which is zero-based. </p>
<p>The only difference between <a class="el" href="classicu_1_1Calendar.html#a91e030cdb98538b5010510dbce783624" title="Time Field Rolling function. ">roll()</a> and <a class="el" href="classicu_1_1Calendar.html#af1fbbede5bcd4ea879c2a7573379b5d9" title="UDate Arithmetic function. ">add()</a> is that <a class="el" href="classicu_1_1Calendar.html#a91e030cdb98538b5010510dbce783624" title="Time Field Rolling function. ">roll()</a> does not change the value of more significant fields when it reaches the minimum or maximum of its range, whereas <a class="el" href="classicu_1_1Calendar.html#af1fbbede5bcd4ea879c2a7573379b5d9" title="UDate Arithmetic function. ">add()</a> does.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The time field. </td></tr>
    <tr><td class="paramname">amount</td><td>Indicates amount to roll. </td></tr>
    <tr><td class="paramname">status</td><td>Output param set to success/failure code on exit. If any value previously set in the time field is invalid, this will be set to an error status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003096">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

<p>Reimplemented in <a class="el" href="classicu_1_1GregorianCalendar.html#a7546f91c0209d169701e18b482b786e7">icu::GregorianCalendar</a>.</p>

</div>
</div>
<a class="anchor" id="a26f29ca7778531e4b897cbfc181ac0f6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Calendar::set </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1Calendar.html#a4d834504c309b2c84831390db2664520">EDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the given time field with the given value. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The given time field. </td></tr>
    <tr><td class="paramname">value</td><td>The value to be set for the given time field. </td></tr>
  </table>
  </dd>
</dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000304">Deprecated:</a></b></dt><dd>ICU 2.6. Use <a class="el" href="classicu_1_1Calendar.html#a0a52feb5d2013966f72d4c24405badae" title="Sets the given time field with the given value. ">set(UCalendarDateFields field, int32_t value)</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="a0a52feb5d2013966f72d4c24405badae"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Calendar::set </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the given time field with the given value. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The given time field. </td></tr>
    <tr><td class="paramname">value</td><td>The value to be set for the given time field. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003121">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

</div>
</div>
<a class="anchor" id="afb3dbfabf06d5cc6f6b0127061c09b61"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Calendar::set </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>year</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>month</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>date</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the values for the fields YEAR, MONTH, and DATE. </p>
<p>Other field values are retained; call <a class="el" href="classicu_1_1Calendar.html#ade18a5974ebb8c684e3e2acebb5935cb" title="Clears the values of all the time fields, making them both unset and assigning them a value of zero...">clear()</a> first if this is not desired.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">year</td><td>The value used to set the YEAR time field. </td></tr>
    <tr><td class="paramname">month</td><td>The value used to set the MONTH time field. Month value is 0-based. e.g., 0 for January. </td></tr>
    <tr><td class="paramname">date</td><td>The value used to set the DATE time field. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003122">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="afc9dfcf97750cd6aee5c1e39fce60ae7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Calendar::set </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>year</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>month</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>date</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>hour</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>minute</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the values for the fields YEAR, MONTH, DATE, HOUR_OF_DAY, and MINUTE. </p>
<p>Other field values are retained; call <a class="el" href="classicu_1_1Calendar.html#ade18a5974ebb8c684e3e2acebb5935cb" title="Clears the values of all the time fields, making them both unset and assigning them a value of zero...">clear()</a> first if this is not desired.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">year</td><td>The value used to set the YEAR time field. </td></tr>
    <tr><td class="paramname">month</td><td>The value used to set the MONTH time field. Month value is 0-based. E.g., 0 for January. </td></tr>
    <tr><td class="paramname">date</td><td>The value used to set the DATE time field. </td></tr>
    <tr><td class="paramname">hour</td><td>The value used to set the HOUR_OF_DAY time field. </td></tr>
    <tr><td class="paramname">minute</td><td>The value used to set the MINUTE time field. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003123">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ad93748f69bf8c427cbe97714de1ca443"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Calendar::set </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>year</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>month</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>date</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>hour</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>minute</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>second</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the values for the fields YEAR, MONTH, DATE, HOUR_OF_DAY, MINUTE, and SECOND. </p>
<p>Other field values are retained; call <a class="el" href="classicu_1_1Calendar.html#ade18a5974ebb8c684e3e2acebb5935cb" title="Clears the values of all the time fields, making them both unset and assigning them a value of zero...">clear()</a> first if this is not desired.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">year</td><td>The value used to set the YEAR time field. </td></tr>
    <tr><td class="paramname">month</td><td>The value used to set the MONTH time field. Month value is 0-based. E.g., 0 for January. </td></tr>
    <tr><td class="paramname">date</td><td>The value used to set the DATE time field. </td></tr>
    <tr><td class="paramname">hour</td><td>The value used to set the HOUR_OF_DAY time field. </td></tr>
    <tr><td class="paramname">minute</td><td>The value used to set the MINUTE time field. </td></tr>
    <tr><td class="paramname">second</td><td>The value used to set the SECOND time field. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003124">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a59e5abe6a36bfc5668bd7193b8eaf9ef"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Calendar::setFirstDayOfWeek </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classicu_1_1Calendar.html#a3ca774e0e17548d6818ff549529346ab">EDaysOfWeek</a>&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets what the first day of the week is; e.g., Sunday in US, Monday in France. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>The given first day of the week. </td></tr>
  </table>
  </dd>
</dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000294">Deprecated:</a></b></dt><dd>ICU 2.6. Use <a class="el" href="classicu_1_1Calendar.html#acf7a6d09860c37daa75906824bbd94c4" title="Sets what the first day of the week is; e.g., Sunday in US, Monday in France. ">setFirstDayOfWeek(UCalendarDaysOfWeek value)</a> instead. </dd></dl>

</div>
</div>
<a class="anchor" id="acf7a6d09860c37daa75906824bbd94c4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Calendar::setFirstDayOfWeek </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#a62d9fe551bd48e4141fce52b917119a4">UCalendarDaysOfWeek</a>&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets what the first day of the week is; e.g., Sunday in US, Monday in France. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>The given first day of the week. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003109">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

</div>
</div>
<a class="anchor" id="a29c0974167c4d5b3570a87a55935224b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Calendar::setLenient </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td>
          <td class="paramname"><em>lenient</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Specifies whether or not date/time interpretation is to be lenient. </p>
<p>With lenient interpretation, a date such as "February 942, 1996" will be treated as being equivalent to the 941st day after February 1, 1996. With strict interpretation, such dates will cause an error when computing time from the time field values representing the dates.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">lenient</td><td>True specifies date/time interpretation to be lenient.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classicu_1_1DateFormat.html#a5ed3fc3977aabeae6b0188642cad5d30" title="Specifies whether date/time parsing is to be lenient. ">DateFormat::setLenient</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003103">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a8b667a3b107b4269d57fdd58e76f37c1"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Calendar::setMinimalDaysInFirstWeek </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets what the minimal days required in the first week of the year are; For example, if the first week is defined as one that contains the first day of the first month of a year, call the method with value 1. </p>
<p>If it must be a full week, use value 7.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">value</td><td>The given minimal days required in the first week of the year. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003111">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="abd3f0ea4ab623eac9e53572981c2f88e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void icu::Calendar::setRelatedYear </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>year</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">year</td><td>The related Gregorian year to set; will be modified as necessary then set in UCAL_EXTENDED_YEAR field </td></tr>
  </table>
  </dd>
</dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000280">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

</div>
</div>
<a class="anchor" id="acc9fae6a9d2844aad73aa12f8a841eb6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Calendar::setRepeatedWallTimeOption </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#a4868f5e191f75ed38b7ee0c3040317b8">UCalendarWallTimeOption</a>&#160;</td>
          <td class="paramname"><em>option</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the behavior for handling wall time repeating multiple times at negative time zone offset transitions. </p>
<p>For example, 1:30 AM on November 6, 2011 in US Eastern time (Ameirca/New_York) occurs twice; 1:30 AM EDT, then 1:30 AM EST one hour later. When <code>UCAL_WALLTIME_FIRST</code> is used, the wall time 1:30AM in this example will be interpreted as 1:30 AM EDT (first occurrence). When <code>UCAL_WALLTIME_LAST</code> is used, it will be interpreted as 1:30 AM EST (last occurrence). The default value is <code>UCAL_WALLTIME_LAST</code>. </p>
<p><b>Note:</b>When <code>UCAL_WALLTIME_NEXT_VALID</code> is not a valid option for this. When the argument is neither <code>UCAL_WALLTIME_FIRST</code> nor <code>UCAL_WALLTIME_LAST</code>, this method has no effect and will keep the current setting.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">option</td><td>the behavior for handling repeating wall time, either <code>UCAL_WALLTIME_FIRST</code> or <code>UCAL_WALLTIME_LAST</code>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classicu_1_1Calendar.html#a112119cdc47a197c4563749da2ed39a0" title="Gets the behavior for handling wall time repeating multiple times at negative time zone offset transi...">getRepeatedWallTimeOption</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003105">Stable:</a></b></dt><dd>ICU 49 </dd></dl>

</div>
</div>
<a class="anchor" id="a09676ec794b4a18247d7daae5f746ce6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Calendar::setSkippedWallTimeOption </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#a4868f5e191f75ed38b7ee0c3040317b8">UCalendarWallTimeOption</a>&#160;</td>
          <td class="paramname"><em>option</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the behavior for handling skipped wall time at positive time zone offset transitions. </p>
<p>For example, 2:30 AM on March 13, 2011 in US Eastern time (America/New_York) does not exist because the wall time jump from 1:59 AM EST to 3:00 AM EDT. When <code>UCAL_WALLTIME_FIRST</code> is used, 2:30 AM is interpreted as 30 minutes before 3:00 AM EDT, therefore, it will be resolved as 1:30 AM EST. When <code>UCAL_WALLTIME_LAST</code> is used, 2:30 AM is interpreted as 31 minutes after 1:59 AM EST, therefore, it will be resolved as 3:30 AM EDT. When <code>UCAL_WALLTIME_NEXT_VALID</code> is used, 2:30 AM will be resolved as next valid wall time, that is 3:00 AM EDT. The default value is <code>UCAL_WALLTIME_LAST</code>. </p>
<p><b>Note:</b>This option is effective only when this calendar is lenient. When the calendar is strict, such non-existing wall time will cause an error.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">option</td><td>the behavior for handling skipped wall time at positive time zone offset transitions, one of <code>UCAL_WALLTIME_FIRST</code>, <code>UCAL_WALLTIME_LAST</code> and <code>UCAL_WALLTIME_NEXT_VALID</code>. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classicu_1_1Calendar.html#af5f48b5a457657ec25a8db9cc4121f5a" title="Gets the behavior for handling skipped wall time at positive time zone offset transitions. ">getSkippedWallTimeOption</a></dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003107">Stable:</a></b></dt><dd>ICU 49 </dd></dl>

</div>
</div>
<a class="anchor" id="a0892d30c6780218d801d55e64d642a4f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Calendar::setTime </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Sets this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>'s current time with the given UDate. </p>
<p>The time specified should be in non-local UTC (GMT) time.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">date</td><td>The given UDate in UTC (GMT) time. </td></tr>
    <tr><td class="paramname">status</td><td>Output param set to success/failure code on exit. If any value set in the time field is invalid or restricted by leniency, this will be set to an error status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003087">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l00455">455</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

<p>References <a class="el" href="namespaceicu.html#a1c2f6ca43e636f38d1a3291eb851e9f0">icu::operator==()</a>.</p>

</div>
</div>
<a class="anchor" id="a24e93f5a43e1bd057f13350fbe8b404b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Calendar::setTimeInMillis </td>
          <td>(</td>
          <td class="paramtype">double&#160;</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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Sets this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>'s current time from the given long value. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">millis</td><td>the new time in UTC milliseconds from the epoch. </td></tr>
    <tr><td class="paramname">status</td><td>Output param set to success/failure code on exit. If any value previously set in the time field is invalid or restricted by leniency, this will be set to an error status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003141">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="aafc842cd79cf0a1c653c543def4893eb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void icu::Calendar::setTimeZone </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classicu_1_1TimeZone.html">TimeZone</a> &amp;&#160;</td>
          <td class="paramname"><em>zone</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the calendar's time zone to be the same as the one passed in. </p>
<p>The <a class="el" href="classicu_1_1TimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> passed in is <em>not</em> adopted; the client is still responsible for deleting it.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">zone</td><td>The given time zone. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003099">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="aee69ee39f3838b40933c875c0623e205"></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="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::Calendar::unregister </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="umisc_8h.html#ab5905d79ed3b979840cee1d5fd48b4fb">URegistryKey</a>&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</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>Unregister a previously-registered CalendarFactory using the key returned from the register call. </p>
<p>Key becomes invalid after a successful call and should not be used again. The CalendarFactory corresponding to the key will be deleted. INTERNAL in 2.6</p>
<p>Because ICU may choose to cache Calendars internally, this should be called during application shutdown, after all calls to <a class="el" href="classicu_1_1Calendar.html#ad2d72d348ce478cf1715dd79b7262c89" title="Creates a Calendar using the default timezone and locale. ">Calendar::createInstance</a> to avoid undefined behavior.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td>the registry key returned by a previous call to registerFactory </td></tr>
    <tr><td class="paramname">status</td><td>the in/out status code, no special meanings are assigned </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if the factory for the key was successfully unregistered </dd></dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000272">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

</div>
</div>
<a class="anchor" id="aef18bfe4c0bf8c16d2bd643123e6c5ff"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void icu::Calendar::validateField </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Validate a single field of this calendar. </p>
<p>Subclasses should override this method to validate any calendar-specific fields. Generic fields can be handled by <code><a class="el" href="classicu_1_1Calendar.html#aef18bfe4c0bf8c16d2bd643123e6c5ff" title="Validate a single field of this calendar. ">Calendar::validateField()</a></code>. </p><dl class="section see"><dt>See also</dt><dd>#validateField(int, int, int, int&amp;) </dd></dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000245">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

</div>
</div>
<a class="anchor" id="a20a81041973cc96c73454164b5b82a1e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int32_t icu::Calendar::weekNumber </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>desiredDay</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>dayOfPeriod</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>dayOfWeek</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the week number of a day, within a period. </p>
<p>This may be the week number in a year or the week number in a month. Usually this will be a value &gt;= 1, but if some initial days of the period are excluded from week 1, because <a class="el" href="classicu_1_1Calendar.html#a94ff80e6d1a098c137f3def18b407bc3">getMinimalDaysInFirstWeek</a> is &gt; 1, then the week number will be zero for those initial days. This method requires the day number and day of week for some known date in the period in order to determine the day of week on the desired day. </p>
<p><b>Subclassing:</b> <br />
 This method is intended for use by subclasses in implementing their <a class="el" href="classicu_1_1Calendar.html#ae22e398ddd0c126424382957b1a1fc6e">computeTime</a> and/or <a class="el" href="classicu_1_1Calendar.html#a7ac20a3fb98a6e4f6d1923f1035613f4">computeFields</a> methods. It is often useful in <a class="el" href="classicu_1_1Calendar.html#a2e121a4ce4aafbbde21c577278482dae">getActualMinimum</a> and <a class="el" href="classicu_1_1Calendar.html#a9efcae081ffdcc9e63f7e7f275d4320b">getActualMaximum</a> as well. </p>
<p>This variant is handy for computing the week number of some other day of a period (often the first or last day of the period) when its day of the week is not known but the day number and day of week for some other day in the period (e.g. the current date) <em>is</em> known. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">desiredDay</td><td>The <a class="el" href="ucal_8h.html#a28411d3f471b1720fe688466983d2298">DAY_OF_YEAR</a> or <a class="el" href="ucal_8h.html#a28411d3f471b1720fe688466983d2298">DAY_OF_MONTH</a> whose week number is desired. Should be 1 for the first day of the period.</td></tr>
    <tr><td class="paramname">dayOfPeriod</td><td>The <a class="el" href="ucal_8h.html#a28411d3f471b1720fe688466983d2298">DAY_OF_YEAR</a> or <a class="el" href="ucal_8h.html#a28411d3f471b1720fe688466983d2298">DAY_OF_MONTH</a> for a day in the period whose <a class="el" href="ucal_8h.html#a28411d3f471b1720fe688466983d2298">DAY_OF_WEEK</a> is specified by the <code>knownDayOfWeek</code> parameter. Should be 1 for first day of period.</td></tr>
    <tr><td class="paramname">dayOfWeek</td><td>The <a class="el" href="ucal_8h.html#a28411d3f471b1720fe688466983d2298">DAY_OF_WEEK</a> for the day corresponding to the <code>knownDayOfPeriod</code> parameter. 1-based with 1=Sunday.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The week number (one-based), or zero if the day falls before the first week because <a class="el" href="classicu_1_1Calendar.html#a94ff80e6d1a098c137f3def18b407bc3">getMinimalDaysInFirstWeek</a> is more than one.</dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003155">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

</div>
</div>
<a class="anchor" id="a4f102d361784389e68604f300895885a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int32_t icu::Calendar::weekNumber </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>dayOfPeriod</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>dayOfWeek</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Return the week number of a day, within a period. </p>
<p>This may be the week number in a year, or the week number in a month. Usually this will be a value &gt;= 1, but if some initial days of the period are excluded from week 1, because <a class="el" href="classicu_1_1Calendar.html#a94ff80e6d1a098c137f3def18b407bc3">getMinimalDaysInFirstWeek</a> is &gt; 1, then the week number will be zero for those initial days. This method requires the day of week for the given date in order to determine the result. </p>
<p><b>Subclassing:</b> <br />
 This method is intended for use by subclasses in implementing their <a class="el" href="classicu_1_1Calendar.html#ae22e398ddd0c126424382957b1a1fc6e">computeTime</a> and/or <a class="el" href="classicu_1_1Calendar.html#a7ac20a3fb98a6e4f6d1923f1035613f4">computeFields</a> methods. It is often useful in <a class="el" href="classicu_1_1Calendar.html#a2e121a4ce4aafbbde21c577278482dae">getActualMinimum</a> and <a class="el" href="classicu_1_1Calendar.html#a9efcae081ffdcc9e63f7e7f275d4320b">getActualMaximum</a> as well. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dayOfPeriod</td><td>The <a class="el" href="ucal_8h.html#a28411d3f471b1720fe688466983d2298">DAY_OF_YEAR</a> or <a class="el" href="ucal_8h.html#a28411d3f471b1720fe688466983d2298">DAY_OF_MONTH</a> whose week number is desired. Should be 1 for the first day of the period.</td></tr>
    <tr><td class="paramname">dayOfWeek</td><td>The <a class="el" href="ucal_8h.html#a28411d3f471b1720fe688466983d2298">DAY_OF_WEEK</a> for the day corresponding to the <code>dayOfPeriod</code> parameter. 1-based with 1=Sunday.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The week number (one-based), or zero if the day falls before the first week because <a class="el" href="classicu_1_1Calendar.html#a94ff80e6d1a098c137f3def18b407bc3">getMinimalDaysInFirstWeek</a> is more than one. </dd></dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000265">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l02541">2541</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

<p>References <a class="el" href="uversion_8h_source.html#l00132">U_NAMESPACE_END</a>.</p>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a class="anchor" id="a7b8da58f16be9990955f60c930b4376d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">friend class CalendarFactory</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Multiple <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> Implementation. </p>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000273">Internal:</a></b></dt><dd>Do not use.</dd></dl>
<p>This API is for internal use only. </p>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l02387">2387</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

</div>
</div>
<a class="anchor" id="aef82cfadea9ca1be538463884884c8aa"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">friend class CalendarService</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Multiple <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> Implementation. </p>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000274">Internal:</a></b></dt><dd>Do not use.</dd></dl>
<p>This API is for internal use only. </p>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l02393">2393</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

</div>
</div>
<a class="anchor" id="affad2f956e924717f3de7ccd94224551"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">friend class DefaultCalendarFactory</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">friend</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Multiple <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> Implementation. </p>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000275">Internal:</a></b></dt><dd>Do not use.</dd></dl>
<p>This API is for internal use only. </p>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l02399">2399</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Field Documentation</h2>
<a class="anchor" id="a9b6ead89d1d7b9f68e1f4014967245c8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::Calendar::fAreAllFieldsSet</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>True if all of the fields have been set. </p>
<p>This is initially false, and set to true by <a class="el" href="classicu_1_1Calendar.html#a7ac20a3fb98a6e4f6d1923f1035613f4" title="Converts GMT as milliseconds to time field values. ">computeFields()</a>. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable003147">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l01883">1883</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

</div>
</div>
<a class="anchor" id="a79fe87dbeb4091f8d2f4856f34fdf55a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::Calendar::fAreFieldsSet</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>True if the fields are in sync with the currently set time of this <a class="el" href="classicu_1_1Calendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>. </p>
<p>If false, then the next attempt to get the value of a field will force a recomputation of all fields from the current value of the time field. </p>
<p>This should really be named areFieldsInSync, but the old name is retained for backward compatibility. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable003146">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l01876">1876</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

</div>
</div>
<a class="anchor" id="a66a5b113d1121b2b8e3e8fb75aff8577"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::Calendar::fAreFieldsVirtuallySet</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>True if all fields have been virtually set, but have not yet been computed. </p>
<p>This occurs only in <a class="el" href="classicu_1_1Calendar.html#a24e93f5a43e1bd057f13350fbe8b404b" title="Sets this Calendar&#39;s current time from the given long value. ">setTimeInMillis()</a>. A calendar set to this state will compute all fields from the time if it becomes necessary, but otherwise will delay such computation. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable003148">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l01892">1892</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

</div>
</div>
<a class="anchor" id="a73d34e78f4c2cb3a52ad1740c633b8c0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int32_t icu::Calendar::fFields[<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912adbfdd6e6b1bc1be830c7f1ba29f2c68c">UCAL_FIELD_COUNT</a>]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The time fields containing values into which the millis is computed. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003151">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l01915">1915</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7ae946a22e7bfcb50d237f83345644c7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::Calendar::fIsSet[<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912adbfdd6e6b1bc1be830c7f1ba29f2c68c">UCAL_FIELD_COUNT</a>]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The flags which tell if a specified time field for the calendar is set. </p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000308">Deprecated:</a></b></dt><dd>ICU 2.8 use (fStamp[n]!=kUnset) </dd></dl>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l01921">1921</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

</div>
</div>
<a class="anchor" id="a03ecd25821e8b3e8af40f99f3fc67d15"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> icu::Calendar::fIsTimeSet</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>The flag which indicates if the current time is set in the calendar. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable003145">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l01864">1864</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

</div>
</div>
<a class="anchor" id="af0f84036d699c4238786b13eabfc6017"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int32_t icu::Calendar::fStamp[<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912adbfdd6e6b1bc1be830c7f1ba29f2c68c">UCAL_FIELD_COUNT</a>]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Pseudo-time-stamps which specify when each field was set. </p>
<p>There are two special values, UNSET and INTERNALLY_SET. Values from MINIMUM_USER_SET to Integer.MAX_VALUE are legal user set values. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable003153">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l01938">1938</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

</div>
</div>
<a class="anchor" id="a52d01a94775f8e90dcaba22fedfadebb"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="namespaceicu.html#a3a6a9cba02d5e5819c84d085616fe531">UFieldResolutionTable</a> icu::Calendar::kDatePrecedence[]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Precedence table for Dates. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classicu_1_1Calendar.html#a61d4c74dee7b85dc1b7600718e84b2af" title="Given a precedence table, return the newest field combination in the table, or UCAL_FIELD_COUNT if no...">resolveFields</a> </dd></dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000251">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l01785">1785</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

</div>
</div>
<a class="anchor" id="a1af5decf9b843bc3e55277ef71cdb47a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="namespaceicu.html#a3a6a9cba02d5e5819c84d085616fe531">UFieldResolutionTable</a> icu::Calendar::kDOWPrecedence[]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Precedence table for Day of Week. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classicu_1_1Calendar.html#a61d4c74dee7b85dc1b7600718e84b2af" title="Given a precedence table, return the newest field combination in the table, or UCAL_FIELD_COUNT if no...">resolveFields</a> </dd></dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000253">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l01799">1799</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

</div>
</div>
<a class="anchor" id="acc8e1b75669aff79c2b762bba54e5c53"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="namespaceicu.html#a3a6a9cba02d5e5819c84d085616fe531">UFieldResolutionTable</a> icu::Calendar::kYearPrecedence[]</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Precedence table for Year. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classicu_1_1Calendar.html#a61d4c74dee7b85dc1b7600718e84b2af" title="Given a precedence table, return the newest field combination in the table, or UCAL_FIELD_COUNT if no...">resolveFields</a> </dd></dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000252">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

<p>Definition at line <a class="el" href="calendar_8h_source.html#l01792">1792</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="calendar_8h_source.html">calendar.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.11
</small></address>
</body>
</html>