Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-release > by-pkgid > 280da2a01a3d16776505ea3f476de84f > files > 39

icu-doc-3.8.1-2mdv2008.1.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>ICU 3.8: Calendar Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.1 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</span></a></li>
    <li id="current"><a href="classes.html"><span>Data&nbsp;Structures</span></a></li>
    <li><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
    <li>
      <form action="search.php" method="get">
        <table cellspacing="0" cellpadding="0" border="0">
          <tr>
            <td><label>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</label></td>
            <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
          </tr>
        </table>
      </form>
    </li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
    <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Data&nbsp;Fields</span></a></li>
  </ul></div>
<h1>Calendar Class Reference</h1><!-- doxytag: class="Calendar" --><!-- doxytag: inherits="UObject" --><code><a class="el" href="classCalendar.html">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="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="calendar_8h-source.html">calendar.h</a>&gt;</code>
<p>
<p>Inheritance diagram for Calendar:
<p><center><img src="classCalendar.png" usemap="#Calendar_map" border="0" alt=""></center>
<map name="Calendar_map">
<area href="classUObject.html" alt="UObject" shape="rect" coords="0,56,121,80">
<area href="classUMemory.html" alt="UMemory" shape="rect" coords="0,0,121,24">
<area href="classGregorianCalendar.html" alt="GregorianCalendar" shape="rect" coords="0,168,121,192">
</map>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#9aa66a9e8030312d5314e306c713913e">EDateFields</a> { <br>
&nbsp;&nbsp;<b>ERA</b>, 
<b>YEAR</b>, 
<b>MONTH</b>, 
<b>WEEK_OF_YEAR</b>, 
<br>
&nbsp;&nbsp;<b>WEEK_OF_MONTH</b>, 
<b>DATE</b>, 
<b>DAY_OF_YEAR</b>, 
<b>DAY_OF_WEEK</b>, 
<br>
&nbsp;&nbsp;<b>DAY_OF_WEEK_IN_MONTH</b>, 
<b>AM_PM</b>, 
<b>HOUR</b>, 
<b>HOUR_OF_DAY</b>, 
<br>
&nbsp;&nbsp;<b>MINUTE</b>, 
<b>SECOND</b>, 
<b>MILLISECOND</b>, 
<b>ZONE_OFFSET</b>, 
<br>
&nbsp;&nbsp;<b>DST_OFFSET</b>, 
<b>YEAR_WOY</b>, 
<b>DOW_LOCAL</b>, 
<b>FIELD_COUNT</b> =  UCAL_FIELD_COUNT
<br>
 }</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Field IDs for date and time.  <a href="classCalendar.html#9aa66a9e8030312d5314e306c713913e">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#28d5c395b3200c812950321637796aa4">EDaysOfWeek</a> { <br>
&nbsp;&nbsp;<b>SUNDAY</b> =  1, 
<b>MONDAY</b>, 
<b>TUESDAY</b>, 
<b>WEDNESDAY</b>, 
<br>
&nbsp;&nbsp;<b>THURSDAY</b>, 
<b>FRIDAY</b>, 
<b>SATURDAY</b>
<br>
 }</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Useful constant for days of week.  <a href="classCalendar.html#28d5c395b3200c812950321637796aa4">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#26f00f1507a3dd73ba4553b6e04d8313">EMonths</a> { <br>
&nbsp;&nbsp;<b>JANUARY</b>, 
<b>FEBRUARY</b>, 
<b>MARCH</b>, 
<b>APRIL</b>, 
<br>
&nbsp;&nbsp;<b>MAY</b>, 
<b>JUNE</b>, 
<b>JULY</b>, 
<b>AUGUST</b>, 
<br>
&nbsp;&nbsp;<b>SEPTEMBER</b>, 
<b>OCTOBER</b>, 
<b>NOVEMBER</b>, 
<b>DECEMBER</b>, 
<br>
&nbsp;&nbsp;<b>UNDECIMBER</b>
<br>
 }</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Useful constants for month.  <a href="classCalendar.html#26f00f1507a3dd73ba4553b6e04d8313">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#b68462e2ea07c44eaa88265c8c80ed28">EAmpm</a> { <b>AM</b>, 
<b>PM</b>
 }</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Useful constants for hour in 12-hour clock.  <a href="classCalendar.html#b68462e2ea07c44eaa88265c8c80ed28">More...</a><br></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#3d5422cc908f8666dd295f4f25a793e1">~Calendar</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">destructor  <a href="#3d5422cc908f8666dd295f4f25a793e1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classCalendar.html">Calendar</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#369327438e076e64c99ec1d669919957">clone</a> (void) const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create and return a polymorphic copy of this calendar.  <a href="#369327438e076e64c99ec1d669919957"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#6143feb5b6c2dd24b28b2ebf48dba1f4">getTime</a> (<a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets this Calendar's time as milliseconds.  <a href="#6143feb5b6c2dd24b28b2ebf48dba1f4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#4b918629b9bfd29e888f5ab933bd0b9b">setTime</a> (<a class="el" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a> date, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets this Calendar's current time with the given UDate.  <a href="#4b918629b9bfd29e888f5ab933bd0b9b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#2ba456b7b92207649c6356a3db858618">operator==</a> (const <a class="el" href="classCalendar.html">Calendar</a> &amp;that) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compares the equality of two <a class="el" href="classCalendar.html">Calendar</a> objects.  <a href="#2ba456b7b92207649c6356a3db858618"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#88def6824420dc0489f2f88b9ded197b">operator!=</a> (const <a class="el" href="classCalendar.html">Calendar</a> &amp;that) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compares the inequality of two <a class="el" href="classCalendar.html">Calendar</a> objects.  <a href="#88def6824420dc0489f2f88b9ded197b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a0e9ba0759c18a7b6f5ce059bdb298f1">isEquivalentTo</a> (const <a class="el" href="classCalendar.html">Calendar</a> &amp;other) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns TRUE if the given <a class="el" href="classCalendar.html">Calendar</a> object is equivalent to this one.  <a href="#a0e9ba0759c18a7b6f5ce059bdb298f1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#3ed5a35ec465912fed9e8ed90992cdc9">equals</a> (const <a class="el" href="classCalendar.html">Calendar</a> &amp;when, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compares the <a class="el" href="classCalendar.html">Calendar</a> time, whereas <a class="el" href="classCalendar.html#2ba456b7b92207649c6356a3db858618">Calendar::operator==</a> compares the equality of <a class="el" href="classCalendar.html">Calendar</a> objects.  <a href="#3ed5a35ec465912fed9e8ed90992cdc9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#46f47197740b6ea80d81743ec3af3fab">before</a> (const <a class="el" href="classCalendar.html">Calendar</a> &amp;when, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true if this Calendar's current time is before "when"'s current time.  <a href="#46f47197740b6ea80d81743ec3af3fab"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#2ca85aeccfad737241317ad4a3571926">after</a> (const <a class="el" href="classCalendar.html">Calendar</a> &amp;when, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns true if this Calendar's current time is after "when"'s current time.  <a href="#2ca85aeccfad737241317ad4a3571926"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#4c480d382487d1f05b717dbd310515b3">add</a> (<a class="el" href="classCalendar.html#9aa66a9e8030312d5314e306c713913e">EDateFields</a> field, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> amount, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">UDate Arithmetic function.  <a href="#4c480d382487d1f05b717dbd310515b3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#743c11819bc8823ece3d7ee9260f174f">add</a> (<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> amount, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">UDate Arithmetic function.  <a href="#743c11819bc8823ece3d7ee9260f174f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#98e5b80bb733a6e8dec95b8ac0225a68">roll</a> (<a class="el" href="classCalendar.html#9aa66a9e8030312d5314e306c713913e">EDateFields</a> field, <a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> up, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Time Field Rolling function.  <a href="#98e5b80bb733a6e8dec95b8ac0225a68"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#1a95a3e423d17c1f415bc39b75cf77d2">roll</a> (<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> up, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Time Field Rolling function.  <a href="#1a95a3e423d17c1f415bc39b75cf77d2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#bff9f8c5e0b0206b9312e64a0ff89666">roll</a> (<a class="el" href="classCalendar.html#9aa66a9e8030312d5314e306c713913e">EDateFields</a> field, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> amount, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Time Field Rolling function.  <a href="#bff9f8c5e0b0206b9312e64a0ff89666"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#5d5aa7348953398da594654c3edbb681">roll</a> (<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> amount, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Time Field Rolling function.  <a href="#5d5aa7348953398da594654c3edbb681"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#6cf48d67d31ee09a3ed5c6064a64e4cd">fieldDifference</a> (<a class="el" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a> when, <a class="el" href="classCalendar.html#9aa66a9e8030312d5314e306c713913e">EDateFields</a> field, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the difference between the given time and the time this calendar object is set to.  <a href="#6cf48d67d31ee09a3ed5c6064a64e4cd"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#1a735b5e3c69f937e58dbb58c1ec50bd">fieldDifference</a> (<a class="el" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a> when, <a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the difference between the given time and the time this calendar object is set to.  <a href="#1a735b5e3c69f937e58dbb58c1ec50bd"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#f018c3a61cec42d055e320c1ff1d4292">adoptTimeZone</a> (<a class="el" href="classTimeZone.html">TimeZone</a> *value)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the calendar's time zone to be the one passed in.  <a href="#f018c3a61cec42d055e320c1ff1d4292"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#26bbb988eecad26152a26c5b6aa183ef">setTimeZone</a> (const <a class="el" href="classTimeZone.html">TimeZone</a> &amp;zone)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the calendar's time zone to be the same as the one passed in.  <a href="#26bbb988eecad26152a26c5b6aa183ef"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="el" href="classTimeZone.html">TimeZone</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#1ef5c22031d5899ffbedc7032d892087">getTimeZone</a> (void) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a reference to the time zone owned by this calendar.  <a href="#1ef5c22031d5899ffbedc7032d892087"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classTimeZone.html">TimeZone</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#0d42eafa6a420463fa981aa34a3a6150">orphanTimeZone</a> (void)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the time zone owned by this calendar.  <a href="#0d42eafa6a420463fa981aa34a3a6150"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#59694bdc5ac373f5fea8cdefd1311af8">inDaylightTime</a> (<a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Queries if the current date for this <a class="el" href="classCalendar.html">Calendar</a> is in Daylight Savings Time.  <a href="#59694bdc5ac373f5fea8cdefd1311af8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#7d4084cd44bc04497309e01c161f45ee">setLenient</a> (<a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> lenient)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Specifies whether or not date/time interpretation is to be lenient.  <a href="#7d4084cd44bc04497309e01c161f45ee"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#183d1b14292fe017fc206a80e6734db9">isLenient</a> (void) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Tells whether date/time interpretation is to be lenient.  <a href="#183d1b14292fe017fc206a80e6734db9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#b7df065eb046cd863eb201fc56b0429e">setFirstDayOfWeek</a> (<a class="el" href="classCalendar.html#28d5c395b3200c812950321637796aa4">EDaysOfWeek</a> value)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets what the first day of the week is; e.g., Sunday in US, Monday in France.  <a href="#b7df065eb046cd863eb201fc56b0429e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#d304c4129e472a106b4027ac78aa09b8">setFirstDayOfWeek</a> (<a class="el" href="ucal_8h.html#62d9fe551bd48e4141fce52b917119a4">UCalendarDaysOfWeek</a> value)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets what the first day of the week is; e.g., Sunday in US, Monday in France.  <a href="#d304c4129e472a106b4027ac78aa09b8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classCalendar.html#28d5c395b3200c812950321637796aa4">EDaysOfWeek</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#0a8bdc7ffb9d13e948ef0268dbdddc26">getFirstDayOfWeek</a> (void) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets what the first day of the week is; e.g., Sunday in US, Monday in France.  <a href="#0a8bdc7ffb9d13e948ef0268dbdddc26"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="ucal_8h.html#62d9fe551bd48e4141fce52b917119a4">UCalendarDaysOfWeek</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#2dfd3c9d1f24ced7a97029116305e647">getFirstDayOfWeek</a> (<a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets what the first day of the week is; e.g., Sunday in US, Monday in France.  <a href="#2dfd3c9d1f24ced7a97029116305e647"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#d3c13b061c7ed103d6b31ac08a9026a6">setMinimalDaysInFirstWeek</a> (<a class="el" href="pwin32_8h.html#ba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> value)</td></tr>

<tr><td class="mdescLeft">&nbsp;</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="#d3c13b061c7ed103d6b31ac08a9026a6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#ba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#c39fb4eea23b9ea863ac3119913a3322">getMinimalDaysInFirstWeek</a> (void) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</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="#c39fb4eea23b9ea863ac3119913a3322"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#c811d541e462613ebda9baa0227b05f3">getMinimum</a> (<a class="el" href="classCalendar.html#9aa66a9e8030312d5314e306c713913e">EDateFields</a> field) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the minimum value for the given time field.  <a href="#c811d541e462613ebda9baa0227b05f3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#f3125fb57c1b0c4190af106d9183dd5c">getMinimum</a> (<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the minimum value for the given time field.  <a href="#f3125fb57c1b0c4190af106d9183dd5c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#8dbd1884d23f0605a358fa28d4f00747">getMaximum</a> (<a class="el" href="classCalendar.html#9aa66a9e8030312d5314e306c713913e">EDateFields</a> field) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the maximum value for the given time field.  <a href="#8dbd1884d23f0605a358fa28d4f00747"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#0848fc39e245ee98a7835590fabd21ea">getMaximum</a> (<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the maximum value for the given time field.  <a href="#0848fc39e245ee98a7835590fabd21ea"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#758d1a470ca26200ea65f522b8198d22">getGreatestMinimum</a> (<a class="el" href="classCalendar.html#9aa66a9e8030312d5314e306c713913e">EDateFields</a> field) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the highest minimum value for the given field if varies.  <a href="#758d1a470ca26200ea65f522b8198d22"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#8dce965c7f3c898fc904a706aa854de1">getGreatestMinimum</a> (<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the highest minimum value for the given field if varies.  <a href="#8dce965c7f3c898fc904a706aa854de1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#03aba5e65903e7ea949f2e58f8a949c3">getLeastMaximum</a> (<a class="el" href="classCalendar.html#9aa66a9e8030312d5314e306c713913e">EDateFields</a> field) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the lowest maximum value for the given field if varies.  <a href="#03aba5e65903e7ea949f2e58f8a949c3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#4af6dbc483676943668cb79101a906f8">getLeastMaximum</a> (<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the lowest maximum value for the given field if varies.  <a href="#4af6dbc483676943668cb79101a906f8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#4e67d27df4e1579ce031de5e6ea05a2e">getActualMinimum</a> (<a class="el" href="classCalendar.html#9aa66a9e8030312d5314e306c713913e">EDateFields</a> field, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the minimum value that this field could have, given the current date.  <a href="#4e67d27df4e1579ce031de5e6ea05a2e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#85f935097bf72022f2c7a30c10c3f966">getActualMinimum</a> (<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the minimum value that this field could have, given the current date.  <a href="#85f935097bf72022f2c7a30c10c3f966"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#62c65424820ca64e850b346212eb35a7">getActualMaximum</a> (<a class="el" href="classCalendar.html#9aa66a9e8030312d5314e306c713913e">EDateFields</a> field, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the maximum value that this field could have, given the current date.  <a href="#62c65424820ca64e850b346212eb35a7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#1141e519ee7105defd103a5782e8f226">getActualMaximum</a> (<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the maximum value that this field could have, given the current date.  <a href="#1141e519ee7105defd103a5782e8f226"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#0e86c32f3c5e1e45420d1b57fc5c369e">get</a> (<a class="el" href="classCalendar.html#9aa66a9e8030312d5314e306c713913e">EDateFields</a> field, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the value for a given time field.  <a href="#0e86c32f3c5e1e45420d1b57fc5c369e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#473c5a767a72a2c390e2ffc6b971dbd9">get</a> (<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the value for a given time field.  <a href="#473c5a767a72a2c390e2ffc6b971dbd9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#efced85e4c356370381579e90bc8c893">isSet</a> (<a class="el" href="classCalendar.html#9aa66a9e8030312d5314e306c713913e">EDateFields</a> field) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Determines if the given time field has a value set.  <a href="#efced85e4c356370381579e90bc8c893"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#b5411175095ca8a463d16c9609cfd1c1">isSet</a> (<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Determines if the given time field has a value set.  <a href="#b5411175095ca8a463d16c9609cfd1c1"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#98ba908ffc6a88d6566983d4f95245df">set</a> (<a class="el" href="classCalendar.html#9aa66a9e8030312d5314e306c713913e">EDateFields</a> field, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> value)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the given time field with the given value.  <a href="#98ba908ffc6a88d6566983d4f95245df"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#558039a413ea1e1a9bfd47375d12e4ea">set</a> (<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> value)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the given time field with the given value.  <a href="#558039a413ea1e1a9bfd47375d12e4ea"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#0de0f9d494dc1a347c64560c73609b09">set</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> year, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> month, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> date)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the values for the fields YEAR, MONTH, and DATE.  <a href="#0de0f9d494dc1a347c64560c73609b09"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#cea9496f6dbb52f8682abe3c99c7c6c4">set</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> year, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> month, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> date, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> hour, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> minute)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the values for the fields YEAR, MONTH, DATE, HOUR_OF_DAY, and MINUTE.  <a href="#cea9496f6dbb52f8682abe3c99c7c6c4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#53bae01ea06605c7506d9956db1ef165">set</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> year, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> month, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> date, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> hour, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> minute, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> second)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the values for the fields YEAR, MONTH, DATE, HOUR_OF_DAY, MINUTE, and SECOND.  <a href="#53bae01ea06605c7506d9956db1ef165"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#7e0409b7750ff09b7275a061bd6ae816">clear</a> (void)</td></tr>

<tr><td class="mdescLeft">&nbsp;</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="#7e0409b7750ff09b7275a061bd6ae816"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#c62813e912368d76cec3fccfba231108">clear</a> (<a class="el" href="classCalendar.html#9aa66a9e8030312d5314e306c713913e">EDateFields</a> field)</td></tr>

<tr><td class="mdescLeft">&nbsp;</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="#c62813e912368d76cec3fccfba231108"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ad6c0532f6b52c5feb288615e3e2b681">clear</a> (<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field)</td></tr>

<tr><td class="mdescLeft">&nbsp;</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="#ad6c0532f6b52c5feb288615e3e2b681"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="utypes_8h.html#22af10545208a455a6e884008df48e9f">UClassID</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#13e235c4396d92fc3b129d6a07e6076a">getDynamicClassID</a> (void) const =0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a unique class ID POLYMORPHICALLY.  <a href="#13e235c4396d92fc3b129d6a07e6076a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#28aba836bc6bab0daf7428355e48ccac">getType</a> () const=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the resource key string used for this calendar type.  <a href="#28aba836bc6bab0daf7428355e48ccac"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#010c5db4934c67c9d714f5bb419eac15">haveDefaultCentury</a> () const=0</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#8090ff798d1c378d575fde800a99e186">defaultCenturyStart</a> () const=0</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#44814612cc87169430a20ea635d1043e">defaultCenturyStartYear</a> () const=0</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classLocale.html">Locale</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#c6f6102fef80597ce73a9ff8cdd12782">getLocale</a> (<a class="el" href="uloc_8h.html#df053345d343f8d82ae080f7a5871f34">ULocDataLocaleType</a> type, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the locale for this calendar object.  <a href="#c6f6102fef80597ce73a9ff8cdd12782"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#9ea68bc6a402e8f2ed57578a37364efe">getLocaleID</a> (<a class="el" href="uloc_8h.html#df053345d343f8d82ae080f7a5871f34">ULocDataLocaleType</a> type, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the locale for this calendar object.  <a href="#9ea68bc6a402e8f2ed57578a37364efe"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classCalendar.html">Calendar</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#1872a90e5aaae1cfe3e826248fa9b497">createInstance</a> (<a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;success)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a <a class="el" href="classCalendar.html">Calendar</a> using the default timezone and locale.  <a href="#1872a90e5aaae1cfe3e826248fa9b497"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classCalendar.html">Calendar</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#d1991655c5d12be8f321026c8b86e33a">createInstance</a> (<a class="el" href="classTimeZone.html">TimeZone</a> *zoneToAdopt, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;success)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a <a class="el" href="classCalendar.html">Calendar</a> using the given timezone and the default locale.  <a href="#d1991655c5d12be8f321026c8b86e33a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classCalendar.html">Calendar</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#175df133c28993f82204a45f606cf6dd">createInstance</a> (const <a class="el" href="classTimeZone.html">TimeZone</a> &amp;zone, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;success)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a <a class="el" href="classCalendar.html">Calendar</a> using the given timezone and the default locale.  <a href="#175df133c28993f82204a45f606cf6dd"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classCalendar.html">Calendar</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#60ba2c6b6de35fb26560b796d726d9b3">createInstance</a> (const <a class="el" href="classLocale.html">Locale</a> &amp;aLocale, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;success)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a <a class="el" href="classCalendar.html">Calendar</a> using the default timezone and the given locale.  <a href="#60ba2c6b6de35fb26560b796d726d9b3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classCalendar.html">Calendar</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#4e58744fcd29c45b18826b9b7ebf6a3b">createInstance</a> (<a class="el" href="classTimeZone.html">TimeZone</a> *zoneToAdopt, const <a class="el" href="classLocale.html">Locale</a> &amp;aLocale, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;success)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Creates a <a class="el" href="classCalendar.html">Calendar</a> using the given timezone and given locale.  <a href="#4e58744fcd29c45b18826b9b7ebf6a3b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classCalendar.html">Calendar</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#264ca0cd356b7431080d4de4078bb905">createInstance</a> (const <a class="el" href="classTimeZone.html">TimeZone</a> &amp;zoneToAdopt, const <a class="el" href="classLocale.html">Locale</a> &amp;aLocale, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;success)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets a <a class="el" href="classCalendar.html">Calendar</a> using the given timezone and given locale.  <a href="#264ca0cd356b7431080d4de4078bb905"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static const <a class="el" href="classLocale.html">Locale</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#6b87567eb37ad5c07c17e6a2c46d257e">getAvailableLocales</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> &amp;count)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a list of the locales for which Calendars are installed.  <a href="#6b87567eb37ad5c07c17e6a2c46d257e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ab1712ccf7b261332a4d14c71dc6994e">getNow</a> (void)</td></tr>

<tr><td class="mdescLeft">&nbsp;</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="#ab1712ccf7b261332a4d14c71dc6994e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="classStringEnumeration.html">StringEnumeration</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#dc0142552cd2e3fa56ed7a800edf4f2d">getAvailableLocales</a> (void)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return a <a class="el" href="classStringEnumeration.html">StringEnumeration</a> over the locales available at the time of the call, including registered locales.  <a href="#dc0142552cd2e3fa56ed7a800edf4f2d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="umisc_8h.html#b5905d79ed3b979840cee1d5fd48b4fb">URegistryKey</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#8118ce78632ea4a749e15d24a5f9560a">registerFactory</a> (ICUServiceFactory *toAdopt, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Register a new <a class="el" href="classCalendar.html">Calendar</a> factory.  <a href="#8118ce78632ea4a749e15d24a5f9560a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#397c5c9c48463610bc87fcb84ac7a855">unregister</a> (<a class="el" href="umisc_8h.html#b5905d79ed3b979840cee1d5fd48b4fb">URegistryKey</a> key, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Unregister a previously-registered CalendarFactory using the key returned from the register call.  <a href="#397c5c9c48463610bc87fcb84ac7a855"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ed3b40eef888db3a26315f3a0c37b076">ELimitType</a> { <br>
&nbsp;&nbsp;<b>UCAL_LIMIT_MINIMUM</b> =  0, 
<b>UCAL_LIMIT_GREATEST_MINIMUM</b>, 
<b>UCAL_LIMIT_LEAST_MAXIMUM</b>, 
<b>UCAL_LIMIT_MAXIMUM</b>, 
<br>
&nbsp;&nbsp;<b>UCAL_LIMIT_COUNT</b>
<br>
 }</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Limit enums.  <a href="classCalendar.html#ed3b40eef888db3a26315f3a0c37b076">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom">{ <a class="el" href="classCalendar.html#09f1d3c37ad2de879062bce50031bba9629ecd3850c09395432c5d86b6339951">kResolveSTOP</a> =  -1, 
<a class="el" href="classCalendar.html#09f1d3c37ad2de879062bce50031bba9f9aab2d453c5af0e81408c797ea39395">kResolveRemap</a> =  32
 }</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Values for field resolution tables.  <a href="classCalendar.html#09f1d3c37ad2de879062bce50031bba9">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom">{ <b>kUnset</b> =  0, 
<b>kInternallySet</b>, 
<b>kMinimumUserStamp</b>
 }</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Special values of stamp[].  <a href="classCalendar.html#e142ef12738e559a0f537e0db3d6d0ae">More...</a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#1807a722455fad6331a8a064273e6e20">Calendar</a> (<a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;success)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a <a class="el" href="classCalendar.html">Calendar</a> with the default time zone as returned by TimeZone::createInstance(), and the default locale.  <a href="#1807a722455fad6331a8a064273e6e20"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#c96446048cf739bc1d280cdc65a23db0">Calendar</a> (const <a class="el" href="classCalendar.html">Calendar</a> &amp;source)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copy constructor.  <a href="#c96446048cf739bc1d280cdc65a23db0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classCalendar.html">Calendar</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#c3bcbd2497e977c8324cc0b089879c3a">operator=</a> (const <a class="el" href="classCalendar.html">Calendar</a> &amp;right)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Default assignment operator.  <a href="#c3bcbd2497e977c8324cc0b089879c3a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#cf90dad3da55d4c3ffa5fdabf099b88c">Calendar</a> (<a class="el" href="classTimeZone.html">TimeZone</a> *zone, const <a class="el" href="classLocale.html">Locale</a> &amp;aLocale, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;success)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a <a class="el" href="classCalendar.html">Calendar</a> with the given time zone and locale.  <a href="#cf90dad3da55d4c3ffa5fdabf099b88c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#41eb1824078a3d3d371e97c0314e3eda">Calendar</a> (const <a class="el" href="classTimeZone.html">TimeZone</a> &amp;zone, const <a class="el" href="classLocale.html">Locale</a> &amp;aLocale, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;success)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructs a <a class="el" href="classCalendar.html">Calendar</a> with the given time zone and locale.  <a href="#41eb1824078a3d3d371e97c0314e3eda"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#cd6f300d2cc51b0d75b57d7be1347844">computeTime</a> (<a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Converts Calendar's time field values to GMT as milliseconds.  <a href="#cd6f300d2cc51b0d75b57d7be1347844"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#d0ff8705abd13f9c568fb4053e35e27b">computeFields</a> (<a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Converts GMT as milliseconds to time field values.  <a href="#d0ff8705abd13f9c568fb4053e35e27b"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#78b4d71f249d8845eb6a68e8e51a8824">getTimeInMillis</a> (<a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets this Calendar's current time as a long.  <a href="#78b4d71f249d8845eb6a68e8e51a8824"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#4e33e7f83e803fb6092e32b988fe5305">setTimeInMillis</a> (double millis, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets this Calendar's current time from the given long value.  <a href="#4e33e7f83e803fb6092e32b988fe5305"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#90717eab221acdd4d67b5d250c56247e">complete</a> (<a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</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="#90717eab221acdd4d67b5d250c56247e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#328734ebbe45c89bffb9cc08bc3bb64a">internalGet</a> (<a class="el" href="classCalendar.html#9aa66a9e8030312d5314e306c713913e">EDateFields</a> field) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the value for a given time field.  <a href="#328734ebbe45c89bffb9cc08bc3bb64a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#d97e2f9c066bb699c1fc5f06d971bfd0">internalGet</a> (<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> defaultValue) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the value for a given time field.  <a href="#d97e2f9c066bb699c1fc5f06d971bfd0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#2f4378a13ff4c9ddbaa0cda7650ba907">internalGet</a> (<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the value for a given time field.  <a href="#2f4378a13ff4c9ddbaa0cda7650ba907"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#1966488fa1954b3ef426c8dde4d341c6">internalSet</a> (<a class="el" href="classCalendar.html#9aa66a9e8030312d5314e306c713913e">EDateFields</a> field, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> value)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the value for a given time field.  <a href="#1966488fa1954b3ef426c8dde4d341c6"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#80318e4604dde732ac89aa81311fbf68">internalSet</a> (<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> value)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the value for a given time field.  <a href="#80318e4604dde732ac89aa81311fbf68"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#660d320b4e90c159bdf1bb8f0678818a">prepareGetActual</a> (<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> isMinimum, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Prepare this calendar for computing the actual minimum or maximum.  <a href="#660d320b4e90c159bdf1bb8f0678818a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#662cdb3b12015c19719bdbc55585d31a">handleGetLimit</a> (<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="classCalendar.html#ed3b40eef888db3a26315f3a0c37b076">ELimitType</a> limitType) const=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Subclass API for defining limits of different types.  <a href="#662cdb3b12015c19719bdbc55585d31a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#1cd511e205abab94a0a64c5ab2ed8348">getLimit</a> (<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="classCalendar.html#ed3b40eef888db3a26315f3a0c37b076">ELimitType</a> limitType) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return a limit for a field.  <a href="#1cd511e205abab94a0a64c5ab2ed8348"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#f001b12322da6f8cfdac4e5085fdc25f">handleComputeMonthStart</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> eyear, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> month, <a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> useMonth) const=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</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="#f001b12322da6f8cfdac4e5085fdc25f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#5ab678d6c94b74f1a9a958c7e032dfc8">handleGetMonthLength</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> extendedYear, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> month) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the number of days in the given month of the given extended year of this calendar system.  <a href="#5ab678d6c94b74f1a9a958c7e032dfc8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#815c3bc742697d5c26a4479d35835cf7">handleGetYearLength</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> eyear) const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the number of days in the given extended year of this calendar system.  <a href="#815c3bc742697d5c26a4479d35835cf7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#465fbc6494f2126892dcd694217697f4">handleGetExtendedYear</a> ()=0</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the extended year defined by the current fields.  <a href="#465fbc6494f2126892dcd694217697f4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#fd953ab4dc160ffc1b586c627c2c6ad9">handleComputeJulianDay</a> (<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> bestField)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Subclasses may override this.  <a href="#fd953ab4dc160ffc1b586c627c2c6ad9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#116247236ceda5f3d5424767d3c3c561">handleGetExtendedYearFromWeekFields</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> yearWoy, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> woy)</td></tr>

<tr><td class="mdescLeft">&nbsp;</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="#116247236ceda5f3d5424767d3c3c561"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#d32ba7616507ea59d2f59ee4a5f82fd7">computeJulianDay</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute the Julian day from fields.  <a href="#d32ba7616507ea59d2f59ee4a5f82fd7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#8c299396a6124e4cbdc9ef88642d0151">computeMillisInDay</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Compute the milliseconds in the day from the fields.  <a href="#8c299396a6124e4cbdc9ef88642d0151"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#17f77e9844d0fd3a86ba9c72e93d3e69">computeZoneOffset</a> (double millis, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> millisInDay, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;ec)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">This method can assume EXTENDED_YEAR has been set.  <a href="#17f77e9844d0fd3a86ba9c72e93d3e69"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#e2d514396d6fd85c25d9af9eb14b6215">newestStamp</a> (<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> start, <a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> end, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> bestSoFar) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Determine the best stamp in a range.  <a href="#e2d514396d6fd85c25d9af9eb14b6215"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#10718404e300cb17f0d678f7cd1cfa8e">resolveFields</a> (const <a class="el" href="calendar_8h.html#b9f6041161064a1936388e94e9788fe2">UFieldResolutionTable</a> *precedenceTable)</td></tr>

<tr><td class="mdescLeft">&nbsp;</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="#10718404e300cb17f0d678f7cd1cfa8e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const <a class="el" href="calendar_8h.html#b9f6041161064a1936388e94e9788fe2">UFieldResolutionTable</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ba94ee439aa8ba6566cf9a8d552f558b">getFieldResolutionTable</a> () const</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#3449f24abb996590a0df022367599a87">newerField</a> (<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> defaultField, <a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> alternateField) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the field that is newer, either defaultField, or alternateField.  <a href="#3449f24abb996590a0df022367599a87"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#d20fe42624b49a8a3fca48a06425c4f9">internalGetTime</a> (void) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the current time without recomputing.  <a href="#d20fe42624b49a8a3fca48a06425c4f9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#5066148dcb8ef8c6452b77a0d468344c">internalSetTime</a> (<a class="el" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a> time)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the current time without affecting flags or fields.  <a href="#5066148dcb8ef8c6452b77a0d468344c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#195fad36b525b46df8934aca312db35e">handleComputeFields</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> julianDay, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Subclasses may override this method to compute several fields specific to each calendar system.  <a href="#195fad36b525b46df8934aca312db35e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#cae1bcd164028e5988a6bd039afcb112">getGregorianYear</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the extended year on the Gregorian calendar as computed by <code>computeGregorianFields()</code>.  <a href="#cae1bcd164028e5988a6bd039afcb112"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#586bf0d3e2055664e3568610f93e68cd">getGregorianMonth</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the month (0-based) on the Gregorian calendar as computed by <code>computeGregorianFields()</code>.  <a href="#586bf0d3e2055664e3568610f93e68cd"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#e17908da7429850336de938d1282cfac">getGregorianDayOfYear</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the day of year (1-based) on the Gregorian calendar as computed by <code>computeGregorianFields()</code>.  <a href="#e17908da7429850336de938d1282cfac"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#6fb9a0381389a977331643db64b666a9">getGregorianDayOfMonth</a> () const</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the day of month (1-based) on the Gregorian calendar as computed by <code>computeGregorianFields()</code>.  <a href="#6fb9a0381389a977331643db64b666a9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#f70edee1a1cd9c275f6a6645ed5d65f8">getDefaultMonthInYear</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called by computeJulianDay.  <a href="#f70edee1a1cd9c275f6a6645ed5d65f8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#f38c7bae2e752d875425085a4a8113a0">getDefaultDayInMonth</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Called by computeJulianDay.  <a href="#f38c7bae2e752d875425085a4a8113a0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#faeebecc193f1fce5fb616462f4cc593">pinField</a> (<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</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="#faeebecc193f1fce5fb616462f4cc593"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#c06ba54055473049be6427add1fa99e0">weekNumber</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> desiredDay, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfPeriod, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfWeek)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the week number of a day, within a period.  <a href="#c06ba54055473049be6427add1fa99e0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#c37c766c0d2b648b451186132e19004a">weekNumber</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfPeriod, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> dayOfWeek)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the week number of a day, within a period.  <a href="#c37c766c0d2b648b451186132e19004a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#0a80956bea5e66c6cabd5485a98bd3bf">getLocalDOW</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">returns the local DOW, valid range 0.  <a href="#0a80956bea5e66c6cabd5485a98bd3bf"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Static Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="pwin32_8h.html#ba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#c80054059c45d5b2466c9aaab596ec1e">julianDayToDayOfWeek</a> (double julian)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Convert a quasi Julian date to the day of the week.  <a href="#c80054059c45d5b2466c9aaab596ec1e"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#6a3812124ab9abbd2a2f75b490a6b700">fIsTimeSet</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The flag which indicates if the current time is set in the calendar.  <a href="#6a3812124ab9abbd2a2f75b490a6b700"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#f19aa6e54f1220ffaf74d29071a6a589">fAreFieldsSet</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">True if the fields are in sync with the currently set time of this <a class="el" href="classCalendar.html">Calendar</a>.  <a href="#f19aa6e54f1220ffaf74d29071a6a589"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a198993ac97bca6bf80c2beb6657ed03">fAreAllFieldsSet</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">True if all of the fields have been set.  <a href="#a198993ac97bca6bf80c2beb6657ed03"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#223fef486de9d84635c8c2c887dee2b0">fAreFieldsVirtuallySet</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">True if all fields have been virtually set, but have not yet been computed.  <a href="#223fef486de9d84635c8c2c887dee2b0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#4aeb857bb89a74dbe261896e6b6f6681">fFields</a> [UCAL_FIELD_COUNT]</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The time fields containing values into which the millis is computed.  <a href="#4aeb857bb89a74dbe261896e6b6f6681"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#557209952758b6c128ddbc26955eb9dc">fIsSet</a> [UCAL_FIELD_COUNT]</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The flags which tell if a specified time field for the calendar is set.  <a href="#557209952758b6c128ddbc26955eb9dc"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#e1ab437231e76896ce2b7ccdbc106b0b">fStamp</a> [UCAL_FIELD_COUNT]</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Pseudo-time-stamps which specify when each field was set.  <a href="#e1ab437231e76896ce2b7ccdbc106b0b"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Static Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static const <a class="el" href="calendar_8h.html#b9f6041161064a1936388e94e9788fe2">UFieldResolutionTable</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#443112ee30874283a616c536293892c4">kDatePrecedence</a> []</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Precedence table for Dates.  <a href="#443112ee30874283a616c536293892c4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static const <a class="el" href="calendar_8h.html#b9f6041161064a1936388e94e9788fe2">UFieldResolutionTable</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#e116e0cc5a2c5af58f736fd2199ebcd0">kYearPrecedence</a> []</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Precedence table for Year.  <a href="#e116e0cc5a2c5af58f736fd2199ebcd0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static const <a class="el" href="calendar_8h.html#b9f6041161064a1936388e94e9788fe2">UFieldResolutionTable</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#253f88ce055abc651d4784634bb65635">kDOWPrecedence</a> []</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Precedence table for Day of Week.  <a href="#253f88ce055abc651d4784634bb65635"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Friends</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#7b8da58f16be9990955f60c930b4376d">CalendarFactory</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Multiple <a class="el" href="classCalendar.html">Calendar</a> Implementation.  <a href="#7b8da58f16be9990955f60c930b4376d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ef82cfadea9ca1be538463884884c8aa">CalendarService</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Multiple <a class="el" href="classCalendar.html">Calendar</a> Implementation.  <a href="#ef82cfadea9ca1be538463884884c8aa"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">class&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ffad2f956e924717f3de7ccd94224551">DefaultCalendarFactory</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Multiple <a class="el" href="classCalendar.html">Calendar</a> Implementation.  <a href="#ffad2f956e924717f3de7ccd94224551"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<code><a class="el" href="classCalendar.html">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>
(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>
Subclasses of <code><a class="el" href="classCalendar.html">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="classCalendar.html">Calendar</a></code> is <code><a class="el" href="classGregorianCalendar.html">GregorianCalendar</a></code>. Other subclasses could represent the various types of lunar calendars in use in many parts of the world.<p>
<b>NOTE</b>: (ICU 2.6) The subclass interface should be considered unstable<ul>
<li>it WILL change.</li></ul>
<p>
Like other locale-sensitive classes, <code><a class="el" href="classCalendar.html">Calendar</a></code> provides a static method, <code>createInstance</code>, for getting a generally useful object of this type. <code><a class="el" href="classCalendar.html">Calendar</a></code>'s <code>createInstance</code> method returns the appropriate <code><a class="el" href="classCalendar.html">Calendar</a></code> subclass whose time fields have been initialized with the current date and time:  <blockquote> <pre>
 <a class="el" href="classCalendar.html">Calendar</a> *rightNow = Calendar::createInstance(errCode);
 </pre>  </blockquote><p>
A <code><a class="el" href="classCalendar.html">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>
When computing a <code>UDate</code> from time fields, two 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), or there may be inconsistent information (such as "Tuesday, July 15, 1996" -- July 15, 1996 is actually a Monday).<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>
<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>
 <blockquote> <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>  </blockquote><p>
For the time of day:<p>
 <blockquote> <pre>
 HOUR_OF_DAY
 AM_PM + HOUR
 </pre>  </blockquote><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>
<b>Note:</b> There are certain possible ambiguities in interpretation of certain singular times, which are resolved in the following ways: <ol>
<li>
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>
</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="classDateFormat.html">DateFormat</a> to format dates.<p>
<code><a class="el" href="classCalendar.html">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>
<code><a class="el" href="classCalendar.html">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>
<dl compact><dt><b><a class="el" href="stable.html#_stable001994">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>

<p>
Definition at line <a class="el" href="calendar_8h-source.html#l00165">165</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="9aa66a9e8030312d5314e306c713913e"></a><!-- doxytag: member="Calendar::EDateFields" ref="9aa66a9e8030312d5314e306c713913e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classCalendar.html#9aa66a9e8030312d5314e306c713913e">Calendar::EDateFields</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Field IDs for date and time. 
<p>
Used to specify date/time fields. ERA is calendar specific. Example ranges given are for illustration only; see specific <a class="el" href="classCalendar.html">Calendar</a> subclasses for actual ranges. <dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000160">Deprecated:</a></b></dt><dd>ICU 2.6. Use C enum UCalendarDateFields defined in <a class="el" href="ucal_8h.html">ucal.h</a> </dd></dl>

<p>
Definition at line <a class="el" href="calendar_8h-source.html#l00174">174</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
</div>
</div><p>
<a class="anchor" name="28d5c395b3200c812950321637796aa4"></a><!-- doxytag: member="Calendar::EDaysOfWeek" ref="28d5c395b3200c812950321637796aa4" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classCalendar.html#28d5c395b3200c812950321637796aa4">Calendar::EDaysOfWeek</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Useful constant for days of week. 
<p>
Note: <a class="el" href="classCalendar.html">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. <dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000161">Deprecated:</a></b></dt><dd>ICU 2.6. Use C enum UCalendarDaysOfWeek defined in <a class="el" href="ucal_8h.html">ucal.h</a> </dd></dl>

<p>
Definition at line <a class="el" href="calendar_8h-source.html#l00206">206</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
</div>
</div><p>
<a class="anchor" name="26f00f1507a3dd73ba4553b6e04d8313"></a><!-- doxytag: member="Calendar::EMonths" ref="26f00f1507a3dd73ba4553b6e04d8313" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classCalendar.html#26f00f1507a3dd73ba4553b6e04d8313">Calendar::EMonths</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Useful constants for month. 
<p>
Note: <a class="el" href="classCalendar.html">Calendar</a> month is 0-based. <dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000162">Deprecated:</a></b></dt><dd>ICU 2.6. Use C enum UCalendarMonths defined in <a class="el" href="ucal_8h.html">ucal.h</a> </dd></dl>

<p>
Definition at line <a class="el" href="calendar_8h-source.html#l00222">222</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
</div>
</div><p>
<a class="anchor" name="b68462e2ea07c44eaa88265c8c80ed28"></a><!-- doxytag: member="Calendar::EAmpm" ref="b68462e2ea07c44eaa88265c8c80ed28" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classCalendar.html#b68462e2ea07c44eaa88265c8c80ed28">Calendar::EAmpm</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Useful constants for hour in 12-hour clock. 
<p>
Used in <a class="el" href="classGregorianCalendar.html">GregorianCalendar</a>. <dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000163">Deprecated:</a></b></dt><dd>ICU 2.6. Use C enum UCalendarAMPMs defined in <a class="el" href="ucal_8h.html">ucal.h</a> </dd></dl>

<p>
Definition at line <a class="el" href="calendar_8h-source.html#l00244">244</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
</div>
</div><p>
<a class="anchor" name="ed3b40eef888db3a26315f3a0c37b076"></a><!-- doxytag: member="Calendar::ELimitType" ref="ed3b40eef888db3a26315f3a0c37b076" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classCalendar.html#ed3b40eef888db3a26315f3a0c37b076">Calendar::ELimitType</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>
Definition at line <a class="el" href="calendar_8h-source.html#l01334">1334</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
</div>
</div><p>
<a class="anchor" name="09f1d3c37ad2de879062bce50031bba9"></a><!-- doxytag: member="Calendar::@13" ref="09f1d3c37ad2de879062bce50031bba9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">anonymous enum<code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Values for field resolution tables. 
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classCalendar.html#10718404e300cb17f0d678f7cd1cfa8e">resolveFields</a> </dd></dl>
<dl compact><dt><b>Internal:</b></dt><dd>Do not use. This API is for interal use only. </dd></dl>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="09f1d3c37ad2de879062bce50031bba9629ecd3850c09395432c5d86b6339951"></a><!-- doxytag: member="kResolveSTOP" ref="09f1d3c37ad2de879062bce50031bba9629ecd3850c09395432c5d86b6339951" args="" -->kResolveSTOP</em>&nbsp;</td><td>
Marker for end of resolve set (row or group). </td></tr>
<tr><td valign="top"><em><a class="anchor" name="09f1d3c37ad2de879062bce50031bba9f9aab2d453c5af0e81408c797ea39395"></a><!-- doxytag: member="kResolveRemap" ref="09f1d3c37ad2de879062bce50031bba9f9aab2d453c5af0e81408c797ea39395" args="" -->kResolveRemap</em>&nbsp;</td><td>
Value to be bitwised "ORed" against resolve table field values for remapping. 
<p>
Example: (UCAL_DATE | kResolveRemap) in 1st column will cause 'UCAL_DATE' to be returned, but will not examine the value of UCAL_DATE. </td></tr>
</table>
</dl>

<p>
Definition at line <a class="el" href="calendar_8h-source.html#l01484">1484</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
</div>
</div><p>
<a class="anchor" name="e142ef12738e559a0f537e0db3d6d0ae"></a><!-- doxytag: member="Calendar::@14" ref="e142ef12738e559a0f537e0db3d6d0ae" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">anonymous enum<code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Special values of stamp[]. 
<p>
<dl compact><dt><b>Stable:</b></dt><dd>ICU 2.0 </dd></dl>

<p>
Definition at line <a class="el" href="calendar_8h-source.html#l01634">1634</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="3d5422cc908f8666dd295f4f25a793e1"></a><!-- doxytag: member="Calendar::~Calendar" ref="3d5422cc908f8666dd295f4f25a793e1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual Calendar::~Calendar           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div><p>
<a class="anchor" name="1807a722455fad6331a8a064273e6e20"></a><!-- doxytag: member="Calendar::Calendar" ref="1807a722455fad6331a8a064273e6e20" args="(UErrorCode &amp;success)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Calendar::Calendar           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>success</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructs a <a class="el" href="classCalendar.html">Calendar</a> with the default time zone as returned by TimeZone::createInstance(), and the default locale. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>success</em>&nbsp;</td><td>Indicates the status of <a class="el" href="classCalendar.html">Calendar</a> object construction. Returns U_ZERO_ERROR if constructed successfully. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002043">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="c96446048cf739bc1d280cdc65a23db0"></a><!-- doxytag: member="Calendar::Calendar" ref="c96446048cf739bc1d280cdc65a23db0" args="(const Calendar &amp;source)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Calendar::Calendar           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCalendar.html">Calendar</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>source</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div><p>
<a class="anchor" name="cf90dad3da55d4c3ffa5fdabf099b88c"></a><!-- doxytag: member="Calendar::Calendar" ref="cf90dad3da55d4c3ffa5fdabf099b88c" args="(TimeZone *zone, const Locale &amp;aLocale, UErrorCode &amp;success)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Calendar::Calendar           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classTimeZone.html">TimeZone</a> *&nbsp;</td>
          <td class="paramname"> <em>zone</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classLocale.html">Locale</a> &amp;&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>success</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructs a <a class="el" href="classCalendar.html">Calendar</a> with the given time zone and locale. 
<p>
Clients are no longer responsible for deleting the given time zone object after it's adopted.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>zone</em>&nbsp;</td><td>The given time zone. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>aLocale</em>&nbsp;</td><td>The given locale. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>success</em>&nbsp;</td><td>Indicates the status of <a class="el" href="classCalendar.html">Calendar</a> object construction. Returns U_ZERO_ERROR if constructed successfully. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002046">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="41eb1824078a3d3d371e97c0314e3eda"></a><!-- doxytag: member="Calendar::Calendar" ref="41eb1824078a3d3d371e97c0314e3eda" args="(const TimeZone &amp;zone, const Locale &amp;aLocale, UErrorCode &amp;success)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Calendar::Calendar           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classTimeZone.html">TimeZone</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>zone</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classLocale.html">Locale</a> &amp;&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>success</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Constructs a <a class="el" href="classCalendar.html">Calendar</a> with the given time zone and locale. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>zone</em>&nbsp;</td><td>The given time zone. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>aLocale</em>&nbsp;</td><td>The given locale. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>success</em>&nbsp;</td><td>Indicates the status of <a class="el" href="classCalendar.html">Calendar</a> object construction. Returns U_ZERO_ERROR if constructed successfully. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002047">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

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

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

<p>
Implemented in <a class="el" href="classGregorianCalendar.html#6924d2c9812c8af226ca941b024c56aa">GregorianCalendar</a>.
</div>
</div><p>
<a class="anchor" name="1872a90e5aaae1cfe3e826248fa9b497"></a><!-- doxytag: member="Calendar::createInstance" ref="1872a90e5aaae1cfe3e826248fa9b497" args="(UErrorCode &amp;success)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classCalendar.html">Calendar</a>* Calendar::createInstance           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>success</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Creates a <a class="el" href="classCalendar.html">Calendar</a> using the default timezone and locale. 
<p>
Clients are responsible for deleting the object returned.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>success</em>&nbsp;</td><td>Indicates the success/failure of <a class="el" href="classCalendar.html">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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A <a class="el" href="classCalendar.html">Calendar</a> if created successfully. NULL otherwise. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable001997">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Referenced by <a class="el" href="calendar_8h-source.html#l02115">createInstance()</a>.
</div>
</div><p>
<a class="anchor" name="d1991655c5d12be8f321026c8b86e33a"></a><!-- doxytag: member="Calendar::createInstance" ref="d1991655c5d12be8f321026c8b86e33a" args="(TimeZone *zoneToAdopt, UErrorCode &amp;success)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCalendar.html">Calendar</a> * Calendar::createInstance           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classTimeZone.html">TimeZone</a> *&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>success</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inline, static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Creates a <a class="el" href="classCalendar.html">Calendar</a> using the given timezone and the default locale. 
<p>
The <a class="el" href="classCalendar.html">Calendar</a> takes ownership of zoneToAdopt; the client must not delete it.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>zoneToAdopt</em>&nbsp;</td><td>The given timezone to be adopted. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>success</em>&nbsp;</td><td>Indicates the success/failure of <a class="el" href="classCalendar.html">Calendar</a> creation. Filled in with U_ZERO_ERROR if created successfully, set to a failure result otherwise. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A <a class="el" href="classCalendar.html">Calendar</a> if created successfully. NULL otherwise. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable001998">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Definition at line <a class="el" href="calendar_8h-source.html#l02115">2115</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
<p>
References <a class="el" href="classCalendar.html#1872a90e5aaae1cfe3e826248fa9b497">createInstance()</a>, and <a class="el" href="classLocale.html#c12d6326f2d283f5643f6b6caacfe88c">Locale::getDefault()</a>.
</div>
</div><p>
<a class="anchor" name="175df133c28993f82204a45f606cf6dd"></a><!-- doxytag: member="Calendar::createInstance" ref="175df133c28993f82204a45f606cf6dd" args="(const TimeZone &amp;zone, UErrorCode &amp;success)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classCalendar.html">Calendar</a>* Calendar::createInstance           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classTimeZone.html">TimeZone</a> &amp;&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>success</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Creates a <a class="el" href="classCalendar.html">Calendar</a> using the given timezone and the default locale. 
<p>
The <a class="el" href="classTimeZone.html">TimeZone</a> is _not_ adopted; the client is still responsible for deleting it.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>zone</em>&nbsp;</td><td>The timezone. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>success</em>&nbsp;</td><td>Indicates the success/failure of <a class="el" href="classCalendar.html">Calendar</a> creation. Filled in with U_ZERO_ERROR if created successfully, set to a failure result otherwise. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A <a class="el" href="classCalendar.html">Calendar</a> if created successfully. NULL otherwise. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable001999">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="60ba2c6b6de35fb26560b796d726d9b3"></a><!-- doxytag: member="Calendar::createInstance" ref="60ba2c6b6de35fb26560b796d726d9b3" args="(const Locale &amp;aLocale, UErrorCode &amp;success)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classCalendar.html">Calendar</a>* Calendar::createInstance           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classLocale.html">Locale</a> &amp;&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>success</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Creates a <a class="el" href="classCalendar.html">Calendar</a> using the default timezone and the given locale. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>aLocale</em>&nbsp;</td><td>The given locale. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>success</em>&nbsp;</td><td>Indicates the success/failure of <a class="el" href="classCalendar.html">Calendar</a> creation. Filled in with U_ZERO_ERROR if created successfully, set to a failure result otherwise. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A <a class="el" href="classCalendar.html">Calendar</a> if created successfully. NULL otherwise. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002000">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="4e58744fcd29c45b18826b9b7ebf6a3b"></a><!-- doxytag: member="Calendar::createInstance" ref="4e58744fcd29c45b18826b9b7ebf6a3b" args="(TimeZone *zoneToAdopt, const Locale &amp;aLocale, UErrorCode &amp;success)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classCalendar.html">Calendar</a>* Calendar::createInstance           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classTimeZone.html">TimeZone</a> *&nbsp;</td>
          <td class="paramname"> <em>zoneToAdopt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classLocale.html">Locale</a> &amp;&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>success</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Creates a <a class="el" href="classCalendar.html">Calendar</a> using the given timezone and given locale. 
<p>
The <a class="el" href="classCalendar.html">Calendar</a> takes ownership of zoneToAdopt; the client must not delete it.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>zoneToAdopt</em>&nbsp;</td><td>The given timezone to be adopted. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>aLocale</em>&nbsp;</td><td>The given locale. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>success</em>&nbsp;</td><td>Indicates the success/failure of <a class="el" href="classCalendar.html">Calendar</a> creation. Filled in with U_ZERO_ERROR if created successfully, set to a failure result otherwise. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A <a class="el" href="classCalendar.html">Calendar</a> if created successfully. NULL otherwise. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002001">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="264ca0cd356b7431080d4de4078bb905"></a><!-- doxytag: member="Calendar::createInstance" ref="264ca0cd356b7431080d4de4078bb905" args="(const TimeZone &amp;zoneToAdopt, const Locale &amp;aLocale, UErrorCode &amp;success)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classCalendar.html">Calendar</a>* Calendar::createInstance           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classTimeZone.html">TimeZone</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>zoneToAdopt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classLocale.html">Locale</a> &amp;&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>success</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets a <a class="el" href="classCalendar.html">Calendar</a> using the given timezone and given locale. 
<p>
The <a class="el" href="classTimeZone.html">TimeZone</a> is _not_ adopted; the client is still responsible for deleting it.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>zoneToAdopt</em>&nbsp;</td><td>The given timezone to be adopted. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>aLocale</em>&nbsp;</td><td>The given locale. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>success</em>&nbsp;</td><td>Indicates the success/failure of <a class="el" href="classCalendar.html">Calendar</a> creation. Filled in with U_ZERO_ERROR if created successfully, set to a failure result otherwise. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A <a class="el" href="classCalendar.html">Calendar</a> if created successfully. NULL otherwise. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002002">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="6b87567eb37ad5c07c17e6a2c46d257e"></a><!-- doxytag: member="Calendar::getAvailableLocales" ref="6b87567eb37ad5c07c17e6a2c46d257e" args="(int32_t &amp;count)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classLocale.html">Locale</a>* Calendar::getAvailableLocales           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>count</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns a list of the locales for which Calendars are installed. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>count</em>&nbsp;</td><td>Number of locales returned. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>An array of <a class="el" href="classLocale.html">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 compact><dt><b><a class="el" href="stable.html#_stable002003">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="ab1712ccf7b261332a4d14c71dc6994e"></a><!-- doxytag: member="Calendar::getNow" ref="ab1712ccf7b261332a4d14c71dc6994e" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a> Calendar::getNow           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
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="return" compact><dt><b>Returns:</b></dt><dd>The current UTC time in milliseconds. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002004">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="6143feb5b6c2dd24b28b2ebf48dba1f4"></a><!-- doxytag: member="Calendar::getTime" ref="6143feb5b6c2dd24b28b2ebf48dba1f4" args="(UErrorCode &amp;status) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a> Calendar::getTime           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets this Calendar's time as milliseconds. 
<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 compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The current time in UTC (GMT) time, or zero if the operation failed. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002005">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Definition at line <a class="el" href="calendar_8h-source.html#l00379">379</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
</div>
</div><p>
<a class="anchor" name="4b918629b9bfd29e888f5ab933bd0b9b"></a><!-- doxytag: member="Calendar::setTime" ref="4b918629b9bfd29e888f5ab933bd0b9b" args="(UDate date, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Calendar::setTime           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&nbsp;</td>
          <td class="paramname"> <em>date</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets this Calendar's current time with the given UDate. 
<p>
The time specified should be in non-local UTC (GMT) time.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>date</em>&nbsp;</td><td>The given UDate in UTC (GMT) time. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</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>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002006">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Definition at line <a class="el" href="calendar_8h-source.html#l00391">391</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
</div>
</div><p>
<a class="anchor" name="2ba456b7b92207649c6356a3db858618"></a><!-- doxytag: member="Calendar::operator==" ref="2ba456b7b92207649c6356a3db858618" args="(const Calendar &amp;that) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> Calendar::operator==           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCalendar.html">Calendar</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>that</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Compares the equality of two <a class="el" href="classCalendar.html">Calendar</a> objects. 
<p>
Objects of different subclasses are considered unequal. This comparison is very exacting; two <a class="el" href="classCalendar.html">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="classCalendar.html#3ed5a35ec465912fed9e8ed90992cdc9">equals()</a> instead.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>that</em>&nbsp;</td><td>The <a class="el" href="classCalendar.html">Calendar</a> object to be compared with. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the given <a class="el" href="classCalendar.html">Calendar</a> is the same as this <a class="el" href="classCalendar.html">Calendar</a>; false otherwise. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002007">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="88def6824420dc0489f2f88b9ded197b"></a><!-- doxytag: member="Calendar::operator!=" ref="88def6824420dc0489f2f88b9ded197b" args="(const Calendar &amp;that) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> Calendar::operator!=           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCalendar.html">Calendar</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>that</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Compares the inequality of two <a class="el" href="classCalendar.html">Calendar</a> objects. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>that</em>&nbsp;</td><td>The <a class="el" href="classCalendar.html">Calendar</a> object to be compared with. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the given <a class="el" href="classCalendar.html">Calendar</a> is not the same as this <a class="el" href="classCalendar.html">Calendar</a>; false otherwise. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002008">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Definition at line <a class="el" href="calendar_8h-source.html#l00414">414</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
</div>
</div><p>
<a class="anchor" name="a0e9ba0759c18a7b6f5ce059bdb298f1"></a><!-- doxytag: member="Calendar::isEquivalentTo" ref="a0e9ba0759c18a7b6f5ce059bdb298f1" args="(const Calendar &amp;other) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> Calendar::isEquivalentTo           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCalendar.html">Calendar</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>other</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns TRUE if the given <a class="el" href="classCalendar.html">Calendar</a> object is equivalent to this one. 
<p>
An equivalent <a class="el" href="classCalendar.html">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="classCalendar.html#2ba456b7b92207649c6356a3db858618">operator==()</a> method to return TRUE, the other <a class="el" href="classCalendar.html">Calendar</a> must be set to the same time.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>other</em>&nbsp;</td><td>the <a class="el" href="classCalendar.html">Calendar</a> to be compared with this <a class="el" href="classCalendar.html">Calendar</a> </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002009">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

<p>
Reimplemented in <a class="el" href="classGregorianCalendar.html#0f9bac0ceff4b2132a7f720aee89b436">GregorianCalendar</a>.
</div>
</div><p>
<a class="anchor" name="3ed5a35ec465912fed9e8ed90992cdc9"></a><!-- doxytag: member="Calendar::equals" ref="3ed5a35ec465912fed9e8ed90992cdc9" args="(const Calendar &amp;when, UErrorCode &amp;status) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> Calendar::equals           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCalendar.html">Calendar</a> &amp;&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Compares the <a class="el" href="classCalendar.html">Calendar</a> time, whereas <a class="el" href="classCalendar.html#2ba456b7b92207649c6356a3db858618">Calendar::operator==</a> compares the equality of <a class="el" href="classCalendar.html">Calendar</a> objects. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>when</em>&nbsp;</td><td>The <a class="el" href="classCalendar.html">Calendar</a> to be compared with this <a class="el" href="classCalendar.html">Calendar</a>. Although this is a const parameter, the object may be modified physically (semantically const). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the current time of this <a class="el" href="classCalendar.html">Calendar</a> is equal to the time of <a class="el" href="classCalendar.html">Calendar</a> when; false otherwise. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002010">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="46f47197740b6ea80d81743ec3af3fab"></a><!-- doxytag: member="Calendar::before" ref="46f47197740b6ea80d81743ec3af3fab" args="(const Calendar &amp;when, UErrorCode &amp;status) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> Calendar::before           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCalendar.html">Calendar</a> &amp;&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns true if this Calendar's current time is before "when"'s current time. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>when</em>&nbsp;</td><td>The <a class="el" href="classCalendar.html">Calendar</a> to be compared with this <a class="el" href="classCalendar.html">Calendar</a>. Although this is a const parameter, the object may be modified physically (semantically const). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the current time of this <a class="el" href="classCalendar.html">Calendar</a> is before the time of <a class="el" href="classCalendar.html">Calendar</a> when; false otherwise. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002011">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="2ca85aeccfad737241317ad4a3571926"></a><!-- doxytag: member="Calendar::after" ref="2ca85aeccfad737241317ad4a3571926" args="(const Calendar &amp;when, UErrorCode &amp;status) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> Calendar::after           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCalendar.html">Calendar</a> &amp;&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns true if this Calendar's current time is after "when"'s current time. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>when</em>&nbsp;</td><td>The <a class="el" href="classCalendar.html">Calendar</a> to be compared with this <a class="el" href="classCalendar.html">Calendar</a>. Although this is a const parameter, the object may be modified physically (semantically const). </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the current time of this <a class="el" href="classCalendar.html">Calendar</a> is after the time of <a class="el" href="classCalendar.html">Calendar</a> when; false otherwise. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002012">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="4c480d382487d1f05b717dbd310515b3"></a><!-- doxytag: member="Calendar::add" ref="4c480d382487d1f05b717dbd310515b3" args="(EDateFields field, int32_t amount, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Calendar::add           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCalendar.html#9aa66a9e8030312d5314e306c713913e">EDateFields</a>&nbsp;</td>
          <td class="paramname"> <em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
UDate Arithmetic function. 
<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.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>Specifies which date field to modify. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>amount</em>&nbsp;</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 valign="top"></td><td valign="top"><em>status</em>&nbsp;</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>
</dl>
<dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000164">Deprecated:</a></b></dt><dd>ICU 2.6. use <a class="el" href="classCalendar.html#743c11819bc8823ece3d7ee9260f174f">add(UCalendarDateFields field, int32_t amount, UErrorCode&amp; status)</a> instead. </dd></dl>

</div>
</div><p>
<a class="anchor" name="743c11819bc8823ece3d7ee9260f174f"></a><!-- doxytag: member="Calendar::add" ref="743c11819bc8823ece3d7ee9260f174f" args="(UCalendarDateFields field, int32_t amount, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Calendar::add           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&nbsp;</td>
          <td class="paramname"> <em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
UDate Arithmetic function. 
<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.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>Specifies which date field to modify. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>amount</em>&nbsp;</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 valign="top"></td><td valign="top"><em>status</em>&nbsp;</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>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002013">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

</div>
</div><p>
<a class="anchor" name="98e5b80bb733a6e8dec95b8ac0225a68"></a><!-- doxytag: member="Calendar::roll" ref="98e5b80bb733a6e8dec95b8ac0225a68" args="(EDateFields field, UBool up, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Calendar::roll           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCalendar.html#9aa66a9e8030312d5314e306c713913e">EDateFields</a>&nbsp;</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#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Time Field Rolling function. 
<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; e.g., rolling the year up on "100 BC" will result in "99 BC", for Gregorian calendar. 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>
NOTE: Do not use this method -- use roll(EDateFields, int, UErrorCode&amp;) instead.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>The time field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>up</em>&nbsp;</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 valign="top"></td><td valign="top"><em>status</em>&nbsp;</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>
</dl>
<dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000165">Deprecated:</a></b></dt><dd>ICU 2.6. Use <a class="el" href="classCalendar.html#1a95a3e423d17c1f415bc39b75cf77d2">roll(UCalendarDateFields field, UBool up, UErrorCode&amp; status)</a> instead. </dd></dl>

<p>
Definition at line <a class="el" href="calendar_8h-source.html#l02130">2130</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
<p>
Referenced by <a class="el" href="calendar_8h-source.html#l02124">roll()</a>.
</div>
</div><p>
<a class="anchor" name="1a95a3e423d17c1f415bc39b75cf77d2"></a><!-- doxytag: member="Calendar::roll" ref="1a95a3e423d17c1f415bc39b75cf77d2" args="(UCalendarDateFields field, UBool up, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Calendar::roll           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&nbsp;</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#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Time Field Rolling function. 
<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; e.g., rolling the year up on "100 BC" will result in "99 BC", for Gregorian calendar. 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>
NOTE: Do not use this method -- use roll(UCalendarDateFields, int, UErrorCode&amp;) instead.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>The time field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>up</em>&nbsp;</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 valign="top"></td><td valign="top"><em>status</em>&nbsp;</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>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002014">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

<p>
Definition at line <a class="el" href="calendar_8h-source.html#l02124">2124</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
<p>
References <a class="el" href="calendar_8h-source.html#l02130">roll()</a>.
</div>
</div><p>
<a class="anchor" name="bff9f8c5e0b0206b9312e64a0ff89666"></a><!-- doxytag: member="Calendar::roll" ref="bff9f8c5e0b0206b9312e64a0ff89666" args="(EDateFields field, int32_t amount, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Calendar::roll           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCalendar.html#9aa66a9e8030312d5314e306c713913e">EDateFields</a>&nbsp;</td>
          <td class="paramname"> <em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Time Field Rolling function. 
<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; e.g., rolling the year by +1 on "100 BC" will result in "99 BC", for Gregorian calendar. 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>
The only difference between <a class="el" href="classCalendar.html#98e5b80bb733a6e8dec95b8ac0225a68">roll()</a> and <a class="el" href="classCalendar.html#4c480d382487d1f05b717dbd310515b3">add()</a> is that <a class="el" href="classCalendar.html#98e5b80bb733a6e8dec95b8ac0225a68">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="classCalendar.html#4c480d382487d1f05b717dbd310515b3">add()</a> does.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>The time field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>amount</em>&nbsp;</td><td>Indicates amount to roll. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</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>
</dl>
<dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000166">Deprecated:</a></b></dt><dd>ICU 2.6. Use <a class="el" href="classCalendar.html#5d5aa7348953398da594654c3edbb681">roll(UCalendarDateFields field, int32_t amount, UErrorCode&amp; status)</a> instead. </dd></dl>

<p>
Reimplemented in <a class="el" href="classGregorianCalendar.html#94eb045ce42c58b4f823e55f91bb695e">GregorianCalendar</a>.
</div>
</div><p>
<a class="anchor" name="5d5aa7348953398da594654c3edbb681"></a><!-- doxytag: member="Calendar::roll" ref="5d5aa7348953398da594654c3edbb681" args="(UCalendarDateFields field, int32_t amount, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Calendar::roll           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&nbsp;</td>
          <td class="paramname"> <em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Time Field Rolling function. 
<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; e.g., rolling the year by +1 on "100 BC" will result in "99 BC", for Gregorian calendar. 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>
The only difference between <a class="el" href="classCalendar.html#98e5b80bb733a6e8dec95b8ac0225a68">roll()</a> and <a class="el" href="classCalendar.html#4c480d382487d1f05b717dbd310515b3">add()</a> is that <a class="el" href="classCalendar.html#98e5b80bb733a6e8dec95b8ac0225a68">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="classCalendar.html#4c480d382487d1f05b717dbd310515b3">add()</a> does.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>The time field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>amount</em>&nbsp;</td><td>Indicates amount to roll. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</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>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002015">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

<p>
Reimplemented in <a class="el" href="classGregorianCalendar.html#356ca180f51ab33ce27f41fde8c43739">GregorianCalendar</a>.
</div>
</div><p>
<a class="anchor" name="6cf48d67d31ee09a3ed5c6064a64e4cd"></a><!-- doxytag: member="Calendar::fieldDifference" ref="6cf48d67d31ee09a3ed5c6064a64e4cd" args="(UDate when, EDateFields field, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::fieldDifference           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&nbsp;</td>
          <td class="paramname"> <em>when</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classCalendar.html#9aa66a9e8030312d5314e306c713913e">EDateFields</a>&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></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>
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>
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>
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>
Note: <code><a class="el" href="classCalendar.html#6cf48d67d31ee09a3ed5c6064a64e4cd">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 compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>when</em>&nbsp;</td><td>the date to compare this calendar's time to </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>the field in which to compute the result </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></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 compact><dt><b><a class="el" href="deprecated.html#_deprecated000167">Deprecated:</a></b></dt><dd>ICU 2.6. Use <a class="el" href="classCalendar.html#1a735b5e3c69f937e58dbb58c1ec50bd">fieldDifference(UDate when, UCalendarDateFields field, UErrorCode&amp; status)</a>. </dd></dl>

</div>
</div><p>
<a class="anchor" name="1a735b5e3c69f937e58dbb58c1ec50bd"></a><!-- doxytag: member="Calendar::fieldDifference" ref="1a735b5e3c69f937e58dbb58c1ec50bd" args="(UDate when, UCalendarDateFields field, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::fieldDifference           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&nbsp;</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#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></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>
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>
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>
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>
Note: <code><a class="el" href="classCalendar.html#6cf48d67d31ee09a3ed5c6064a64e4cd">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 compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>when</em>&nbsp;</td><td>the date to compare this calendar's time to </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>the field in which to compute the result </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></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 compact><dt><b><a class="el" href="stable.html#_stable002016">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

</div>
</div><p>
<a class="anchor" name="f018c3a61cec42d055e320c1ff1d4292"></a><!-- doxytag: member="Calendar::adoptTimeZone" ref="f018c3a61cec42d055e320c1ff1d4292" args="(TimeZone *value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Calendar::adoptTimeZone           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classTimeZone.html">TimeZone</a> *&nbsp;</td>
          <td class="paramname"> <em>value</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the calendar's time zone to be the one passed in. 
<p>
The <a class="el" href="classCalendar.html">Calendar</a> takes ownership of the <a class="el" href="classTimeZone.html">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 compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>The given time zone. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002017">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="26bbb988eecad26152a26c5b6aa183ef"></a><!-- doxytag: member="Calendar::setTimeZone" ref="26bbb988eecad26152a26c5b6aa183ef" args="(const TimeZone &amp;zone)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Calendar::setTimeZone           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classTimeZone.html">TimeZone</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>zone</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the calendar's time zone to be the same as the one passed in. 
<p>
The <a class="el" href="classTimeZone.html">TimeZone</a> passed in is _not_ adopted; the client is still responsible for deleting it.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>zone</em>&nbsp;</td><td>The given time zone. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002018">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="1ef5c22031d5899ffbedc7032d892087"></a><!-- doxytag: member="Calendar::getTimeZone" ref="1ef5c22031d5899ffbedc7032d892087" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classTimeZone.html">TimeZone</a>&amp; Calendar::getTimeZone           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns a reference to the time zone owned by this calendar. 
<p>
The returned reference is only valid until clients make another call to adoptTimeZone or setTimeZone, or this <a class="el" href="classCalendar.html">Calendar</a> is destroyed.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The time zone object associated with this calendar. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002019">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="0d42eafa6a420463fa981aa34a3a6150"></a><!-- doxytag: member="Calendar::orphanTimeZone" ref="0d42eafa6a420463fa981aa34a3a6150" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classTimeZone.html">TimeZone</a>* Calendar::orphanTimeZone           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the time zone owned by this calendar. 
<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="classCalendar.html">Calendar</a> is the default <a class="el" href="classTimeZone.html">TimeZone</a> as returned by <a class="el" href="classTimeZone.html#eb13a4845ba186dc4c1151f4cd3de0a6">TimeZone::createDefault()</a>.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The time zone object which was associated with this calendar. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002020">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="59694bdc5ac373f5fea8cdefd1311af8"></a><!-- doxytag: member="Calendar::inDaylightTime" ref="59694bdc5ac373f5fea8cdefd1311af8" args="(UErrorCode &amp;status) const=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> Calendar::inDaylightTime           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Queries if the current date for this <a class="el" href="classCalendar.html">Calendar</a> is in Daylight Savings Time. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>Fill-in parameter which receives the status of this operation. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the current date for this <a class="el" href="classCalendar.html">Calendar</a> is in Daylight Savings Time, false, otherwise. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002021">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Implemented in <a class="el" href="classGregorianCalendar.html#0e0ddc043bc1a35a85245ebd84fdac77">GregorianCalendar</a>.
</div>
</div><p>
<a class="anchor" name="7d4084cd44bc04497309e01c161f45ee"></a><!-- doxytag: member="Calendar::setLenient" ref="7d4084cd44bc04497309e01c161f45ee" args="(UBool lenient)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Calendar::setLenient           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td>
          <td class="paramname"> <em>lenient</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Specifies whether or not date/time interpretation is to be lenient. 
<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 compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>lenient</em>&nbsp;</td><td>True specifies date/time interpretation to be lenient.</td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classDateFormat.html#6b0da8c6169b80f5adafc9099ed29b11">DateFormat::setLenient</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002022">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="183d1b14292fe017fc206a80e6734db9"></a><!-- doxytag: member="Calendar::isLenient" ref="183d1b14292fe017fc206a80e6734db9" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> Calendar::isLenient           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Tells whether date/time interpretation is to be lenient. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True tells that date/time interpretation is to be lenient. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002023">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="b7df065eb046cd863eb201fc56b0429e"></a><!-- doxytag: member="Calendar::setFirstDayOfWeek" ref="b7df065eb046cd863eb201fc56b0429e" args="(EDaysOfWeek value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Calendar::setFirstDayOfWeek           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCalendar.html#28d5c395b3200c812950321637796aa4">EDaysOfWeek</a>&nbsp;</td>
          <td class="paramname"> <em>value</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></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 compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>The given first day of the week. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000168">Deprecated:</a></b></dt><dd>ICU 2.6. Use <a class="el" href="classCalendar.html#d304c4129e472a106b4027ac78aa09b8">setFirstDayOfWeek(UCalendarDaysOfWeek value)</a> instead. </dd></dl>

</div>
</div><p>
<a class="anchor" name="d304c4129e472a106b4027ac78aa09b8"></a><!-- doxytag: member="Calendar::setFirstDayOfWeek" ref="d304c4129e472a106b4027ac78aa09b8" args="(UCalendarDaysOfWeek value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Calendar::setFirstDayOfWeek           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#62d9fe551bd48e4141fce52b917119a4">UCalendarDaysOfWeek</a>&nbsp;</td>
          <td class="paramname"> <em>value</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></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 compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>The given first day of the week. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002024">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

</div>
</div><p>
<a class="anchor" name="0a8bdc7ffb9d13e948ef0268dbdddc26"></a><!-- doxytag: member="Calendar::getFirstDayOfWeek" ref="0a8bdc7ffb9d13e948ef0268dbdddc26" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCalendar.html#28d5c395b3200c812950321637796aa4">EDaysOfWeek</a> Calendar::getFirstDayOfWeek           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> 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="return" compact><dt><b>Returns:</b></dt><dd>The first day of the week. </dd></dl>
<dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000169">Deprecated:</a></b></dt><dd>ICU 2.6 use the overload with error code </dd></dl>

</div>
</div><p>
<a class="anchor" name="2dfd3c9d1f24ced7a97029116305e647"></a><!-- doxytag: member="Calendar::getFirstDayOfWeek" ref="2dfd3c9d1f24ced7a97029116305e647" args="(UErrorCode &amp;status) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ucal_8h.html#62d9fe551bd48e4141fce52b917119a4">UCalendarDaysOfWeek</a> Calendar::getFirstDayOfWeek           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> 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 compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>error code </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The first day of the week. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002025">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

</div>
</div><p>
<a class="anchor" name="d3c13b061c7ed103d6b31ac08a9026a6"></a><!-- doxytag: member="Calendar::setMinimalDaysInFirstWeek" ref="d3c13b061c7ed103d6b31ac08a9026a6" args="(uint8_t value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Calendar::setMinimalDaysInFirstWeek           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#ba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&nbsp;</td>
          <td class="paramname"> <em>value</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></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>
If it must be a full week, use value 7.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>The given minimal days required in the first week of the year. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002026">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="c39fb4eea23b9ea863ac3119913a3322"></a><!-- doxytag: member="Calendar::getMinimalDaysInFirstWeek" ref="c39fb4eea23b9ea863ac3119913a3322" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#ba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> Calendar::getMinimalDaysInFirstWeek           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> 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>
If the minimal days required must be a full week, getMinimalDaysInFirstWeek returns 7.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The minimal days required in the first week of the year. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002027">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="c811d541e462613ebda9baa0227b05f3"></a><!-- doxytag: member="Calendar::getMinimum" ref="c811d541e462613ebda9baa0227b05f3" args="(EDateFields field) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::getMinimum           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCalendar.html#9aa66a9e8030312d5314e306c713913e">EDateFields</a>&nbsp;</td>
          <td class="paramname"> <em>field</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the minimum value for the given time field. 
<p>
e.g., for Gregorian DAY_OF_MONTH, 1.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>The given time field. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The minimum value for the given time field. </dd></dl>
<dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000170">Deprecated:</a></b></dt><dd>ICU 2.6. Use getMinimum(UCalendarDateFields field) instead. </dd></dl>

</div>
</div><p>
<a class="anchor" name="f3125fb57c1b0c4190af106d9183dd5c"></a><!-- doxytag: member="Calendar::getMinimum" ref="f3125fb57c1b0c4190af106d9183dd5c" args="(UCalendarDateFields field) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::getMinimum           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&nbsp;</td>
          <td class="paramname"> <em>field</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the minimum value for the given time field. 
<p>
e.g., for Gregorian DAY_OF_MONTH, 1.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>The given time field. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The minimum value for the given time field. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002028">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

</div>
</div><p>
<a class="anchor" name="8dbd1884d23f0605a358fa28d4f00747"></a><!-- doxytag: member="Calendar::getMaximum" ref="8dbd1884d23f0605a358fa28d4f00747" args="(EDateFields field) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::getMaximum           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCalendar.html#9aa66a9e8030312d5314e306c713913e">EDateFields</a>&nbsp;</td>
          <td class="paramname"> <em>field</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the maximum value for the given time field. 
<p>
e.g. for Gregorian DAY_OF_MONTH, 31.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>The given time field. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The maximum value for the given time field. </dd></dl>
<dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000171">Deprecated:</a></b></dt><dd>ICU 2.6. Use getMaximum(UCalendarDateFields field) instead. </dd></dl>

</div>
</div><p>
<a class="anchor" name="0848fc39e245ee98a7835590fabd21ea"></a><!-- doxytag: member="Calendar::getMaximum" ref="0848fc39e245ee98a7835590fabd21ea" args="(UCalendarDateFields field) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::getMaximum           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&nbsp;</td>
          <td class="paramname"> <em>field</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the maximum value for the given time field. 
<p>
e.g. for Gregorian DAY_OF_MONTH, 31.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>The given time field. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The maximum value for the given time field. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002029">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

</div>
</div><p>
<a class="anchor" name="758d1a470ca26200ea65f522b8198d22"></a><!-- doxytag: member="Calendar::getGreatestMinimum" ref="758d1a470ca26200ea65f522b8198d22" args="(EDateFields field) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::getGreatestMinimum           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCalendar.html#9aa66a9e8030312d5314e306c713913e">EDateFields</a>&nbsp;</td>
          <td class="paramname"> <em>field</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the highest minimum value for the given field if varies. 
<p>
Otherwise same as <a class="el" href="classCalendar.html#c811d541e462613ebda9baa0227b05f3">getMinimum()</a>. For Gregorian, no difference.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>The given time field. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The highest minimum value for the given time field. </dd></dl>
<dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000172">Deprecated:</a></b></dt><dd>ICU 2.6. Use getGreatestMinimum(UCalendarDateFields field) instead. </dd></dl>

</div>
</div><p>
<a class="anchor" name="8dce965c7f3c898fc904a706aa854de1"></a><!-- doxytag: member="Calendar::getGreatestMinimum" ref="8dce965c7f3c898fc904a706aa854de1" args="(UCalendarDateFields field) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::getGreatestMinimum           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&nbsp;</td>
          <td class="paramname"> <em>field</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the highest minimum value for the given field if varies. 
<p>
Otherwise same as <a class="el" href="classCalendar.html#c811d541e462613ebda9baa0227b05f3">getMinimum()</a>. For Gregorian, no difference.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>The given time field. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The highest minimum value for the given time field. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002030">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

</div>
</div><p>
<a class="anchor" name="03aba5e65903e7ea949f2e58f8a949c3"></a><!-- doxytag: member="Calendar::getLeastMaximum" ref="03aba5e65903e7ea949f2e58f8a949c3" args="(EDateFields field) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::getLeastMaximum           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCalendar.html#9aa66a9e8030312d5314e306c713913e">EDateFields</a>&nbsp;</td>
          <td class="paramname"> <em>field</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the lowest maximum value for the given field if varies. 
<p>
Otherwise same as <a class="el" href="classCalendar.html#8dbd1884d23f0605a358fa28d4f00747">getMaximum()</a>. e.g., for Gregorian DAY_OF_MONTH, 28.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>The given time field. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The lowest maximum value for the given time field. </dd></dl>
<dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000173">Deprecated:</a></b></dt><dd>ICU 2.6. Use getLeastMaximum(UCalendarDateFields field) instead. </dd></dl>

</div>
</div><p>
<a class="anchor" name="4af6dbc483676943668cb79101a906f8"></a><!-- doxytag: member="Calendar::getLeastMaximum" ref="4af6dbc483676943668cb79101a906f8" args="(UCalendarDateFields field) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::getLeastMaximum           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&nbsp;</td>
          <td class="paramname"> <em>field</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the lowest maximum value for the given field if varies. 
<p>
Otherwise same as <a class="el" href="classCalendar.html#8dbd1884d23f0605a358fa28d4f00747">getMaximum()</a>. e.g., for Gregorian DAY_OF_MONTH, 28.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>The given time field. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The lowest maximum value for the given time field. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002031">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

</div>
</div><p>
<a class="anchor" name="4e67d27df4e1579ce031de5e6ea05a2e"></a><!-- doxytag: member="Calendar::getActualMinimum" ref="4e67d27df4e1579ce031de5e6ea05a2e" args="(EDateFields field, UErrorCode &amp;status) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::getActualMinimum           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCalendar.html#9aa66a9e8030312d5314e306c713913e">EDateFields</a>&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the minimum value that this field could have, given the current date. 
<p>
For the Gregorian calendar, this is the same as <a class="el" href="classCalendar.html#c811d541e462613ebda9baa0227b05f3">getMinimum()</a> and <a class="el" href="classCalendar.html#758d1a470ca26200ea65f522b8198d22">getGreatestMinimum()</a>.<p>
The version of this function on <a class="el" href="classCalendar.html">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="classCalendar.html#c811d541e462613ebda9baa0227b05f3">getMinimum()</a>). <a class="el" href="classGregorianCalendar.html">GregorianCalendar</a> overrides this function with a more efficient implementation.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>the field to determine the minimum of </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>Fill-in parameter which receives the status of this operation. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the minimum of the given field for the current date of this <a class="el" href="classCalendar.html">Calendar</a> </dd></dl>
<dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000174">Deprecated:</a></b></dt><dd>ICU 2.6. Use getActualMinimum(UCalendarDateFields field, UErrorCode&amp; status) instead. </dd></dl>

<p>
Reimplemented in <a class="el" href="classGregorianCalendar.html#f24993c1cd9d48e203b820f6981f991e">GregorianCalendar</a>.
</div>
</div><p>
<a class="anchor" name="85f935097bf72022f2c7a30c10c3f966"></a><!-- doxytag: member="Calendar::getActualMinimum" ref="85f935097bf72022f2c7a30c10c3f966" args="(UCalendarDateFields field, UErrorCode &amp;status) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::getActualMinimum           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the minimum value that this field could have, given the current date. 
<p>
For the Gregorian calendar, this is the same as <a class="el" href="classCalendar.html#c811d541e462613ebda9baa0227b05f3">getMinimum()</a> and <a class="el" href="classCalendar.html#758d1a470ca26200ea65f522b8198d22">getGreatestMinimum()</a>.<p>
The version of this function on <a class="el" href="classCalendar.html">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="classCalendar.html#c811d541e462613ebda9baa0227b05f3">getMinimum()</a>). <a class="el" href="classGregorianCalendar.html">GregorianCalendar</a> overrides this function with a more efficient implementation.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>the field to determine the minimum of </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>Fill-in parameter which receives the status of this operation. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the minimum of the given field for the current date of this <a class="el" href="classCalendar.html">Calendar</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002032">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

<p>
Reimplemented in <a class="el" href="classGregorianCalendar.html#3cddc1a8bd73250d23ef4ccd632c21c8">GregorianCalendar</a>.
</div>
</div><p>
<a class="anchor" name="62c65424820ca64e850b346212eb35a7"></a><!-- doxytag: member="Calendar::getActualMaximum" ref="62c65424820ca64e850b346212eb35a7" args="(EDateFields field, UErrorCode &amp;status) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::getActualMaximum           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCalendar.html#9aa66a9e8030312d5314e306c713913e">EDateFields</a>&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the maximum value that this field could have, given the current date. 
<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>
The version of this function on <a class="el" href="classCalendar.html">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="classCalendar.html#8dbd1884d23f0605a358fa28d4f00747">getMaximum()</a>). <a class="el" href="classGregorianCalendar.html">GregorianCalendar</a> overrides this function with a more efficient implementation.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>the field to determine the maximum of </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>Fill-in parameter which receives the status of this operation. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the maximum of the given field for the current date of this <a class="el" href="classCalendar.html">Calendar</a> </dd></dl>
<dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000175">Deprecated:</a></b></dt><dd>ICU 2.6. Use getActualMaximum(UCalendarDateFields field, UErrorCode&amp; status) instead. </dd></dl>

</div>
</div><p>
<a class="anchor" name="1141e519ee7105defd103a5782e8f226"></a><!-- doxytag: member="Calendar::getActualMaximum" ref="1141e519ee7105defd103a5782e8f226" args="(UCalendarDateFields field, UErrorCode &amp;status) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::getActualMaximum           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the maximum value that this field could have, given the current date. 
<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>
The version of this function on <a class="el" href="classCalendar.html">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="classCalendar.html#8dbd1884d23f0605a358fa28d4f00747">getMaximum()</a>). <a class="el" href="classGregorianCalendar.html">GregorianCalendar</a> overrides this function with a more efficient implementation.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>the field to determine the maximum of </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>Fill-in parameter which receives the status of this operation. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the maximum of the given field for the current date of this <a class="el" href="classCalendar.html">Calendar</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002033">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

<p>
Reimplemented in <a class="el" href="classGregorianCalendar.html#a6dffa7c30b24613fa6762c715dc24ab">GregorianCalendar</a>.
</div>
</div><p>
<a class="anchor" name="0e86c32f3c5e1e45420d1b57fc5c369e"></a><!-- doxytag: member="Calendar::get" ref="0e86c32f3c5e1e45420d1b57fc5c369e" args="(EDateFields field, UErrorCode &amp;status) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::get           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCalendar.html#9aa66a9e8030312d5314e306c713913e">EDateFields</a>&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the value for a given time field. 
<p>
Recalculate the current time field values if the time value has been changed by a call to <a class="el" href="classCalendar.html#4b918629b9bfd29e888f5ab933bd0b9b">setTime()</a>. Return zero for unset fields if any fields have been explicitly set by a call to <a class="el" href="classCalendar.html#98ba908ffc6a88d6566983d4f95245df">set()</a>. To force a recomputation of all fields regardless of the previous state, call <a class="el" href="classCalendar.html#90717eab221acdd4d67b5d250c56247e">complete()</a>. This method is semantically const, but may alter the object in memory.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>The given time field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>Fill-in parameter which receives the status of the operation. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The value for the given time field, or zero if the field is unset, and <a class="el" href="classCalendar.html#98ba908ffc6a88d6566983d4f95245df">set()</a> has been called for any other field. </dd></dl>
<dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000176">Deprecated:</a></b></dt><dd>ICU 2.6. Use get(UCalendarDateFields field, UErrorCode&amp; status) instead. </dd></dl>

</div>
</div><p>
<a class="anchor" name="473c5a767a72a2c390e2ffc6b971dbd9"></a><!-- doxytag: member="Calendar::get" ref="473c5a767a72a2c390e2ffc6b971dbd9" args="(UCalendarDateFields field, UErrorCode &amp;status) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::get           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the value for a given time field. 
<p>
Recalculate the current time field values if the time value has been changed by a call to <a class="el" href="classCalendar.html#4b918629b9bfd29e888f5ab933bd0b9b">setTime()</a>. Return zero for unset fields if any fields have been explicitly set by a call to <a class="el" href="classCalendar.html#98ba908ffc6a88d6566983d4f95245df">set()</a>. To force a recomputation of all fields regardless of the previous state, call <a class="el" href="classCalendar.html#90717eab221acdd4d67b5d250c56247e">complete()</a>. This method is semantically const, but may alter the object in memory.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>The given time field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>Fill-in parameter which receives the status of the operation. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The value for the given time field, or zero if the field is unset, and <a class="el" href="classCalendar.html#98ba908ffc6a88d6566983d4f95245df">set()</a> has been called for any other field. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002034">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

</div>
</div><p>
<a class="anchor" name="efced85e4c356370381579e90bc8c893"></a><!-- doxytag: member="Calendar::isSet" ref="efced85e4c356370381579e90bc8c893" args="(EDateFields field) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> Calendar::isSet           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCalendar.html#9aa66a9e8030312d5314e306c713913e">EDateFields</a>&nbsp;</td>
          <td class="paramname"> <em>field</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Determines if the given time field has a value set. 
<p>
This can affect in the resolving of time in <a class="el" href="classCalendar.html">Calendar</a>. Unset fields have a value of zero, by definition.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>The given time field. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the given time field has a value set; false otherwise. </dd></dl>
<dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000177">Deprecated:</a></b></dt><dd>ICU 2.6. Use isSet(UCalendarDateFields field) instead. </dd></dl>

</div>
</div><p>
<a class="anchor" name="b5411175095ca8a463d16c9609cfd1c1"></a><!-- doxytag: member="Calendar::isSet" ref="b5411175095ca8a463d16c9609cfd1c1" args="(UCalendarDateFields field) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> Calendar::isSet           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&nbsp;</td>
          <td class="paramname"> <em>field</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Determines if the given time field has a value set. 
<p>
This can affect in the resolving of time in <a class="el" href="classCalendar.html">Calendar</a>. Unset fields have a value of zero, by definition.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>The given time field. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>True if the given time field has a value set; false otherwise. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002035">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

</div>
</div><p>
<a class="anchor" name="98ba908ffc6a88d6566983d4f95245df"></a><!-- doxytag: member="Calendar::set" ref="98ba908ffc6a88d6566983d4f95245df" args="(EDateFields field, int32_t value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Calendar::set           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCalendar.html#9aa66a9e8030312d5314e306c713913e">EDateFields</a>&nbsp;</td>
          <td class="paramname"> <em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>value</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the given time field with the given value. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>The given time field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>The value to be set for the given time field. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000178">Deprecated:</a></b></dt><dd>ICU 2.6. Use <a class="el" href="classCalendar.html#558039a413ea1e1a9bfd47375d12e4ea">set(UCalendarDateFields field, int32_t value)</a> instead. </dd></dl>

</div>
</div><p>
<a class="anchor" name="558039a413ea1e1a9bfd47375d12e4ea"></a><!-- doxytag: member="Calendar::set" ref="558039a413ea1e1a9bfd47375d12e4ea" args="(UCalendarDateFields field, int32_t value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Calendar::set           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&nbsp;</td>
          <td class="paramname"> <em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>value</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the given time field with the given value. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>The given time field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>The value to be set for the given time field. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002036">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

</div>
</div><p>
<a class="anchor" name="0de0f9d494dc1a347c64560c73609b09"></a><!-- doxytag: member="Calendar::set" ref="0de0f9d494dc1a347c64560c73609b09" args="(int32_t year, int32_t month, int32_t date)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Calendar::set           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>year</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>month</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>date</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the values for the fields YEAR, MONTH, and DATE. 
<p>
Other field values are retained; call <a class="el" href="classCalendar.html#7e0409b7750ff09b7275a061bd6ae816">clear()</a> first if this is not desired.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>year</em>&nbsp;</td><td>The value used to set the YEAR time field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>month</em>&nbsp;</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 valign="top"></td><td valign="top"><em>date</em>&nbsp;</td><td>The value used to set the DATE time field. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002037">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="cea9496f6dbb52f8682abe3c99c7c6c4"></a><!-- doxytag: member="Calendar::set" ref="cea9496f6dbb52f8682abe3c99c7c6c4" args="(int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Calendar::set           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>year</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>month</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>date</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>hour</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>minute</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the values for the fields YEAR, MONTH, DATE, HOUR_OF_DAY, and MINUTE. 
<p>
Other field values are retained; call <a class="el" href="classCalendar.html#7e0409b7750ff09b7275a061bd6ae816">clear()</a> first if this is not desired.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>year</em>&nbsp;</td><td>The value used to set the YEAR time field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>month</em>&nbsp;</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 valign="top"></td><td valign="top"><em>date</em>&nbsp;</td><td>The value used to set the DATE time field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>hour</em>&nbsp;</td><td>The value used to set the HOUR_OF_DAY time field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>minute</em>&nbsp;</td><td>The value used to set the MINUTE time field. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002038">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="53bae01ea06605c7506d9956db1ef165"></a><!-- doxytag: member="Calendar::set" ref="53bae01ea06605c7506d9956db1ef165" args="(int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute, int32_t second)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Calendar::set           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>year</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>month</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>date</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>hour</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>minute</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>second</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the values for the fields YEAR, MONTH, DATE, HOUR_OF_DAY, MINUTE, and SECOND. 
<p>
Other field values are retained; call <a class="el" href="classCalendar.html#7e0409b7750ff09b7275a061bd6ae816">clear()</a> first if this is not desired.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>year</em>&nbsp;</td><td>The value used to set the YEAR time field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>month</em>&nbsp;</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 valign="top"></td><td valign="top"><em>date</em>&nbsp;</td><td>The value used to set the DATE time field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>hour</em>&nbsp;</td><td>The value used to set the HOUR_OF_DAY time field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>minute</em>&nbsp;</td><td>The value used to set the MINUTE time field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>second</em>&nbsp;</td><td>The value used to set the SECOND time field. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002039">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="7e0409b7750ff09b7275a061bd6ae816"></a><!-- doxytag: member="Calendar::clear" ref="7e0409b7750ff09b7275a061bd6ae816" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Calendar::clear           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></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>
The field values will be determined during the next resolving of time into time fields. <dl compact><dt><b><a class="el" href="stable.html#_stable002040">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="c62813e912368d76cec3fccfba231108"></a><!-- doxytag: member="Calendar::clear" ref="c62813e912368d76cec3fccfba231108" args="(EDateFields field)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Calendar::clear           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCalendar.html#9aa66a9e8030312d5314e306c713913e">EDateFields</a>&nbsp;</td>
          <td class="paramname"> <em>field</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></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>
This field value will be determined during the next resolving of time into time fields.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>The time field to be cleared. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000179">Deprecated:</a></b></dt><dd>ICU 2.6. Use <a class="el" href="classCalendar.html#ad6c0532f6b52c5feb288615e3e2b681">clear(UCalendarDateFields field)</a> instead. </dd></dl>

</div>
</div><p>
<a class="anchor" name="ad6c0532f6b52c5feb288615e3e2b681"></a><!-- doxytag: member="Calendar::clear" ref="ad6c0532f6b52c5feb288615e3e2b681" args="(UCalendarDateFields field)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Calendar::clear           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&nbsp;</td>
          <td class="paramname"> <em>field</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></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>
This field value will be determined during the next resolving of time into time fields.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>The time field to be cleared. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002041">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

</div>
</div><p>
<a class="anchor" name="13e235c4396d92fc3b129d6a07e6076a"></a><!-- doxytag: member="Calendar::getDynamicClassID" ref="13e235c4396d92fc3b129d6a07e6076a" args="(void) const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="utypes_8h.html#22af10545208a455a6e884008df48e9f">UClassID</a> Calendar::getDynamicClassID           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns a unique class ID POLYMORPHICALLY. 
<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="classCalendar.html#2ba456b7b92207649c6356a3db858618">operator==()</a> and <a class="el" href="classCalendar.html#369327438e076e64c99ec1d669919957">clone()</a> methods call this method. <p>
Concrete subclasses of <a class="el" href="classCalendar.html">Calendar</a> must implement <a class="el" href="classCalendar.html#13e235c4396d92fc3b129d6a07e6076a">getDynamicClassID()</a> and also a static method and data member:<p>
static UClassID getStaticClassID() { return (UClassID)&amp;fgClassID; } static char fgClassID;<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The class ID for this object. All objects of a given class have the same class ID. Objects of other classes have different class IDs. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002042">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Implements <a class="el" href="classUObject.html#ce1dd31fb2c6f2c07dfebe8fd240ec37">UObject</a>.
<p>
Implemented in <a class="el" href="classGregorianCalendar.html#d692fc0734c8b0dd5af7cf8f403caa87">GregorianCalendar</a>.
</div>
</div><p>
<a class="anchor" name="28aba836bc6bab0daf7428355e48ccac"></a><!-- doxytag: member="Calendar::getType" ref="28aba836bc6bab0daf7428355e48ccac" args="() const=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const char* Calendar::getType           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the resource key string used for this calendar type. 
<p>
For example, prepending "Eras_" to this string could return "Eras_japanese" or "Eras_gregorian".<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>static string, for example, "gregorian" or "japanese" </dd></dl>
<dl compact><dt><b><a class="el" href="internal.html#_internal000080">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>

<p>
Implemented in <a class="el" href="classGregorianCalendar.html#eb874a76e42036f5c5f9936861907327">GregorianCalendar</a>.
</div>
</div><p>
<a class="anchor" name="c3bcbd2497e977c8324cc0b089879c3a"></a><!-- doxytag: member="Calendar::operator=" ref="c3bcbd2497e977c8324cc0b089879c3a" args="(const Calendar &amp;right)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCalendar.html">Calendar</a>&amp; Calendar::operator=           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCalendar.html">Calendar</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>right</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div><p>
<a class="anchor" name="cd6f300d2cc51b0d75b57d7be1347844"></a><!-- doxytag: member="Calendar::computeTime" ref="cd6f300d2cc51b0d75b57d7be1347844" args="(UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Calendar::computeTime           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Converts Calendar's time field values to GMT as milliseconds. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</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>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002048">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="d0ff8705abd13f9c568fb4053e35e27b"></a><!-- doxytag: member="Calendar::computeFields" ref="d0ff8705abd13f9c568fb4053e35e27b" args="(UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Calendar::computeFields           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Converts GMT as milliseconds to time field values. 
<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="classCalendar.html#90717eab221acdd4d67b5d250c56247e">complete()</a>.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</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>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002049">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="78b4d71f249d8845eb6a68e8e51a8824"></a><!-- doxytag: member="Calendar::getTimeInMillis" ref="78b4d71f249d8845eb6a68e8e51a8824" args="(UErrorCode &amp;status) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">double Calendar::getTimeInMillis           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets this Calendar's current time as a long. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the current time as UTC milliseconds from the epoch. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002050">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="4e33e7f83e803fb6092e32b988fe5305"></a><!-- doxytag: member="Calendar::setTimeInMillis" ref="4e33e7f83e803fb6092e32b988fe5305" args="(double millis, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Calendar::setTimeInMillis           </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>millis</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets this Calendar's current time from the given long value. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>millis</em>&nbsp;</td><td>the new time in UTC milliseconds from the epoch. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</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>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002051">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="90717eab221acdd4d67b5d250c56247e"></a><!-- doxytag: member="Calendar::complete" ref="90717eab221acdd4d67b5d250c56247e" args="(UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Calendar::complete           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected]</code></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 compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</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>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002052">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="328734ebbe45c89bffb9cc08bc3bb64a"></a><!-- doxytag: member="Calendar::internalGet" ref="328734ebbe45c89bffb9cc08bc3bb64a" args="(EDateFields field) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::internalGet           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCalendar.html#9aa66a9e8030312d5314e306c713913e">EDateFields</a>&nbsp;</td>
          <td class="paramname"> <em>field</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the value for a given time field. 
<p>
Subclasses can use this function to get field values without forcing recomputation of time.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>The given time field. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The value for the given time field. </dd></dl>
<dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000180">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#l01276">1276</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
</div>
</div><p>
<a class="anchor" name="d97e2f9c066bb699c1fc5f06d971bfd0"></a><!-- doxytag: member="Calendar::internalGet" ref="d97e2f9c066bb699c1fc5f06d971bfd0" args="(UCalendarDateFields field, int32_t defaultValue) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::internalGet           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&nbsp;</td>
          <td class="paramname"> <em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>defaultValue</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const<code> [inline, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the value for a given time field. 
<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 compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>The given time field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>defaultValue</em>&nbsp;</td><td>a default value used if the field is unset. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The value for the given time field. </dd></dl>
<dl compact><dt><b><a class="el" href="internal.html#_internal000081">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>

<p>
Definition at line <a class="el" href="calendar_8h-source.html#l01288">1288</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
</div>
</div><p>
<a class="anchor" name="2f4378a13ff4c9ddbaa0cda7650ba907"></a><!-- doxytag: member="Calendar::internalGet" ref="2f4378a13ff4c9ddbaa0cda7650ba907" args="(UCalendarDateFields field) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::internalGet           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&nbsp;</td>
          <td class="paramname"> <em>field</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the value for a given time field. 
<p>
Subclasses can use this function to get field values without forcing recomputation of time.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>The given time field. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The value for the given time field. </dd></dl>
<dl compact><dt><b><a class="el" href="internal.html#_internal000082">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>

<p>
Definition at line <a class="el" href="calendar_8h-source.html#l01298">1298</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
</div>
</div><p>
<a class="anchor" name="1966488fa1954b3ef426c8dde4d341c6"></a><!-- doxytag: member="Calendar::internalSet" ref="1966488fa1954b3ef426c8dde4d341c6" args="(EDateFields field, int32_t value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Calendar::internalSet           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCalendar.html#9aa66a9e8030312d5314e306c713913e">EDateFields</a>&nbsp;</td>
          <td class="paramname"> <em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>value</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the value for a given time field. 
<p>
This is a fast internal method for subclasses. It does not affect the areFieldsInSync, isTimeSet, or areAllFieldsSet flags.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>The given time field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>The value for the given time field. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000181">Deprecated:</a></b></dt><dd>ICU 2.6. Use <a class="el" href="classCalendar.html#80318e4604dde732ac89aa81311fbf68">internalSet(UCalendarDateFields field, int32_t value)</a> instead. </dd></dl>

</div>
</div><p>
<a class="anchor" name="80318e4604dde732ac89aa81311fbf68"></a><!-- doxytag: member="Calendar::internalSet" ref="80318e4604dde732ac89aa81311fbf68" args="(UCalendarDateFields field, int32_t value)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Calendar::internalSet           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&nbsp;</td>
          <td class="paramname"> <em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>value</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inline, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the value for a given time field. 
<p>
This is a fast internal method for subclasses. It does not affect the areFieldsInSync, isTimeSet, or areAllFieldsSet flags.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>The given time field. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>The value for the given time field. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002053">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

<p>
Definition at line <a class="el" href="calendar_8h-source.html#l02144">2144</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
<p>
References <a class="el" href="calendar_8h-source.html#l01623">fFields</a>, <a class="el" href="calendar_8h-source.html#l01629">fIsSet</a>, <a class="el" href="calendar_8h-source.html#l01646">fStamp</a>, and <a class="el" href="umachine_8h-source.html#l00198">TRUE</a>.
</div>
</div><p>
<a class="anchor" name="660d320b4e90c159bdf1bb8f0678818a"></a><!-- doxytag: member="Calendar::prepareGetActual" ref="660d320b4e90c159bdf1bb8f0678818a" args="(UCalendarDateFields field, UBool isMinimum, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Calendar::prepareGetActual           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&nbsp;</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#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div><p>
<a class="anchor" name="662cdb3b12015c19719bdbc55585d31a"></a><!-- doxytag: member="Calendar::handleGetLimit" ref="662cdb3b12015c19719bdbc55585d31a" args="(UCalendarDateFields field, ELimitType limitType) const=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::handleGetLimit           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&nbsp;</td>
          <td class="paramname"> <em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classCalendar.html#ed3b40eef888db3a26315f3a0c37b076">ELimitType</a>&nbsp;</td>
          <td class="paramname"> <em>limitType</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const<code> [protected, pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Subclass API for defining limits of different types. 
<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><p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>one of the above field numbers </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>limitType</em>&nbsp;</td><td>one of <code>MINIMUM</code>, <code>GREATEST_MINIMUM</code>, <code>LEAST_MAXIMUM</code>, or <code>MAXIMUM</code> </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="internal.html#_internal000085">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>

<p>
Implemented in <a class="el" href="classGregorianCalendar.html#d18c9fb481158d73b17f45562516202d">GregorianCalendar</a>.
</div>
</div><p>
<a class="anchor" name="1cd511e205abab94a0a64c5ab2ed8348"></a><!-- doxytag: member="Calendar::getLimit" ref="1cd511e205abab94a0a64c5ab2ed8348" args="(UCalendarDateFields field, ELimitType limitType) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::getLimit           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&nbsp;</td>
          <td class="paramname"> <em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classCalendar.html#ed3b40eef888db3a26315f3a0c37b076">ELimitType</a>&nbsp;</td>
          <td class="paramname"> <em>limitType</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const<code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return a limit for a field. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>the field, from <code>0..UCAL_MAX_FIELD</code> </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>limitType</em>&nbsp;</td><td>the type specifier for the limit </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classCalendar.html#ed3b40eef888db3a26315f3a0c37b076">ELimitType</a> </dd></dl>
<dl compact><dt><b><a class="el" href="internal.html#_internal000086">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>

</div>
</div><p>
<a class="anchor" name="f001b12322da6f8cfdac4e5085fdc25f"></a><!-- doxytag: member="Calendar::handleComputeMonthStart" ref="f001b12322da6f8cfdac4e5085fdc25f" args="(int32_t eyear, int32_t month, UBool useMonth) const=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::handleComputeMonthStart           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>eyear</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>month</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td>
          <td class="paramname"> <em>useMonth</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const<code> [protected, pure virtual]</code></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>
Subclasses should override this method to implement their calendar system. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>eyear</em>&nbsp;</td><td>the extended year </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>month</em>&nbsp;</td><td>the zero-based month, or 0 if useMonth is false </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>useMonth</em>&nbsp;</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>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the Julian day number of the day before the first day of the given month and year </dd></dl>
<dl compact><dt><b><a class="el" href="internal.html#_internal000087">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>

<p>
Implemented in <a class="el" href="classGregorianCalendar.html#c2c85e2a9cc34991de3a75237e75fbec">GregorianCalendar</a>.
</div>
</div><p>
<a class="anchor" name="5ab678d6c94b74f1a9a958c7e032dfc8"></a><!-- doxytag: member="Calendar::handleGetMonthLength" ref="5ab678d6c94b74f1a9a958c7e032dfc8" args="(int32_t extendedYear, int32_t month) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::handleGetMonthLength           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>extendedYear</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>month</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const<code> [protected, virtual]</code></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>
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="classCalendar.html">Calendar</a>. <dl compact><dt><b><a class="el" href="internal.html#_internal000088">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>

<p>
Reimplemented in <a class="el" href="classGregorianCalendar.html#89e5098af260083241b7f632e59bbfea">GregorianCalendar</a>.
</div>
</div><p>
<a class="anchor" name="815c3bc742697d5c26a4479d35835cf7"></a><!-- doxytag: member="Calendar::handleGetYearLength" ref="815c3bc742697d5c26a4479d35835cf7" args="(int32_t eyear) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::handleGetYearLength           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>eyear</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the number of days in the given extended year of this calendar system. 
<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="classCalendar.html">Calendar</a>. <dl compact><dt><b><a class="el" href="stable.html#_stable002054">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Reimplemented in <a class="el" href="classGregorianCalendar.html#4ca5c57ba7a9d05363b3e586e3c7938c">GregorianCalendar</a>.
</div>
</div><p>
<a class="anchor" name="465fbc6494f2126892dcd694217697f4"></a><!-- doxytag: member="Calendar::handleGetExtendedYear" ref="465fbc6494f2126892dcd694217697f4" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::handleGetExtendedYear           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected, pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the extended year defined by the current fields. 
<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. <dl class="return" compact><dt><b>Returns:</b></dt><dd>the extended year </dd></dl>
<dl compact><dt><b><a class="el" href="internal.html#_internal000089">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>

<p>
Implemented in <a class="el" href="classGregorianCalendar.html#9c8ef3f3ae56e41f52c7fd353348a09f">GregorianCalendar</a>.
</div>
</div><p>
<a class="anchor" name="fd953ab4dc160ffc1b586c627c2c6ad9"></a><!-- doxytag: member="Calendar::handleComputeJulianDay" ref="fd953ab4dc160ffc1b586c627c2c6ad9" args="(UCalendarDateFields bestField)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::handleComputeJulianDay           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&nbsp;</td>
          <td class="paramname"> <em>bestField</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Subclasses may override this. 
<p>
This method calls <a class="el" href="classCalendar.html#5ab678d6c94b74f1a9a958c7e032dfc8">handleGetMonthLength()</a> to obtain the calendar-specific month length. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>bestField</em>&nbsp;</td><td>which field to use to calculate the date </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>julian day specified by calendar fields. </dd></dl>
<dl compact><dt><b><a class="el" href="internal.html#_internal000090">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>

<p>
Reimplemented in <a class="el" href="classGregorianCalendar.html#59b86395575bf7784ffe1f2edac5b165">GregorianCalendar</a>.
</div>
</div><p>
<a class="anchor" name="116247236ceda5f3d5424767d3c3c561"></a><!-- doxytag: member="Calendar::handleGetExtendedYearFromWeekFields" ref="116247236ceda5f3d5424767d3c3c561" args="(int32_t yearWoy, int32_t woy)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::handleGetExtendedYearFromWeekFields           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>yearWoy</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>woy</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [protected, virtual]</code></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>
The <a class="el" href="classCalendar.html">Calendar</a> implementation assumes yearWoy is in extended gregorian form <dl compact><dt><b><a class="el" href="internal.html#_internal000091">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the extended year, UCAL_EXTENDED_YEAR </dd></dl>

<p>
Reimplemented in <a class="el" href="classGregorianCalendar.html#9068000f1c22c0d27ab752e01cacf082">GregorianCalendar</a>.
</div>
</div><p>
<a class="anchor" name="d32ba7616507ea59d2f59ee4a5f82fd7"></a><!-- doxytag: member="Calendar::computeJulianDay" ref="d32ba7616507ea59d2f59ee4a5f82fd7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::computeJulianDay           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div><p>
<a class="anchor" name="8c299396a6124e4cbdc9ef88642d0151"></a><!-- doxytag: member="Calendar::computeMillisInDay" ref="8c299396a6124e4cbdc9ef88642d0151" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::computeMillisInDay           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Compute the milliseconds in the day from the fields. 
<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. <dl compact><dt><b><a class="el" href="internal.html#_internal000093">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>

</div>
</div><p>
<a class="anchor" name="17f77e9844d0fd3a86ba9c72e93d3e69"></a><!-- doxytag: member="Calendar::computeZoneOffset" ref="17f77e9844d0fd3a86ba9c72e93d3e69" args="(double millis, int32_t millisInDay, UErrorCode &amp;ec)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::computeZoneOffset           </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>millis</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>ec</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div><p>
<a class="anchor" name="e2d514396d6fd85c25d9af9eb14b6215"></a><!-- doxytag: member="Calendar::newestStamp" ref="e2d514396d6fd85c25d9af9eb14b6215" args="(UCalendarDateFields start, UCalendarDateFields end, int32_t bestSoFar) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::newestStamp           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&nbsp;</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#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&nbsp;</td>
          <td class="paramname"> <em>end</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>bestSoFar</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Determine the best stamp in a range. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>start</em>&nbsp;</td><td>first enum to look at </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>end</em>&nbsp;</td><td>last enum to look at </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>bestSoFar</em>&nbsp;</td><td>stamp prior to function call </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the stamp value of the best stamp </dd></dl>
<dl compact><dt><b><a class="el" href="internal.html#_internal000095">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>

</div>
</div><p>
<a class="anchor" name="10718404e300cb17f0d678f7cd1cfa8e"></a><!-- doxytag: member="Calendar::resolveFields" ref="10718404e300cb17f0d678f7cd1cfa8e" args="(const UFieldResolutionTable *precedenceTable)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> Calendar::resolveFields           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="calendar_8h.html#b9f6041161064a1936388e94e9788fe2">UFieldResolutionTable</a> *&nbsp;</td>
          <td class="paramname"> <em>precedenceTable</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected]</code></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>
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>
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>
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. <dl compact><dt><b><a class="el" href="internal.html#_internal000100">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>

</div>
</div><p>
<a class="anchor" name="ba94ee439aa8ba6566cf9a8d552f558b"></a><!-- doxytag: member="Calendar::getFieldResolutionTable" ref="ba94ee439aa8ba6566cf9a8d552f558b" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual const <a class="el" href="calendar_8h.html#b9f6041161064a1936388e94e9788fe2">UFieldResolutionTable</a>* Calendar::getFieldResolutionTable           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b><a class="el" href="internal.html#_internal000101">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>

</div>
</div><p>
<a class="anchor" name="3449f24abb996590a0df022367599a87"></a><!-- doxytag: member="Calendar::newerField" ref="3449f24abb996590a0df022367599a87" args="(UCalendarDateFields defaultField, UCalendarDateFields alternateField) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> Calendar::newerField           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&nbsp;</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#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&nbsp;</td>
          <td class="paramname"> <em>alternateField</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const<code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div><p>
<a class="anchor" name="d20fe42624b49a8a3fca48a06425c4f9"></a><!-- doxytag: member="Calendar::internalGetTime" ref="d20fe42624b49a8a3fca48a06425c4f9" args="(void) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a> Calendar::internalGetTime           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>
Definition at line <a class="el" href="calendar_8h-source.html#l01608">1608</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
</div>
</div><p>
<a class="anchor" name="5066148dcb8ef8c6452b77a0d468344c"></a><!-- doxytag: member="Calendar::internalSetTime" ref="5066148dcb8ef8c6452b77a0d468344c" args="(UDate time)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Calendar::internalSetTime           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&nbsp;</td>
          <td class="paramname"> <em>time</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the current time without affecting flags or fields. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>time</em>&nbsp;</td><td>The time to be set </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the current time without recomputing. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002060">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Definition at line <a class="el" href="calendar_8h-source.html#l01617">1617</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
</div>
</div><p>
<a class="anchor" name="195fad36b525b46df8934aca312db35e"></a><!-- doxytag: member="Calendar::handleComputeFields" ref="195fad36b525b46df8934aca312db35e" args="(int32_t julianDay, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Calendar::handleComputeFields           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Subclasses may override this method to compute several fields specific to each calendar system. 
<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>
In addition, subclasses should compute any subclass-specific fields, that is, fields from BASE_FIELD_COUNT to getFieldCount() - 1.<p>
The default implementation in <code><a class="el" href="classCalendar.html">Calendar</a></code> implements a pure proleptic Gregorian calendar. <dl compact><dt><b><a class="el" href="internal.html#_internal000104">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>

<p>
Reimplemented in <a class="el" href="classGregorianCalendar.html#2f31b54f19ec8588cb1cfe1ade77eb07">GregorianCalendar</a>.
</div>
</div><p>
<a class="anchor" name="cae1bcd164028e5988a6bd039afcb112"></a><!-- doxytag: member="Calendar::getGregorianYear" ref="cae1bcd164028e5988a6bd039afcb112" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::getGregorianYear           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the extended year on the Gregorian calendar as computed by <code>computeGregorianFields()</code>. 
<p>
<dl compact><dt><b><a class="el" href="internal.html#_internal000105">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>

<p>
Definition at line <a class="el" href="calendar_8h-source.html#l01679">1679</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
</div>
</div><p>
<a class="anchor" name="586bf0d3e2055664e3568610f93e68cd"></a><!-- doxytag: member="Calendar::getGregorianMonth" ref="586bf0d3e2055664e3568610f93e68cd" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::getGregorianMonth           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the month (0-based) on the Gregorian calendar as computed by <code>computeGregorianFields()</code>. 
<p>
<dl compact><dt><b><a class="el" href="internal.html#_internal000106">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>

<p>
Definition at line <a class="el" href="calendar_8h-source.html#l01688">1688</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
</div>
</div><p>
<a class="anchor" name="e17908da7429850336de938d1282cfac"></a><!-- doxytag: member="Calendar::getGregorianDayOfYear" ref="e17908da7429850336de938d1282cfac" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::getGregorianDayOfYear           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the day of year (1-based) on the Gregorian calendar as computed by <code>computeGregorianFields()</code>. 
<p>
<dl compact><dt><b><a class="el" href="internal.html#_internal000107">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>

<p>
Definition at line <a class="el" href="calendar_8h-source.html#l01697">1697</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
</div>
</div><p>
<a class="anchor" name="6fb9a0381389a977331643db64b666a9"></a><!-- doxytag: member="Calendar::getGregorianDayOfMonth" ref="6fb9a0381389a977331643db64b666a9" args="() const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::getGregorianDayOfMonth           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the day of month (1-based) on the Gregorian calendar as computed by <code>computeGregorianFields()</code>. 
<p>
<dl compact><dt><b><a class="el" href="internal.html#_internal000108">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>

<p>
Definition at line <a class="el" href="calendar_8h-source.html#l01706">1706</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
</div>
</div><p>
<a class="anchor" name="f70edee1a1cd9c275f6a6645ed5d65f8"></a><!-- doxytag: member="Calendar::getDefaultMonthInYear" ref="f70edee1a1cd9c275f6a6645ed5d65f8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::getDefaultMonthInYear           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Called by computeJulianDay. 
<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. <dl compact><dt><b><a class="el" href="internal.html#_internal000109">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>
<dl compact><dt><b><a class="el" href="internal.html#_internal000109">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>

</div>
</div><p>
<a class="anchor" name="f38c7bae2e752d875425085a4a8113a0"></a><!-- doxytag: member="Calendar::getDefaultDayInMonth" ref="f38c7bae2e752d875425085a4a8113a0" args="(int32_t)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::getDefaultDayInMonth           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div><p>
<a class="anchor" name="faeebecc193f1fce5fb616462f4cc593"></a><!-- doxytag: member="Calendar::pinField" ref="faeebecc193f1fce5fb616462f4cc593" args="(UCalendarDateFields field, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Calendar::pinField           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [protected, virtual]</code></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>
For example, in a Gregorian calendar pinning the <a class="el" href="ucal_8h.html#28411d3f471b1720fe688466983d2298">DAY_OF_MONTH</a> field for a calendar set to April 31 would cause it to be set to April 30. <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="classCalendar.html#98e5b80bb733a6e8dec95b8ac0225a68">roll</a> and <a class="el" href="classCalendar.html#4c480d382487d1f05b717dbd310515b3">add</a>. <p>
<b>Note:</b> <code>pinField</code> is implemented in terms of <a class="el" href="classCalendar.html#4e67d27df4e1579ce031de5e6ea05a2e">getActualMinimum</a> and <a class="el" href="classCalendar.html#62c65424820ca64e850b346212eb35a7">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 compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>The calendar field whose value should be pinned. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>Output param set to failure code on function return when this function fails.</td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classCalendar.html#4e67d27df4e1579ce031de5e6ea05a2e">getActualMinimum</a> <p>
<a class="el" href="classCalendar.html#62c65424820ca64e850b346212eb35a7">getActualMaximum</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002064">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="c06ba54055473049be6427add1fa99e0"></a><!-- doxytag: member="Calendar::weekNumber" ref="c06ba54055473049be6427add1fa99e0" args="(int32_t desiredDay, int32_t dayOfPeriod, int32_t dayOfWeek)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::weekNumber           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>desiredDay</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>dayOfPeriod</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>dayOfWeek</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the week number of a day, within a period. 
<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="classCalendar.html#c39fb4eea23b9ea863ac3119913a3322">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>
<b>Subclassing:</b> <br>
 This method is intended for use by subclasses in implementing their <a class="el" href="classCalendar.html#cd6f300d2cc51b0d75b57d7be1347844">computeTime</a> and/or <a class="el" href="classCalendar.html#d0ff8705abd13f9c568fb4053e35e27b">computeFields</a> methods. It is often useful in <a class="el" href="classCalendar.html#4e67d27df4e1579ce031de5e6ea05a2e">getActualMinimum</a> and <a class="el" href="classCalendar.html#62c65424820ca64e850b346212eb35a7">getActualMaximum</a> as well. <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 compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>desiredDay</em>&nbsp;</td><td>The <a class="el" href="ucal_8h.html#28411d3f471b1720fe688466983d2298">DAY_OF_YEAR</a> or <a class="el" href="ucal_8h.html#28411d3f471b1720fe688466983d2298">DAY_OF_MONTH</a> whose week number is desired. Should be 1 for the first day of the period.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dayOfPeriod</em>&nbsp;</td><td>The <a class="el" href="ucal_8h.html#28411d3f471b1720fe688466983d2298">DAY_OF_YEAR</a> or <a class="el" href="ucal_8h.html#28411d3f471b1720fe688466983d2298">DAY_OF_MONTH</a> for a day in the period whose <a class="el" href="ucal_8h.html#28411d3f471b1720fe688466983d2298">DAY_OF_WEEK</a> is specified by the <code>knownDayOfWeek</code> parameter. Should be 1 for first day of period.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dayOfWeek</em>&nbsp;</td><td>The <a class="el" href="ucal_8h.html#28411d3f471b1720fe688466983d2298">DAY_OF_WEEK</a> for the day corresponding to the <code>knownDayOfPeriod</code> parameter. 1-based with 1=Sunday.</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The week number (one-based), or zero if the day falls before the first week because <a class="el" href="classCalendar.html#c39fb4eea23b9ea863ac3119913a3322">getMinimalDaysInFirstWeek</a> is more than one.</dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002065">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

<p>
Referenced by <a class="el" href="calendar_8h-source.html#l02151">weekNumber()</a>.
</div>
</div><p>
<a class="anchor" name="c37c766c0d2b648b451186132e19004a"></a><!-- doxytag: member="Calendar::weekNumber" ref="c37c766c0d2b648b451186132e19004a" args="(int32_t dayOfPeriod, int32_t dayOfWeek)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::weekNumber           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>dayOfPeriod</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>dayOfWeek</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inline, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the week number of a day, within a period. 
<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="classCalendar.html#c39fb4eea23b9ea863ac3119913a3322">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>
<b>Subclassing:</b> <br>
 This method is intended for use by subclasses in implementing their <a class="el" href="classCalendar.html#cd6f300d2cc51b0d75b57d7be1347844">computeTime</a> and/or <a class="el" href="classCalendar.html#d0ff8705abd13f9c568fb4053e35e27b">computeFields</a> methods. It is often useful in <a class="el" href="classCalendar.html#4e67d27df4e1579ce031de5e6ea05a2e">getActualMinimum</a> and <a class="el" href="classCalendar.html#62c65424820ca64e850b346212eb35a7">getActualMaximum</a> as well. <p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>dayOfPeriod</em>&nbsp;</td><td>The <a class="el" href="ucal_8h.html#28411d3f471b1720fe688466983d2298">DAY_OF_YEAR</a> or <a class="el" href="ucal_8h.html#28411d3f471b1720fe688466983d2298">DAY_OF_MONTH</a> whose week number is desired. Should be 1 for the first day of the period.</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dayOfWeek</em>&nbsp;</td><td>The <a class="el" href="ucal_8h.html#28411d3f471b1720fe688466983d2298">DAY_OF_WEEK</a> for the day corresponding to the <code>dayOfPeriod</code> parameter. 1-based with 1=Sunday.</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The week number (one-based), or zero if the day falls before the first week because <a class="el" href="classCalendar.html#c39fb4eea23b9ea863ac3119913a3322">getMinimalDaysInFirstWeek</a> is more than one. </dd></dl>
<dl compact><dt><b><a class="el" href="internal.html#_internal000112">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>

<p>
Definition at line <a class="el" href="calendar_8h-source.html#l02151">2151</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
<p>
References <a class="el" href="classCalendar.html#c06ba54055473049be6427add1fa99e0">weekNumber()</a>.
</div>
</div><p>
<a class="anchor" name="0a80956bea5e66c6cabd5485a98bd3bf"></a><!-- doxytag: member="Calendar::getLocalDOW" ref="0a80956bea5e66c6cabd5485a98bd3bf" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::getLocalDOW           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div><p>
<a class="anchor" name="c80054059c45d5b2466c9aaab596ec1e"></a><!-- doxytag: member="Calendar::julianDayToDayOfWeek" ref="c80054059c45d5b2466c9aaab596ec1e" args="(double julian)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="pwin32_8h.html#ba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> Calendar::julianDayToDayOfWeek           </td>
          <td>(</td>
          <td class="paramtype">double&nbsp;</td>
          <td class="paramname"> <em>julian</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static, protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Convert a quasi Julian date to the day of the week. 
<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 compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>julian</em>&nbsp;</td><td>The given Julian date number. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>Day number from 1..7 (SUN..SAT). </dd></dl>
<dl compact><dt><b><a class="el" href="internal.html#_internal000117">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>

</div>
</div><p>
<a class="anchor" name="dc0142552cd2e3fa56ed7a800edf4f2d"></a><!-- doxytag: member="Calendar::getAvailableLocales" ref="dc0142552cd2e3fa56ed7a800edf4f2d" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classStringEnumeration.html">StringEnumeration</a>* Calendar::getAvailableLocales           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return a <a class="el" href="classStringEnumeration.html">StringEnumeration</a> over the locales available at the time of the call, including registered locales. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>a <a class="el" href="classStringEnumeration.html">StringEnumeration</a> over the locales available at the time of the call </dd></dl>
<dl compact><dt><b><a class="el" href="internal.html#_internal000118">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>

</div>
</div><p>
<a class="anchor" name="8118ce78632ea4a749e15d24a5f9560a"></a><!-- doxytag: member="Calendar::registerFactory" ref="8118ce78632ea4a749e15d24a5f9560a" args="(ICUServiceFactory *toAdopt, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="umisc_8h.html#b5905d79ed3b979840cee1d5fd48b4fb">URegistryKey</a> Calendar::registerFactory           </td>
          <td>(</td>
          <td class="paramtype">ICUServiceFactory *&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Register a new <a class="el" href="classCalendar.html">Calendar</a> factory. 
<p>
The factory will be adopted. INTERNAL in 2.6 <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>toAdopt</em>&nbsp;</td><td>the factory instance to be adopted </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>the in/out status code, no special meanings are assigned </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>a registry key that can be used to unregister this factory </dd></dl>
<dl compact><dt><b><a class="el" href="internal.html#_internal000119">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>

</div>
</div><p>
<a class="anchor" name="397c5c9c48463610bc87fcb84ac7a855"></a><!-- doxytag: member="Calendar::unregister" ref="397c5c9c48463610bc87fcb84ac7a855" args="(URegistryKey key, UErrorCode &amp;status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> Calendar::unregister           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="umisc_8h.html#b5905d79ed3b979840cee1d5fd48b4fb">URegistryKey</a>&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Unregister a previously-registered CalendarFactory using the key returned from the register call. 
<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 <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>key</em>&nbsp;</td><td>the registry key returned by a previous call to registerFactory </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>the in/out status code, no special meanings are assigned </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>TRUE if the factory for the key was successfully unregistered </dd></dl>
<dl compact><dt><b><a class="el" href="internal.html#_internal000120">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>

</div>
</div><p>
<a class="anchor" name="010c5db4934c67c9d714f5bb419eac15"></a><!-- doxytag: member="Calendar::haveDefaultCentury" ref="010c5db4934c67c9d714f5bb419eac15" args="() const=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> Calendar::haveDefaultCentury           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b><a class="el" href="internal.html#_internal000124">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. <dl class="return" compact><dt><b>Returns:</b></dt><dd>TRUE if this calendar has a default century (i.e. 03 -&gt; 2003) </dd></dl>
</dd></dl>

<p>
Implemented in <a class="el" href="classGregorianCalendar.html#d342bb553bcf7e20be3abcc3ce396079">GregorianCalendar</a>.
</div>
</div><p>
<a class="anchor" name="8090ff798d1c378d575fde800a99e186"></a><!-- doxytag: member="Calendar::defaultCenturyStart" ref="8090ff798d1c378d575fde800a99e186" args="() const=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a> Calendar::defaultCenturyStart           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b><a class="el" href="internal.html#_internal000125">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. <dl class="return" compact><dt><b>Returns:</b></dt><dd>the start of the default century, as a UDate </dd></dl>
</dd></dl>

<p>
Implemented in <a class="el" href="classGregorianCalendar.html#7acad5d814c6bbe2280bbb7295b8ed1c">GregorianCalendar</a>.
</div>
</div><p>
<a class="anchor" name="44814612cc87169430a20ea635d1043e"></a><!-- doxytag: member="Calendar::defaultCenturyStartYear" ref="44814612cc87169430a20ea635d1043e" args="() const=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> Calendar::defaultCenturyStartYear           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
<dl compact><dt><b><a class="el" href="internal.html#_internal000126">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. <dl class="return" compact><dt><b>Returns:</b></dt><dd>the beginning year of the default century, as a year </dd></dl>
</dd></dl>

<p>
Implemented in <a class="el" href="classGregorianCalendar.html#46cb26704e3bcfeab0426d6cab95d958">GregorianCalendar</a>.
</div>
</div><p>
<a class="anchor" name="c6f6102fef80597ce73a9ff8cdd12782"></a><!-- doxytag: member="Calendar::getLocale" ref="c6f6102fef80597ce73a9ff8cdd12782" args="(ULocDataLocaleType type, UErrorCode &amp;status) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classLocale.html">Locale</a> Calendar::getLocale           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="uloc_8h.html#df053345d343f8d82ae080f7a5871f34">ULocDataLocaleType</a>&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the locale for this calendar object. 
<p>
You can choose between valid and actual locale. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>type</em>&nbsp;</td><td>type of the locale we're looking for (valid or actual) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>error code for the operation </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the locale </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002066">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>

</div>
</div><p>
<a class="anchor" name="9ea68bc6a402e8f2ed57578a37364efe"></a><!-- doxytag: member="Calendar::getLocaleID" ref="9ea68bc6a402e8f2ed57578a37364efe" args="(ULocDataLocaleType type, UErrorCode &amp;status) const" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* Calendar::getLocaleID           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="uloc_8h.html#df053345d343f8d82ae080f7a5871f34">ULocDataLocaleType</a>&nbsp;</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#3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the locale for this calendar object. 
<p>
You can choose between valid and actual locale. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>type</em>&nbsp;</td><td>type of the locale we're looking for (valid or actual) </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>error code for the operation </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the locale </dd></dl>
<dl compact><dt><b><a class="el" href="internal.html#_internal000127">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>

</div>
</div><p>
<hr><h2>Friends And Related Function Documentation</h2>
<a class="anchor" name="7b8da58f16be9990955f60c930b4376d"></a><!-- doxytag: member="Calendar::CalendarFactory" ref="7b8da58f16be9990955f60c930b4376d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">friend class CalendarFactory<code> [friend]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Multiple <a class="el" href="classCalendar.html">Calendar</a> Implementation. 
<p>
<dl compact><dt><b><a class="el" href="internal.html#_internal000121">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>

<p>
Definition at line <a class="el" href="calendar_8h-source.html#l02062">2062</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
</div>
</div><p>
<a class="anchor" name="ef82cfadea9ca1be538463884884c8aa"></a><!-- doxytag: member="Calendar::CalendarService" ref="ef82cfadea9ca1be538463884884c8aa" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">friend class CalendarService<code> [friend]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Multiple <a class="el" href="classCalendar.html">Calendar</a> Implementation. 
<p>
<dl compact><dt><b><a class="el" href="internal.html#_internal000122">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>

<p>
Definition at line <a class="el" href="calendar_8h-source.html#l02068">2068</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
</div>
</div><p>
<a class="anchor" name="ffad2f956e924717f3de7ccd94224551"></a><!-- doxytag: member="Calendar::DefaultCalendarFactory" ref="ffad2f956e924717f3de7ccd94224551" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">friend class DefaultCalendarFactory<code> [friend]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Multiple <a class="el" href="classCalendar.html">Calendar</a> Implementation. 
<p>
<dl compact><dt><b><a class="el" href="internal.html#_internal000123">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>

<p>
Definition at line <a class="el" href="calendar_8h-source.html#l02074">2074</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
</div>
</div><p>
<hr><h2>Field Documentation</h2>
<a class="anchor" name="443112ee30874283a616c536293892c4"></a><!-- doxytag: member="Calendar::kDatePrecedence" ref="443112ee30874283a616c536293892c4" args="[]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="calendar_8h.html#b9f6041161064a1936388e94e9788fe2">UFieldResolutionTable</a> <a class="el" href="classCalendar.html#443112ee30874283a616c536293892c4">Calendar::kDatePrecedence</a>[]<code> [static, protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Precedence table for Dates. 
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classCalendar.html#10718404e300cb17f0d678f7cd1cfa8e">resolveFields</a> </dd></dl>
<dl compact><dt><b><a class="el" href="internal.html#_internal000097">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>

<p>
Definition at line <a class="el" href="calendar_8h-source.html#l01496">1496</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
</div>
</div><p>
<a class="anchor" name="e116e0cc5a2c5af58f736fd2199ebcd0"></a><!-- doxytag: member="Calendar::kYearPrecedence" ref="e116e0cc5a2c5af58f736fd2199ebcd0" args="[]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="calendar_8h.html#b9f6041161064a1936388e94e9788fe2">UFieldResolutionTable</a> <a class="el" href="classCalendar.html#e116e0cc5a2c5af58f736fd2199ebcd0">Calendar::kYearPrecedence</a>[]<code> [static, protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Precedence table for Year. 
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classCalendar.html#10718404e300cb17f0d678f7cd1cfa8e">resolveFields</a> </dd></dl>
<dl compact><dt><b><a class="el" href="internal.html#_internal000098">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>

<p>
Definition at line <a class="el" href="calendar_8h-source.html#l01503">1503</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
</div>
</div><p>
<a class="anchor" name="253f88ce055abc651d4784634bb65635"></a><!-- doxytag: member="Calendar::kDOWPrecedence" ref="253f88ce055abc651d4784634bb65635" args="[]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="calendar_8h.html#b9f6041161064a1936388e94e9788fe2">UFieldResolutionTable</a> <a class="el" href="classCalendar.html#253f88ce055abc651d4784634bb65635">Calendar::kDOWPrecedence</a>[]<code> [static, protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Precedence table for Day of Week. 
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classCalendar.html#10718404e300cb17f0d678f7cd1cfa8e">resolveFields</a> </dd></dl>
<dl compact><dt><b><a class="el" href="internal.html#_internal000099">Internal:</a></b></dt><dd>Do not use. This API is for interal use only. </dd></dl>

<p>
Definition at line <a class="el" href="calendar_8h-source.html#l01510">1510</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
</div>
</div><p>
<a class="anchor" name="6a3812124ab9abbd2a2f75b490a6b700"></a><!-- doxytag: member="Calendar::fIsTimeSet" ref="6a3812124ab9abbd2a2f75b490a6b700" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> <a class="el" href="classCalendar.html#6a3812124ab9abbd2a2f75b490a6b700">Calendar::fIsTimeSet</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>
Definition at line <a class="el" href="calendar_8h-source.html#l01572">1572</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
</div>
</div><p>
<a class="anchor" name="f19aa6e54f1220ffaf74d29071a6a589"></a><!-- doxytag: member="Calendar::fAreFieldsSet" ref="f19aa6e54f1220ffaf74d29071a6a589" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> <a class="el" href="classCalendar.html#f19aa6e54f1220ffaf74d29071a6a589">Calendar::fAreFieldsSet</a><code> [protected]</code>          </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="classCalendar.html">Calendar</a>. 
<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>
This should really be named areFieldsInSync, but the old name is retained for backward compatibility. <dl compact><dt><b><a class="el" href="stable.html#_stable002056">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Definition at line <a class="el" href="calendar_8h-source.html#l01584">1584</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
</div>
</div><p>
<a class="anchor" name="a198993ac97bca6bf80c2beb6657ed03"></a><!-- doxytag: member="Calendar::fAreAllFieldsSet" ref="a198993ac97bca6bf80c2beb6657ed03" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> <a class="el" href="classCalendar.html#a198993ac97bca6bf80c2beb6657ed03">Calendar::fAreAllFieldsSet</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
True if all of the fields have been set. 
<p>
This is initially false, and set to true by <a class="el" href="classCalendar.html#d0ff8705abd13f9c568fb4053e35e27b">computeFields()</a>. <dl compact><dt><b><a class="el" href="stable.html#_stable002057">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Definition at line <a class="el" href="calendar_8h-source.html#l01591">1591</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
</div>
</div><p>
<a class="anchor" name="223fef486de9d84635c8c2c887dee2b0"></a><!-- doxytag: member="Calendar::fAreFieldsVirtuallySet" ref="223fef486de9d84635c8c2c887dee2b0" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> <a class="el" href="classCalendar.html#223fef486de9d84635c8c2c887dee2b0">Calendar::fAreFieldsVirtuallySet</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
True if all fields have been virtually set, but have not yet been computed. 
<p>
This occurs only in <a class="el" href="classCalendar.html#4e33e7f83e803fb6092e32b988fe5305">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. <dl compact><dt><b><a class="el" href="stable.html#_stable002058">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl>

<p>
Definition at line <a class="el" href="calendar_8h-source.html#l01600">1600</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
</div>
</div><p>
<a class="anchor" name="4aeb857bb89a74dbe261896e6b6f6681"></a><!-- doxytag: member="Calendar::fFields" ref="4aeb857bb89a74dbe261896e6b6f6681" args="[UCAL_FIELD_COUNT]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> <a class="el" href="classCalendar.html#4aeb857bb89a74dbe261896e6b6f6681">Calendar::fFields</a>[UCAL_FIELD_COUNT]<code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>
Definition at line <a class="el" href="calendar_8h-source.html#l01623">1623</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
<p>
Referenced by <a class="el" href="calendar_8h-source.html#l02144">internalSet()</a>.
</div>
</div><p>
<a class="anchor" name="557209952758b6c128ddbc26955eb9dc"></a><!-- doxytag: member="Calendar::fIsSet" ref="557209952758b6c128ddbc26955eb9dc" args="[UCAL_FIELD_COUNT]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> <a class="el" href="classCalendar.html#557209952758b6c128ddbc26955eb9dc">Calendar::fIsSet</a>[UCAL_FIELD_COUNT]<code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The flags which tell if a specified time field for the calendar is set. 
<p>
<dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000182">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#l01629">1629</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
<p>
Referenced by <a class="el" href="calendar_8h-source.html#l02144">internalSet()</a>.
</div>
</div><p>
<a class="anchor" name="e1ab437231e76896ce2b7ccdbc106b0b"></a><!-- doxytag: member="Calendar::fStamp" ref="e1ab437231e76896ce2b7ccdbc106b0b" args="[UCAL_FIELD_COUNT]" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> <a class="el" href="classCalendar.html#e1ab437231e76896ce2b7ccdbc106b0b">Calendar::fStamp</a>[UCAL_FIELD_COUNT]<code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>
Definition at line <a class="el" href="calendar_8h-source.html#l01646">1646</a> of file <a class="el" href="calendar_8h-source.html">calendar.h</a>.
<p>
Referenced by <a class="el" href="calendar_8h-source.html#l02144">internalSet()</a>.
</div>
</div><p>
<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></ul>
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 14 12:59:38 2007 for ICU 3.8 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
</body>
</html>