403Webshell
Server IP : 103.119.228.120  /  Your IP : 52.14.100.101
Web Server : Apache
System : Linux v8.techscape8.com 3.10.0-1160.119.1.el7.tuxcare.els2.x86_64 #1 SMP Mon Jul 15 12:09:18 UTC 2024 x86_64
User : nobody ( 99)
PHP Version : 5.6.40
Disable Function : shell_exec,symlink,system,exec,proc_get_status,proc_nice,proc_terminate,define_syslog_variables,syslog,openlog,closelog,escapeshellcmd,passthru,ocinum cols,ini_alter,leak,listen,chgrp,apache_note,apache_setenv,debugger_on,debugger_off,ftp_exec,dl,dll,myshellexec,proc_open,socket_bind,proc_close,escapeshellarg,parse_ini_filepopen,fpassthru,exec,passthru,escapeshellarg,escapeshellcmd,proc_close,proc_open,ini_alter,popen,show_source,proc_nice,proc_terminate,proc_get_status,proc_close,pfsockopen,leak,apache_child_terminate,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,dl,symlink,shell_exec,system,dl,passthru,escapeshellarg,escapeshellcmd,myshellexec,c99_buff_prepare,c99_sess_put,fpassthru,getdisfunc,fx29exec,fx29exec2,is_windows,disp_freespace,fx29sh_getupdate,fx29_buff_prepare,fx29_sess_put,fx29shexit,fx29fsearch,fx29ftpbrutecheck,fx29sh_tools,fx29sh_about,milw0rm,imagez,sh_name,myshellexec,checkproxyhost,dosyayicek,c99_buff_prepare,c99_sess_put,c99getsource,c99sh_getupdate,c99fsearch,c99shexit,view_perms,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,parsesort,view_perms_color,set_encoder_input,ls_setcheckboxall,ls_reverse_all,rsg_read,rsg_glob,selfURL,dispsecinfo,unix2DosTime,addFile,system,get_users,view_size,DirFiles,DirFilesWide,DirPrintHTMLHeaders,GetFilesTotal,GetTitles,GetTimeTotal,GetMatchesCount,GetFileMatchesCount,GetResultFiles,fs_copy_dir,fs_copy_obj,fs_move_dir,fs_move_obj,fs_rmdir,SearchText,getmicrotime
MySQL : ON |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : ON |  Pkexec : ON
Directory :  /usr/local/ssl/local/ssl/local/ssl/local/easy/share/doc/easy-libicu-doc-4.0.1/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

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

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

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-types">Protected Types</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-static-methods">Static Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a> &#124;
<a href="#pro-static-attribs">Static Protected Attributes</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">Calendar Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

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

<p><code>#include &lt;<a class="el" href="calendar_8h_source.html">calendar.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Calendar:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classCalendar.png" usemap="#Calendar_map" alt=""/>
  <map id="Calendar_map" name="Calendar_map">
<area href="classUObject.html" title="UObject is the common ICU &quot;boilerplate&quot; class. " alt="UObject" shape="rect" coords="0,56,121,80"/>
<area href="classUMemory.html" title="UMemory is the common ICU base class. " alt="UMemory" shape="rect" coords="0,0,121,24"/>
<area href="classGregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. " alt="GregorianCalendar" shape="rect" coords="0,168,121,192"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a9aa66a9e8030312d5314e306c713913e"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a9aa66a9e8030312d5314e306c713913e">EDateFields</a> { <br/>
&#160;&#160;<b>ERA</b>, 
<b>YEAR</b>, 
<b>MONTH</b>, 
<b>WEEK_OF_YEAR</b>, 
<br/>
&#160;&#160;<b>WEEK_OF_MONTH</b>, 
<b>DATE</b>, 
<b>DAY_OF_YEAR</b>, 
<b>DAY_OF_WEEK</b>, 
<br/>
&#160;&#160;<b>DAY_OF_WEEK_IN_MONTH</b>, 
<b>AM_PM</b>, 
<b>HOUR</b>, 
<b>HOUR_OF_DAY</b>, 
<br/>
&#160;&#160;<b>MINUTE</b>, 
<b>SECOND</b>, 
<b>MILLISECOND</b>, 
<b>ZONE_OFFSET</b>, 
<br/>
&#160;&#160;<b>DST_OFFSET</b>, 
<b>YEAR_WOY</b>, 
<b>DOW_LOCAL</b>, 
<b>EXTENDED_YEAR</b>, 
<br/>
&#160;&#160;<b>JULIAN_DAY</b>, 
<b>MILLISECONDS_IN_DAY</b>, 
<b>IS_LEAP_MONTH</b>, 
<b>FIELD_COUNT</b> = UCAL_FIELD_COUNT
<br/>
 }</td></tr>
<tr class="memdesc:a9aa66a9e8030312d5314e306c713913e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Field IDs for date and time.  <a href="classCalendar.html#a9aa66a9e8030312d5314e306c713913e">More...</a><br/></td></tr>
<tr class="separator:a9aa66a9e8030312d5314e306c713913e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28d5c395b3200c812950321637796aa4"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a28d5c395b3200c812950321637796aa4">EDaysOfWeek</a> { <br/>
&#160;&#160;<b>SUNDAY</b> = 1, 
<b>MONDAY</b>, 
<b>TUESDAY</b>, 
<b>WEDNESDAY</b>, 
<br/>
&#160;&#160;<b>THURSDAY</b>, 
<b>FRIDAY</b>, 
<b>SATURDAY</b>
<br/>
 }</td></tr>
<tr class="memdesc:a28d5c395b3200c812950321637796aa4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for days of week.  <a href="classCalendar.html#a28d5c395b3200c812950321637796aa4">More...</a><br/></td></tr>
<tr class="separator:a28d5c395b3200c812950321637796aa4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26f00f1507a3dd73ba4553b6e04d8313"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a26f00f1507a3dd73ba4553b6e04d8313">EMonths</a> { <br/>
&#160;&#160;<b>JANUARY</b>, 
<b>FEBRUARY</b>, 
<b>MARCH</b>, 
<b>APRIL</b>, 
<br/>
&#160;&#160;<b>MAY</b>, 
<b>JUNE</b>, 
<b>JULY</b>, 
<b>AUGUST</b>, 
<br/>
&#160;&#160;<b>SEPTEMBER</b>, 
<b>OCTOBER</b>, 
<b>NOVEMBER</b>, 
<b>DECEMBER</b>, 
<br/>
&#160;&#160;<b>UNDECIMBER</b>
<br/>
 }</td></tr>
<tr class="memdesc:a26f00f1507a3dd73ba4553b6e04d8313"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constants for month.  <a href="classCalendar.html#a26f00f1507a3dd73ba4553b6e04d8313">More...</a><br/></td></tr>
<tr class="separator:a26f00f1507a3dd73ba4553b6e04d8313"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab68462e2ea07c44eaa88265c8c80ed28"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ab68462e2ea07c44eaa88265c8c80ed28">EAmpm</a> { <b>AM</b>, 
<b>PM</b>
 }</td></tr>
<tr class="memdesc:ab68462e2ea07c44eaa88265c8c80ed28"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constants for hour in 12-hour clock.  <a href="classCalendar.html#ab68462e2ea07c44eaa88265c8c80ed28">More...</a><br/></td></tr>
<tr class="separator:ab68462e2ea07c44eaa88265c8c80ed28"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a3d5422cc908f8666dd295f4f25a793e1"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a3d5422cc908f8666dd295f4f25a793e1">~Calendar</a> ()</td></tr>
<tr class="memdesc:a3d5422cc908f8666dd295f4f25a793e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">destructor  <a href="#a3d5422cc908f8666dd295f4f25a793e1">More...</a><br/></td></tr>
<tr class="separator:a3d5422cc908f8666dd295f4f25a793e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a369327438e076e64c99ec1d669919957"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classCalendar.html">Calendar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a369327438e076e64c99ec1d669919957">clone</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const =0</td></tr>
<tr class="memdesc:a369327438e076e64c99ec1d669919957"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create and return a polymorphic copy of this calendar.  <a href="#a369327438e076e64c99ec1d669919957">More...</a><br/></td></tr>
<tr class="separator:a369327438e076e64c99ec1d669919957"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84d108d140a43b019c3ab3d022d7c68b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a84d108d140a43b019c3ab3d022d7c68b">getTime</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a84d108d140a43b019c3ab3d022d7c68b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets this <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>'s time as milliseconds.  <a href="#a84d108d140a43b019c3ab3d022d7c68b">More...</a><br/></td></tr>
<tr class="separator:a84d108d140a43b019c3ab3d022d7c68b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b918629b9bfd29e888f5ab933bd0b9b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a4b918629b9bfd29e888f5ab933bd0b9b">setTime</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> date, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a4b918629b9bfd29e888f5ab933bd0b9b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets this <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>'s current time with the given UDate.  <a href="#a4b918629b9bfd29e888f5ab933bd0b9b">More...</a><br/></td></tr>
<tr class="separator:a4b918629b9bfd29e888f5ab933bd0b9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa231d324e53576d3198a0aedd129f3ad"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#aa231d324e53576d3198a0aedd129f3ad">operator==</a> (const <a class="el" href="classCalendar.html">Calendar</a> &amp;that) const </td></tr>
<tr class="memdesc:aa231d324e53576d3198a0aedd129f3ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compares the equality of two <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> objects.  <a href="#aa231d324e53576d3198a0aedd129f3ad">More...</a><br/></td></tr>
<tr class="separator:aa231d324e53576d3198a0aedd129f3ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab35bae6d03802181b0b529955126c6f0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ab35bae6d03802181b0b529955126c6f0">operator!=</a> (const <a class="el" href="classCalendar.html">Calendar</a> &amp;that) const </td></tr>
<tr class="memdesc:ab35bae6d03802181b0b529955126c6f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compares the inequality of two <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> objects.  <a href="#ab35bae6d03802181b0b529955126c6f0">More...</a><br/></td></tr>
<tr class="separator:ab35bae6d03802181b0b529955126c6f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50ab4c5aa1f93959282c71de04625935"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a50ab4c5aa1f93959282c71de04625935">isEquivalentTo</a> (const <a class="el" href="classCalendar.html">Calendar</a> &amp;other) const </td></tr>
<tr class="memdesc:a50ab4c5aa1f93959282c71de04625935"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns TRUE if the given <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> object is equivalent to this one.  <a href="#a50ab4c5aa1f93959282c71de04625935">More...</a><br/></td></tr>
<tr class="separator:a50ab4c5aa1f93959282c71de04625935"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3ed5a35ec465912fed9e8ed90992cdc9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a3ed5a35ec465912fed9e8ed90992cdc9">equals</a> (const <a class="el" href="classCalendar.html">Calendar</a> &amp;when, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a3ed5a35ec465912fed9e8ed90992cdc9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compares the <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> time, whereas <a class="el" href="classCalendar.html#aa231d324e53576d3198a0aedd129f3ad" title="Compares the equality of two Calendar objects. ">Calendar::operator==</a> compares the equality of <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> objects.  <a href="#a3ed5a35ec465912fed9e8ed90992cdc9">More...</a><br/></td></tr>
<tr class="separator:a3ed5a35ec465912fed9e8ed90992cdc9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46f47197740b6ea80d81743ec3af3fab"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a46f47197740b6ea80d81743ec3af3fab">before</a> (const <a class="el" href="classCalendar.html">Calendar</a> &amp;when, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a46f47197740b6ea80d81743ec3af3fab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if this <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>'s current time is before "when"'s current time.  <a href="#a46f47197740b6ea80d81743ec3af3fab">More...</a><br/></td></tr>
<tr class="separator:a46f47197740b6ea80d81743ec3af3fab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ca85aeccfad737241317ad4a3571926"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a2ca85aeccfad737241317ad4a3571926">after</a> (const <a class="el" href="classCalendar.html">Calendar</a> &amp;when, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a2ca85aeccfad737241317ad4a3571926"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if this <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>'s current time is after "when"'s current time.  <a href="#a2ca85aeccfad737241317ad4a3571926">More...</a><br/></td></tr>
<tr class="separator:a2ca85aeccfad737241317ad4a3571926"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c480d382487d1f05b717dbd310515b3"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a4c480d382487d1f05b717dbd310515b3">add</a> (<a class="el" href="classCalendar.html#a9aa66a9e8030312d5314e306c713913e">EDateFields</a> field, int32_t amount, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a4c480d382487d1f05b717dbd310515b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">UDate Arithmetic function.  <a href="#a4c480d382487d1f05b717dbd310515b3">More...</a><br/></td></tr>
<tr class="separator:a4c480d382487d1f05b717dbd310515b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a743c11819bc8823ece3d7ee9260f174f"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a743c11819bc8823ece3d7ee9260f174f">add</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, int32_t amount, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a743c11819bc8823ece3d7ee9260f174f"><td class="mdescLeft">&#160;</td><td class="mdescRight">UDate Arithmetic function.  <a href="#a743c11819bc8823ece3d7ee9260f174f">More...</a><br/></td></tr>
<tr class="separator:a743c11819bc8823ece3d7ee9260f174f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98e5b80bb733a6e8dec95b8ac0225a68"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a98e5b80bb733a6e8dec95b8ac0225a68">roll</a> (<a class="el" href="classCalendar.html#a9aa66a9e8030312d5314e306c713913e">EDateFields</a> field, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> up, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a98e5b80bb733a6e8dec95b8ac0225a68"><td class="mdescLeft">&#160;</td><td class="mdescRight">Time Field Rolling function.  <a href="#a98e5b80bb733a6e8dec95b8ac0225a68">More...</a><br/></td></tr>
<tr class="separator:a98e5b80bb733a6e8dec95b8ac0225a68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a95a3e423d17c1f415bc39b75cf77d2"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a1a95a3e423d17c1f415bc39b75cf77d2">roll</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> up, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a1a95a3e423d17c1f415bc39b75cf77d2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Time Field Rolling function.  <a href="#a1a95a3e423d17c1f415bc39b75cf77d2">More...</a><br/></td></tr>
<tr class="separator:a1a95a3e423d17c1f415bc39b75cf77d2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abff9f8c5e0b0206b9312e64a0ff89666"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#abff9f8c5e0b0206b9312e64a0ff89666">roll</a> (<a class="el" href="classCalendar.html#a9aa66a9e8030312d5314e306c713913e">EDateFields</a> field, int32_t amount, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:abff9f8c5e0b0206b9312e64a0ff89666"><td class="mdescLeft">&#160;</td><td class="mdescRight">Time Field Rolling function.  <a href="#abff9f8c5e0b0206b9312e64a0ff89666">More...</a><br/></td></tr>
<tr class="separator:abff9f8c5e0b0206b9312e64a0ff89666"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d5aa7348953398da594654c3edbb681"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a5d5aa7348953398da594654c3edbb681">roll</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, int32_t amount, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a5d5aa7348953398da594654c3edbb681"><td class="mdescLeft">&#160;</td><td class="mdescRight">Time Field Rolling function.  <a href="#a5d5aa7348953398da594654c3edbb681">More...</a><br/></td></tr>
<tr class="separator:a5d5aa7348953398da594654c3edbb681"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6cf48d67d31ee09a3ed5c6064a64e4cd"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a6cf48d67d31ee09a3ed5c6064a64e4cd">fieldDifference</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> when, <a class="el" href="classCalendar.html#a9aa66a9e8030312d5314e306c713913e">EDateFields</a> field, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a6cf48d67d31ee09a3ed5c6064a64e4cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the difference between the given time and the time this calendar object is set to.  <a href="#a6cf48d67d31ee09a3ed5c6064a64e4cd">More...</a><br/></td></tr>
<tr class="separator:a6cf48d67d31ee09a3ed5c6064a64e4cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a735b5e3c69f937e58dbb58c1ec50bd"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a1a735b5e3c69f937e58dbb58c1ec50bd">fieldDifference</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> when, <a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a1a735b5e3c69f937e58dbb58c1ec50bd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the difference between the given time and the time this calendar object is set to.  <a href="#a1a735b5e3c69f937e58dbb58c1ec50bd">More...</a><br/></td></tr>
<tr class="separator:a1a735b5e3c69f937e58dbb58c1ec50bd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af018c3a61cec42d055e320c1ff1d4292"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#af018c3a61cec42d055e320c1ff1d4292">adoptTimeZone</a> (<a class="el" href="classTimeZone.html">TimeZone</a> *value)</td></tr>
<tr class="memdesc:af018c3a61cec42d055e320c1ff1d4292"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the calendar's time zone to be the one passed in.  <a href="#af018c3a61cec42d055e320c1ff1d4292">More...</a><br/></td></tr>
<tr class="separator:af018c3a61cec42d055e320c1ff1d4292"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a26bbb988eecad26152a26c5b6aa183ef"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a26bbb988eecad26152a26c5b6aa183ef">setTimeZone</a> (const <a class="el" href="classTimeZone.html">TimeZone</a> &amp;zone)</td></tr>
<tr class="memdesc:a26bbb988eecad26152a26c5b6aa183ef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the calendar's time zone to be the same as the one passed in.  <a href="#a26bbb988eecad26152a26c5b6aa183ef">More...</a><br/></td></tr>
<tr class="separator:a26bbb988eecad26152a26c5b6aa183ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ef5c22031d5899ffbedc7032d892087"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classTimeZone.html">TimeZone</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a1ef5c22031d5899ffbedc7032d892087">getTimeZone</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr>
<tr class="memdesc:a1ef5c22031d5899ffbedc7032d892087"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a reference to the time zone owned by this calendar.  <a href="#a1ef5c22031d5899ffbedc7032d892087">More...</a><br/></td></tr>
<tr class="separator:a1ef5c22031d5899ffbedc7032d892087"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0d42eafa6a420463fa981aa34a3a6150"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTimeZone.html">TimeZone</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a0d42eafa6a420463fa981aa34a3a6150">orphanTimeZone</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>)</td></tr>
<tr class="memdesc:a0d42eafa6a420463fa981aa34a3a6150"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the time zone owned by this calendar.  <a href="#a0d42eafa6a420463fa981aa34a3a6150">More...</a><br/></td></tr>
<tr class="separator:a0d42eafa6a420463fa981aa34a3a6150"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8199d459b6d2171fb62620fab29b8668"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a8199d459b6d2171fb62620fab29b8668">inDaylightTime</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const =0</td></tr>
<tr class="memdesc:a8199d459b6d2171fb62620fab29b8668"><td class="mdescLeft">&#160;</td><td class="mdescRight">Queries if the current date for this <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> is in Daylight Savings Time.  <a href="#a8199d459b6d2171fb62620fab29b8668">More...</a><br/></td></tr>
<tr class="separator:a8199d459b6d2171fb62620fab29b8668"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d4084cd44bc04497309e01c161f45ee"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a7d4084cd44bc04497309e01c161f45ee">setLenient</a> (<a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> lenient)</td></tr>
<tr class="memdesc:a7d4084cd44bc04497309e01c161f45ee"><td class="mdescLeft">&#160;</td><td class="mdescRight">Specifies whether or not date/time interpretation is to be lenient.  <a href="#a7d4084cd44bc04497309e01c161f45ee">More...</a><br/></td></tr>
<tr class="separator:a7d4084cd44bc04497309e01c161f45ee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a183d1b14292fe017fc206a80e6734db9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a183d1b14292fe017fc206a80e6734db9">isLenient</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr>
<tr class="memdesc:a183d1b14292fe017fc206a80e6734db9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tells whether date/time interpretation is to be lenient.  <a href="#a183d1b14292fe017fc206a80e6734db9">More...</a><br/></td></tr>
<tr class="separator:a183d1b14292fe017fc206a80e6734db9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7df065eb046cd863eb201fc56b0429e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ab7df065eb046cd863eb201fc56b0429e">setFirstDayOfWeek</a> (<a class="el" href="classCalendar.html#a28d5c395b3200c812950321637796aa4">EDaysOfWeek</a> value)</td></tr>
<tr class="memdesc:ab7df065eb046cd863eb201fc56b0429e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets what the first day of the week is; e.g., Sunday in US, Monday in France.  <a href="#ab7df065eb046cd863eb201fc56b0429e">More...</a><br/></td></tr>
<tr class="separator:ab7df065eb046cd863eb201fc56b0429e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad304c4129e472a106b4027ac78aa09b8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ad304c4129e472a106b4027ac78aa09b8">setFirstDayOfWeek</a> (<a class="el" href="ucal_8h.html#a62d9fe551bd48e4141fce52b917119a4">UCalendarDaysOfWeek</a> value)</td></tr>
<tr class="memdesc:ad304c4129e472a106b4027ac78aa09b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets what the first day of the week is; e.g., Sunday in US, Monday in France.  <a href="#ad304c4129e472a106b4027ac78aa09b8">More...</a><br/></td></tr>
<tr class="separator:ad304c4129e472a106b4027ac78aa09b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a8bdc7ffb9d13e948ef0268dbdddc26"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCalendar.html#a28d5c395b3200c812950321637796aa4">EDaysOfWeek</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a0a8bdc7ffb9d13e948ef0268dbdddc26">getFirstDayOfWeek</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr>
<tr class="memdesc:a0a8bdc7ffb9d13e948ef0268dbdddc26"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets what the first day of the week is; e.g., Sunday in US, Monday in France.  <a href="#a0a8bdc7ffb9d13e948ef0268dbdddc26">More...</a><br/></td></tr>
<tr class="separator:a0a8bdc7ffb9d13e948ef0268dbdddc26"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a063ed9d458f2ab4fd0f4e40ab7d81307"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucal_8h.html#a62d9fe551bd48e4141fce52b917119a4">UCalendarDaysOfWeek</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a063ed9d458f2ab4fd0f4e40ab7d81307">getFirstDayOfWeek</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a063ed9d458f2ab4fd0f4e40ab7d81307"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets what the first day of the week is; e.g., Sunday in US, Monday in France.  <a href="#a063ed9d458f2ab4fd0f4e40ab7d81307">More...</a><br/></td></tr>
<tr class="separator:a063ed9d458f2ab4fd0f4e40ab7d81307"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad3c13b061c7ed103d6b31ac08a9026a6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ad3c13b061c7ed103d6b31ac08a9026a6">setMinimalDaysInFirstWeek</a> (uint8_t value)</td></tr>
<tr class="memdesc:ad3c13b061c7ed103d6b31ac08a9026a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets what the minimal days required in the first week of the year are; For example, if the first week is defined as one that contains the first day of the first month of a year, call the method with value 1.  <a href="#ad3c13b061c7ed103d6b31ac08a9026a6">More...</a><br/></td></tr>
<tr class="separator:ad3c13b061c7ed103d6b31ac08a9026a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac39fb4eea23b9ea863ac3119913a3322"><td class="memItemLeft" align="right" valign="top">uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ac39fb4eea23b9ea863ac3119913a3322">getMinimalDaysInFirstWeek</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr>
<tr class="memdesc:ac39fb4eea23b9ea863ac3119913a3322"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets what the minimal days required in the first week of the year are; e.g., if the first week is defined as one that contains the first day of the first month of a year, getMinimalDaysInFirstWeek returns 1.  <a href="#ac39fb4eea23b9ea863ac3119913a3322">More...</a><br/></td></tr>
<tr class="separator:ac39fb4eea23b9ea863ac3119913a3322"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c0793eb4f9ff0fc0cc1313188ee203a"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a2c0793eb4f9ff0fc0cc1313188ee203a">getMinimum</a> (<a class="el" href="classCalendar.html#a9aa66a9e8030312d5314e306c713913e">EDateFields</a> field) const </td></tr>
<tr class="memdesc:a2c0793eb4f9ff0fc0cc1313188ee203a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the minimum value for the given time field.  <a href="#a2c0793eb4f9ff0fc0cc1313188ee203a">More...</a><br/></td></tr>
<tr class="separator:a2c0793eb4f9ff0fc0cc1313188ee203a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b36ad1a0ae8cc44faf2062971c54dad"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a3b36ad1a0ae8cc44faf2062971c54dad">getMinimum</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field) const </td></tr>
<tr class="memdesc:a3b36ad1a0ae8cc44faf2062971c54dad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the minimum value for the given time field.  <a href="#a3b36ad1a0ae8cc44faf2062971c54dad">More...</a><br/></td></tr>
<tr class="separator:a3b36ad1a0ae8cc44faf2062971c54dad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac751035e7d9e6e744edc7d92fd471a4f"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ac751035e7d9e6e744edc7d92fd471a4f">getMaximum</a> (<a class="el" href="classCalendar.html#a9aa66a9e8030312d5314e306c713913e">EDateFields</a> field) const </td></tr>
<tr class="memdesc:ac751035e7d9e6e744edc7d92fd471a4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the maximum value for the given time field.  <a href="#ac751035e7d9e6e744edc7d92fd471a4f">More...</a><br/></td></tr>
<tr class="separator:ac751035e7d9e6e744edc7d92fd471a4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53ddf6470cb971f44d501a097ca52e7e"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a53ddf6470cb971f44d501a097ca52e7e">getMaximum</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field) const </td></tr>
<tr class="memdesc:a53ddf6470cb971f44d501a097ca52e7e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the maximum value for the given time field.  <a href="#a53ddf6470cb971f44d501a097ca52e7e">More...</a><br/></td></tr>
<tr class="separator:a53ddf6470cb971f44d501a097ca52e7e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b6cbd4db4fbfa4fb686689e70633265"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a5b6cbd4db4fbfa4fb686689e70633265">getGreatestMinimum</a> (<a class="el" href="classCalendar.html#a9aa66a9e8030312d5314e306c713913e">EDateFields</a> field) const </td></tr>
<tr class="memdesc:a5b6cbd4db4fbfa4fb686689e70633265"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the highest minimum value for the given field if varies.  <a href="#a5b6cbd4db4fbfa4fb686689e70633265">More...</a><br/></td></tr>
<tr class="separator:a5b6cbd4db4fbfa4fb686689e70633265"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a82e27703afb741739d0505b58d6860df"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a82e27703afb741739d0505b58d6860df">getGreatestMinimum</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field) const </td></tr>
<tr class="memdesc:a82e27703afb741739d0505b58d6860df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the highest minimum value for the given field if varies.  <a href="#a82e27703afb741739d0505b58d6860df">More...</a><br/></td></tr>
<tr class="separator:a82e27703afb741739d0505b58d6860df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aacf8382337e234b96bfe4e470dcc4817"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#aacf8382337e234b96bfe4e470dcc4817">getLeastMaximum</a> (<a class="el" href="classCalendar.html#a9aa66a9e8030312d5314e306c713913e">EDateFields</a> field) const </td></tr>
<tr class="memdesc:aacf8382337e234b96bfe4e470dcc4817"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the lowest maximum value for the given field if varies.  <a href="#aacf8382337e234b96bfe4e470dcc4817">More...</a><br/></td></tr>
<tr class="separator:aacf8382337e234b96bfe4e470dcc4817"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a053ab977d86c1a7256ccf59e13e87d88"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a053ab977d86c1a7256ccf59e13e87d88">getLeastMaximum</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field) const </td></tr>
<tr class="memdesc:a053ab977d86c1a7256ccf59e13e87d88"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the lowest maximum value for the given field if varies.  <a href="#a053ab977d86c1a7256ccf59e13e87d88">More...</a><br/></td></tr>
<tr class="separator:a053ab977d86c1a7256ccf59e13e87d88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e67d27df4e1579ce031de5e6ea05a2e"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a4e67d27df4e1579ce031de5e6ea05a2e">getActualMinimum</a> (<a class="el" href="classCalendar.html#a9aa66a9e8030312d5314e306c713913e">EDateFields</a> field, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a4e67d27df4e1579ce031de5e6ea05a2e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the minimum value that this field could have, given the current date.  <a href="#a4e67d27df4e1579ce031de5e6ea05a2e">More...</a><br/></td></tr>
<tr class="separator:a4e67d27df4e1579ce031de5e6ea05a2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affad02342fc829b1cb623698a57a1917"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#affad02342fc829b1cb623698a57a1917">getActualMinimum</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:affad02342fc829b1cb623698a57a1917"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the minimum value that this field could have, given the current date.  <a href="#affad02342fc829b1cb623698a57a1917">More...</a><br/></td></tr>
<tr class="separator:affad02342fc829b1cb623698a57a1917"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62c65424820ca64e850b346212eb35a7"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a62c65424820ca64e850b346212eb35a7">getActualMaximum</a> (<a class="el" href="classCalendar.html#a9aa66a9e8030312d5314e306c713913e">EDateFields</a> field, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a62c65424820ca64e850b346212eb35a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the maximum value that this field could have, given the current date.  <a href="#a62c65424820ca64e850b346212eb35a7">More...</a><br/></td></tr>
<tr class="separator:a62c65424820ca64e850b346212eb35a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af41a2769b5ce810d3ea5750c391c53b3"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#af41a2769b5ce810d3ea5750c391c53b3">getActualMaximum</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:af41a2769b5ce810d3ea5750c391c53b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the maximum value that this field could have, given the current date.  <a href="#af41a2769b5ce810d3ea5750c391c53b3">More...</a><br/></td></tr>
<tr class="separator:af41a2769b5ce810d3ea5750c391c53b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e86c32f3c5e1e45420d1b57fc5c369e"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a> (<a class="el" href="classCalendar.html#a9aa66a9e8030312d5314e306c713913e">EDateFields</a> field, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a0e86c32f3c5e1e45420d1b57fc5c369e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the value for a given time field.  <a href="#a0e86c32f3c5e1e45420d1b57fc5c369e">More...</a><br/></td></tr>
<tr class="separator:a0e86c32f3c5e1e45420d1b57fc5c369e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a473c5a767a72a2c390e2ffc6b971dbd9"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a473c5a767a72a2c390e2ffc6b971dbd9">get</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a473c5a767a72a2c390e2ffc6b971dbd9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the value for a given time field.  <a href="#a473c5a767a72a2c390e2ffc6b971dbd9">More...</a><br/></td></tr>
<tr class="separator:a473c5a767a72a2c390e2ffc6b971dbd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa58ac68d0d775d0766cf2d69d145233b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#aa58ac68d0d775d0766cf2d69d145233b">isSet</a> (<a class="el" href="classCalendar.html#a9aa66a9e8030312d5314e306c713913e">EDateFields</a> field) const </td></tr>
<tr class="memdesc:aa58ac68d0d775d0766cf2d69d145233b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines if the given time field has a value set.  <a href="#aa58ac68d0d775d0766cf2d69d145233b">More...</a><br/></td></tr>
<tr class="separator:aa58ac68d0d775d0766cf2d69d145233b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc3510e5a75c30637122bff345f639cb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#abc3510e5a75c30637122bff345f639cb">isSet</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field) const </td></tr>
<tr class="memdesc:abc3510e5a75c30637122bff345f639cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determines if the given time field has a value set.  <a href="#abc3510e5a75c30637122bff345f639cb">More...</a><br/></td></tr>
<tr class="separator:abc3510e5a75c30637122bff345f639cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a98ba908ffc6a88d6566983d4f95245df"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a98ba908ffc6a88d6566983d4f95245df">set</a> (<a class="el" href="classCalendar.html#a9aa66a9e8030312d5314e306c713913e">EDateFields</a> field, int32_t value)</td></tr>
<tr class="memdesc:a98ba908ffc6a88d6566983d4f95245df"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the given time field with the given value.  <a href="#a98ba908ffc6a88d6566983d4f95245df">More...</a><br/></td></tr>
<tr class="separator:a98ba908ffc6a88d6566983d4f95245df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a558039a413ea1e1a9bfd47375d12e4ea"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a558039a413ea1e1a9bfd47375d12e4ea">set</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, int32_t value)</td></tr>
<tr class="memdesc:a558039a413ea1e1a9bfd47375d12e4ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the given time field with the given value.  <a href="#a558039a413ea1e1a9bfd47375d12e4ea">More...</a><br/></td></tr>
<tr class="separator:a558039a413ea1e1a9bfd47375d12e4ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0de0f9d494dc1a347c64560c73609b09"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a0de0f9d494dc1a347c64560c73609b09">set</a> (int32_t year, int32_t month, int32_t date)</td></tr>
<tr class="memdesc:a0de0f9d494dc1a347c64560c73609b09"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the values for the fields YEAR, MONTH, and DATE.  <a href="#a0de0f9d494dc1a347c64560c73609b09">More...</a><br/></td></tr>
<tr class="separator:a0de0f9d494dc1a347c64560c73609b09"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acea9496f6dbb52f8682abe3c99c7c6c4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#acea9496f6dbb52f8682abe3c99c7c6c4">set</a> (int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute)</td></tr>
<tr class="memdesc:acea9496f6dbb52f8682abe3c99c7c6c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the values for the fields YEAR, MONTH, DATE, HOUR_OF_DAY, and MINUTE.  <a href="#acea9496f6dbb52f8682abe3c99c7c6c4">More...</a><br/></td></tr>
<tr class="separator:acea9496f6dbb52f8682abe3c99c7c6c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53bae01ea06605c7506d9956db1ef165"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a53bae01ea06605c7506d9956db1ef165">set</a> (int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute, int32_t second)</td></tr>
<tr class="memdesc:a53bae01ea06605c7506d9956db1ef165"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the values for the fields YEAR, MONTH, DATE, HOUR_OF_DAY, MINUTE, and SECOND.  <a href="#a53bae01ea06605c7506d9956db1ef165">More...</a><br/></td></tr>
<tr class="separator:a53bae01ea06605c7506d9956db1ef165"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e0409b7750ff09b7275a061bd6ae816"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a7e0409b7750ff09b7275a061bd6ae816">clear</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>)</td></tr>
<tr class="memdesc:a7e0409b7750ff09b7275a061bd6ae816"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the values of all the time fields, making them both unset and assigning them a value of zero.  <a href="#a7e0409b7750ff09b7275a061bd6ae816">More...</a><br/></td></tr>
<tr class="separator:a7e0409b7750ff09b7275a061bd6ae816"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac62813e912368d76cec3fccfba231108"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ac62813e912368d76cec3fccfba231108">clear</a> (<a class="el" href="classCalendar.html#a9aa66a9e8030312d5314e306c713913e">EDateFields</a> field)</td></tr>
<tr class="memdesc:ac62813e912368d76cec3fccfba231108"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the value in the given time field, both making it unset and assigning it a value of zero.  <a href="#ac62813e912368d76cec3fccfba231108">More...</a><br/></td></tr>
<tr class="separator:ac62813e912368d76cec3fccfba231108"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aad6c0532f6b52c5feb288615e3e2b681"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#aad6c0532f6b52c5feb288615e3e2b681">clear</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field)</td></tr>
<tr class="memdesc:aad6c0532f6b52c5feb288615e3e2b681"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the value in the given time field, both making it unset and assigning it a value of zero.  <a href="#aad6c0532f6b52c5feb288615e3e2b681">More...</a><br/></td></tr>
<tr class="separator:aad6c0532f6b52c5feb288615e3e2b681"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a13e235c4396d92fc3b129d6a07e6076a"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a13e235c4396d92fc3b129d6a07e6076a">getDynamicClassID</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const =0</td></tr>
<tr class="memdesc:a13e235c4396d92fc3b129d6a07e6076a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a unique class ID POLYMORPHICALLY.  <a href="#a13e235c4396d92fc3b129d6a07e6076a">More...</a><br/></td></tr>
<tr class="separator:a13e235c4396d92fc3b129d6a07e6076a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a46741d547451faae02591381593d127b"><td class="memItemLeft" align="right" valign="top">virtual const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a46741d547451faae02591381593d127b">getType</a> () const =0</td></tr>
<tr class="memdesc:a46741d547451faae02591381593d127b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the resource key string used for this calendar type.  <a href="#a46741d547451faae02591381593d127b">More...</a><br/></td></tr>
<tr class="separator:a46741d547451faae02591381593d127b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5bb9c44ecea69ad64d813fe41de6efa"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ae5bb9c44ecea69ad64d813fe41de6efa">haveDefaultCentury</a> () const =0</td></tr>
<tr class="separator:ae5bb9c44ecea69ad64d813fe41de6efa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a745cdbb7e0477cb7c3bb2b29bd0b4350"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a745cdbb7e0477cb7c3bb2b29bd0b4350">defaultCenturyStart</a> () const =0</td></tr>
<tr class="separator:a745cdbb7e0477cb7c3bb2b29bd0b4350"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4fa3cf26747f8decdb71d2f3786e9a34"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a4fa3cf26747f8decdb71d2f3786e9a34">defaultCenturyStartYear</a> () const =0</td></tr>
<tr class="separator:a4fa3cf26747f8decdb71d2f3786e9a34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a019f867554a0f3dbc3ee865bf7864295"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classLocale.html">Locale</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a019f867554a0f3dbc3ee865bf7864295">getLocale</a> (<a class="el" href="uloc_8h.html#adf053345d343f8d82ae080f7a5871f34">ULocDataLocaleType</a> type, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a019f867554a0f3dbc3ee865bf7864295"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the locale for this calendar object.  <a href="#a019f867554a0f3dbc3ee865bf7864295">More...</a><br/></td></tr>
<tr class="separator:a019f867554a0f3dbc3ee865bf7864295"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec71fd785775da0decb82cd819ccfaba"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#aec71fd785775da0decb82cd819ccfaba">getLocaleID</a> (<a class="el" href="uloc_8h.html#adf053345d343f8d82ae080f7a5871f34">ULocDataLocaleType</a> type, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:aec71fd785775da0decb82cd819ccfaba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the locale for this calendar object.  <a href="#aec71fd785775da0decb82cd819ccfaba">More...</a><br/></td></tr>
<tr class="separator:aec71fd785775da0decb82cd819ccfaba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classUObject"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classUObject')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classUObject.html">UObject</a></td></tr>
<tr class="memitem:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUObject.html#ace22cf29a90641ef43350deae5bedb85">~UObject</a> ()</td></tr>
<tr class="memdesc:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#ace22cf29a90641ef43350deae5bedb85">More...</a><br/></td></tr>
<tr class="separator:ace22cf29a90641ef43350deae5bedb85 inherit pub_methods_classUObject"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a1872a90e5aaae1cfe3e826248fa9b497"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classCalendar.html">Calendar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a1872a90e5aaae1cfe3e826248fa9b497">createInstance</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;success)</td></tr>
<tr class="memdesc:a1872a90e5aaae1cfe3e826248fa9b497"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> using the default timezone and locale.  <a href="#a1872a90e5aaae1cfe3e826248fa9b497">More...</a><br/></td></tr>
<tr class="separator:a1872a90e5aaae1cfe3e826248fa9b497"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad1991655c5d12be8f321026c8b86e33a"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classCalendar.html">Calendar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ad1991655c5d12be8f321026c8b86e33a">createInstance</a> (<a class="el" href="classTimeZone.html">TimeZone</a> *zoneToAdopt, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;success)</td></tr>
<tr class="memdesc:ad1991655c5d12be8f321026c8b86e33a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> using the given timezone and the default locale.  <a href="#ad1991655c5d12be8f321026c8b86e33a">More...</a><br/></td></tr>
<tr class="separator:ad1991655c5d12be8f321026c8b86e33a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a175df133c28993f82204a45f606cf6dd"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classCalendar.html">Calendar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a175df133c28993f82204a45f606cf6dd">createInstance</a> (const <a class="el" href="classTimeZone.html">TimeZone</a> &amp;zone, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;success)</td></tr>
<tr class="memdesc:a175df133c28993f82204a45f606cf6dd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> using the given timezone and the default locale.  <a href="#a175df133c28993f82204a45f606cf6dd">More...</a><br/></td></tr>
<tr class="separator:a175df133c28993f82204a45f606cf6dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60ba2c6b6de35fb26560b796d726d9b3"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classCalendar.html">Calendar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a60ba2c6b6de35fb26560b796d726d9b3">createInstance</a> (const <a class="el" href="classLocale.html">Locale</a> &amp;aLocale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;success)</td></tr>
<tr class="memdesc:a60ba2c6b6de35fb26560b796d726d9b3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> using the default timezone and the given locale.  <a href="#a60ba2c6b6de35fb26560b796d726d9b3">More...</a><br/></td></tr>
<tr class="separator:a60ba2c6b6de35fb26560b796d726d9b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e58744fcd29c45b18826b9b7ebf6a3b"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classCalendar.html">Calendar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a4e58744fcd29c45b18826b9b7ebf6a3b">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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;success)</td></tr>
<tr class="memdesc:a4e58744fcd29c45b18826b9b7ebf6a3b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> using the given timezone and given locale.  <a href="#a4e58744fcd29c45b18826b9b7ebf6a3b">More...</a><br/></td></tr>
<tr class="separator:a4e58744fcd29c45b18826b9b7ebf6a3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a264ca0cd356b7431080d4de4078bb905"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classCalendar.html">Calendar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a264ca0cd356b7431080d4de4078bb905">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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;success)</td></tr>
<tr class="memdesc:a264ca0cd356b7431080d4de4078bb905"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets a <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> using the given timezone and given locale.  <a href="#a264ca0cd356b7431080d4de4078bb905">More...</a><br/></td></tr>
<tr class="separator:a264ca0cd356b7431080d4de4078bb905"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b87567eb37ad5c07c17e6a2c46d257e"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classLocale.html">Locale</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a6b87567eb37ad5c07c17e6a2c46d257e">getAvailableLocales</a> (int32_t &amp;count)</td></tr>
<tr class="memdesc:a6b87567eb37ad5c07c17e6a2c46d257e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a list of the locales for which Calendars are installed.  <a href="#a6b87567eb37ad5c07c17e6a2c46d257e">More...</a><br/></td></tr>
<tr class="separator:a6b87567eb37ad5c07c17e6a2c46d257e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aab1712ccf7b261332a4d14c71dc6994e"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#aab1712ccf7b261332a4d14c71dc6994e">getNow</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>)</td></tr>
<tr class="memdesc:aab1712ccf7b261332a4d14c71dc6994e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the current UTC (GMT) time measured in milliseconds since 0:00:00 on 1/1/70 (derived from the system time).  <a href="#aab1712ccf7b261332a4d14c71dc6994e">More...</a><br/></td></tr>
<tr class="separator:aab1712ccf7b261332a4d14c71dc6994e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc0142552cd2e3fa56ed7a800edf4f2d"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classStringEnumeration.html">StringEnumeration</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#adc0142552cd2e3fa56ed7a800edf4f2d">getAvailableLocales</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>)</td></tr>
<tr class="memdesc:adc0142552cd2e3fa56ed7a800edf4f2d"><td class="mdescLeft">&#160;</td><td class="mdescRight">INTERNAL FOR 2.6 &ndash; Registration.  <a href="#adc0142552cd2e3fa56ed7a800edf4f2d">More...</a><br/></td></tr>
<tr class="separator:adc0142552cd2e3fa56ed7a800edf4f2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8118ce78632ea4a749e15d24a5f9560a"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="umisc_8h.html#ab5905d79ed3b979840cee1d5fd48b4fb">URegistryKey</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a8118ce78632ea4a749e15d24a5f9560a">registerFactory</a> (ICUServiceFactory *toAdopt, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a8118ce78632ea4a749e15d24a5f9560a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Register a new <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> factory.  <a href="#a8118ce78632ea4a749e15d24a5f9560a">More...</a><br/></td></tr>
<tr class="separator:a8118ce78632ea4a749e15d24a5f9560a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a397c5c9c48463610bc87fcb84ac7a855"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a397c5c9c48463610bc87fcb84ac7a855">unregister</a> (<a class="el" href="umisc_8h.html#ab5905d79ed3b979840cee1d5fd48b4fb">URegistryKey</a> key, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a397c5c9c48463610bc87fcb84ac7a855"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unregister a previously-registered CalendarFactory using the key returned from the register call.  <a href="#a397c5c9c48463610bc87fcb84ac7a855">More...</a><br/></td></tr>
<tr class="separator:a397c5c9c48463610bc87fcb84ac7a855"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_classUMemory"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classUMemory')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classUMemory.html">UMemory</a></td></tr>
<tr class="memitem:a309b19b5777e2840b85b202aef5a54fb inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a309b19b5777e2840b85b202aef5a54fb">operator new</a> (size_t size)</td></tr>
<tr class="memdesc:a309b19b5777e2840b85b202aef5a54fb inherit pub_static_methods_classUMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override for ICU4C C++ memory management.  <a href="#a309b19b5777e2840b85b202aef5a54fb">More...</a><br/></td></tr>
<tr class="separator:a309b19b5777e2840b85b202aef5a54fb inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d0df3571728e7b8a823dbbea6e9b5c5 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a4d0df3571728e7b8a823dbbea6e9b5c5">operator new[]</a> (size_t size)</td></tr>
<tr class="memdesc:a4d0df3571728e7b8a823dbbea6e9b5c5 inherit pub_static_methods_classUMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override for ICU4C C++ memory management.  <a href="#a4d0df3571728e7b8a823dbbea6e9b5c5">More...</a><br/></td></tr>
<tr class="separator:a4d0df3571728e7b8a823dbbea6e9b5c5 inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adcda65a58813749f8f45c5e6c1ed37e1 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#adcda65a58813749f8f45c5e6c1ed37e1">operator delete</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *p)</td></tr>
<tr class="memdesc:adcda65a58813749f8f45c5e6c1ed37e1 inherit pub_static_methods_classUMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override for ICU4C C++ memory management.  <a href="#adcda65a58813749f8f45c5e6c1ed37e1">More...</a><br/></td></tr>
<tr class="separator:adcda65a58813749f8f45c5e6c1ed37e1 inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7602a7a8c6fdff21d9fbecea4d899333 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a7602a7a8c6fdff21d9fbecea4d899333">operator delete[]</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *p)</td></tr>
<tr class="memdesc:a7602a7a8c6fdff21d9fbecea4d899333 inherit pub_static_methods_classUMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override for ICU4C C++ memory management.  <a href="#a7602a7a8c6fdff21d9fbecea4d899333">More...</a><br/></td></tr>
<tr class="separator:a7602a7a8c6fdff21d9fbecea4d899333 inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a43b5221fe429f77230b2040f8724c154 inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a43b5221fe429f77230b2040f8724c154">operator new</a> (size_t, <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *ptr)</td></tr>
<tr class="memdesc:a43b5221fe429f77230b2040f8724c154 inherit pub_static_methods_classUMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override for ICU4C C++ memory management for STL.  <a href="#a43b5221fe429f77230b2040f8724c154">More...</a><br/></td></tr>
<tr class="separator:a43b5221fe429f77230b2040f8724c154 inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9b746b0cdb49c8f8907773002ea5c4ea inherit pub_static_methods_classUMemory"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classUMemory.html#a9b746b0cdb49c8f8907773002ea5c4ea">operator delete</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *, <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> *)</td></tr>
<tr class="memdesc:a9b746b0cdb49c8f8907773002ea5c4ea inherit pub_static_methods_classUMemory"><td class="mdescLeft">&#160;</td><td class="mdescRight">Override for ICU4C C++ memory management for STL.  <a href="#a9b746b0cdb49c8f8907773002ea5c4ea">More...</a><br/></td></tr>
<tr class="separator:a9b746b0cdb49c8f8907773002ea5c4ea inherit pub_static_methods_classUMemory"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-types"></a>
Protected Types</h2></td></tr>
<tr class="memitem:aed3b40eef888db3a26315f3a0c37b076"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#aed3b40eef888db3a26315f3a0c37b076">ELimitType</a> { <br/>
&#160;&#160;<b>UCAL_LIMIT_MINIMUM</b> = 0, 
<b>UCAL_LIMIT_GREATEST_MINIMUM</b>, 
<b>UCAL_LIMIT_LEAST_MAXIMUM</b>, 
<b>UCAL_LIMIT_MAXIMUM</b>, 
<br/>
&#160;&#160;<b>UCAL_LIMIT_COUNT</b>
<br/>
 }</td></tr>
<tr class="memdesc:aed3b40eef888db3a26315f3a0c37b076"><td class="mdescLeft">&#160;</td><td class="mdescRight">Limit enums.  <a href="classCalendar.html#aed3b40eef888db3a26315f3a0c37b076">More...</a><br/></td></tr>
<tr class="separator:aed3b40eef888db3a26315f3a0c37b076"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b8bac9c3abcdaceced9b50535e3eaae"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom">{ <a class="el" href="classCalendar.html#a5b8bac9c3abcdaceced9b50535e3eaaea629ecd3850c09395432c5d86b6339951">kResolveSTOP</a> = -1, 
<a class="el" href="classCalendar.html#a5b8bac9c3abcdaceced9b50535e3eaaeaf9aab2d453c5af0e81408c797ea39395">kResolveRemap</a> = 32
 }</td></tr>
<tr class="memdesc:a5b8bac9c3abcdaceced9b50535e3eaae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Values for field resolution tables.  <a href="classCalendar.html#a5b8bac9c3abcdaceced9b50535e3eaae">More...</a><br/></td></tr>
<tr class="separator:a5b8bac9c3abcdaceced9b50535e3eaae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8565777726984278f5e105fafcb60be"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom">{ <b>kUnset</b> = 0, 
<b>kInternallySet</b>, 
<b>kMinimumUserStamp</b>
 }</td></tr>
<tr class="memdesc:af8565777726984278f5e105fafcb60be"><td class="mdescLeft">&#160;</td><td class="mdescRight">Special values of stamp[].  <a href="classCalendar.html#af8565777726984278f5e105fafcb60be">More...</a><br/></td></tr>
<tr class="separator:af8565777726984278f5e105fafcb60be"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a1807a722455fad6331a8a064273e6e20"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a1807a722455fad6331a8a064273e6e20">Calendar</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;success)</td></tr>
<tr class="memdesc:a1807a722455fad6331a8a064273e6e20"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> with the default time zone as returned by TimeZone::createInstance(), and the default locale.  <a href="#a1807a722455fad6331a8a064273e6e20">More...</a><br/></td></tr>
<tr class="separator:a1807a722455fad6331a8a064273e6e20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac96446048cf739bc1d280cdc65a23db0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ac96446048cf739bc1d280cdc65a23db0">Calendar</a> (const <a class="el" href="classCalendar.html">Calendar</a> &amp;source)</td></tr>
<tr class="memdesc:ac96446048cf739bc1d280cdc65a23db0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copy constructor.  <a href="#ac96446048cf739bc1d280cdc65a23db0">More...</a><br/></td></tr>
<tr class="separator:ac96446048cf739bc1d280cdc65a23db0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3bcbd2497e977c8324cc0b089879c3a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCalendar.html">Calendar</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ac3bcbd2497e977c8324cc0b089879c3a">operator=</a> (const <a class="el" href="classCalendar.html">Calendar</a> &amp;right)</td></tr>
<tr class="memdesc:ac3bcbd2497e977c8324cc0b089879c3a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default assignment operator.  <a href="#ac3bcbd2497e977c8324cc0b089879c3a">More...</a><br/></td></tr>
<tr class="separator:ac3bcbd2497e977c8324cc0b089879c3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf90dad3da55d4c3ffa5fdabf099b88c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#acf90dad3da55d4c3ffa5fdabf099b88c">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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;success)</td></tr>
<tr class="memdesc:acf90dad3da55d4c3ffa5fdabf099b88c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> with the given time zone and locale.  <a href="#acf90dad3da55d4c3ffa5fdabf099b88c">More...</a><br/></td></tr>
<tr class="separator:acf90dad3da55d4c3ffa5fdabf099b88c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41eb1824078a3d3d371e97c0314e3eda"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a41eb1824078a3d3d371e97c0314e3eda">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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;success)</td></tr>
<tr class="memdesc:a41eb1824078a3d3d371e97c0314e3eda"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> with the given time zone and locale.  <a href="#a41eb1824078a3d3d371e97c0314e3eda">More...</a><br/></td></tr>
<tr class="separator:a41eb1824078a3d3d371e97c0314e3eda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd6f300d2cc51b0d75b57d7be1347844"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#acd6f300d2cc51b0d75b57d7be1347844">computeTime</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:acd6f300d2cc51b0d75b57d7be1347844"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>'s time field values to GMT as milliseconds.  <a href="#acd6f300d2cc51b0d75b57d7be1347844">More...</a><br/></td></tr>
<tr class="separator:acd6f300d2cc51b0d75b57d7be1347844"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad0ff8705abd13f9c568fb4053e35e27b"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ad0ff8705abd13f9c568fb4053e35e27b">computeFields</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:ad0ff8705abd13f9c568fb4053e35e27b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts GMT as milliseconds to time field values.  <a href="#ad0ff8705abd13f9c568fb4053e35e27b">More...</a><br/></td></tr>
<tr class="separator:ad0ff8705abd13f9c568fb4053e35e27b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5aa1432697348561cc9259bc2c0974c0"><td class="memItemLeft" align="right" valign="top">double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a5aa1432697348561cc9259bc2c0974c0">getTimeInMillis</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status) const </td></tr>
<tr class="memdesc:a5aa1432697348561cc9259bc2c0974c0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets this <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>'s current time as a long.  <a href="#a5aa1432697348561cc9259bc2c0974c0">More...</a><br/></td></tr>
<tr class="separator:a5aa1432697348561cc9259bc2c0974c0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e33e7f83e803fb6092e32b988fe5305"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a4e33e7f83e803fb6092e32b988fe5305">setTimeInMillis</a> (double millis, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a4e33e7f83e803fb6092e32b988fe5305"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets this <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>'s current time from the given long value.  <a href="#a4e33e7f83e803fb6092e32b988fe5305">More...</a><br/></td></tr>
<tr class="separator:a4e33e7f83e803fb6092e32b988fe5305"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a90717eab221acdd4d67b5d250c56247e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a90717eab221acdd4d67b5d250c56247e">complete</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a90717eab221acdd4d67b5d250c56247e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Recomputes the current time from currently set fields, and then fills in any unset fields in the time field list.  <a href="#a90717eab221acdd4d67b5d250c56247e">More...</a><br/></td></tr>
<tr class="separator:a90717eab221acdd4d67b5d250c56247e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afcc83cb53a32ea4898280dfaa1a1d881"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#afcc83cb53a32ea4898280dfaa1a1d881">internalGet</a> (<a class="el" href="classCalendar.html#a9aa66a9e8030312d5314e306c713913e">EDateFields</a> field) const </td></tr>
<tr class="memdesc:afcc83cb53a32ea4898280dfaa1a1d881"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the value for a given time field.  <a href="#afcc83cb53a32ea4898280dfaa1a1d881">More...</a><br/></td></tr>
<tr class="separator:afcc83cb53a32ea4898280dfaa1a1d881"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada18cdb870dd8e8e8507018c93a42ec0"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ada18cdb870dd8e8e8507018c93a42ec0">internalGet</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, int32_t defaultValue) const </td></tr>
<tr class="memdesc:ada18cdb870dd8e8e8507018c93a42ec0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the value for a given time field.  <a href="#ada18cdb870dd8e8e8507018c93a42ec0">More...</a><br/></td></tr>
<tr class="separator:ada18cdb870dd8e8e8507018c93a42ec0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe0e23ba4107c023faf3fd6f70a1e78c"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#abe0e23ba4107c023faf3fd6f70a1e78c">internalGet</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field) const </td></tr>
<tr class="memdesc:abe0e23ba4107c023faf3fd6f70a1e78c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the value for a given time field.  <a href="#abe0e23ba4107c023faf3fd6f70a1e78c">More...</a><br/></td></tr>
<tr class="separator:abe0e23ba4107c023faf3fd6f70a1e78c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1966488fa1954b3ef426c8dde4d341c6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a1966488fa1954b3ef426c8dde4d341c6">internalSet</a> (<a class="el" href="classCalendar.html#a9aa66a9e8030312d5314e306c713913e">EDateFields</a> field, int32_t value)</td></tr>
<tr class="memdesc:a1966488fa1954b3ef426c8dde4d341c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the value for a given time field.  <a href="#a1966488fa1954b3ef426c8dde4d341c6">More...</a><br/></td></tr>
<tr class="separator:a1966488fa1954b3ef426c8dde4d341c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80318e4604dde732ac89aa81311fbf68"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a80318e4604dde732ac89aa81311fbf68">internalSet</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, int32_t value)</td></tr>
<tr class="memdesc:a80318e4604dde732ac89aa81311fbf68"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the value for a given time field.  <a href="#a80318e4604dde732ac89aa81311fbf68">More...</a><br/></td></tr>
<tr class="separator:a80318e4604dde732ac89aa81311fbf68"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a660d320b4e90c159bdf1bb8f0678818a"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a660d320b4e90c159bdf1bb8f0678818a">prepareGetActual</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> isMinimum, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a660d320b4e90c159bdf1bb8f0678818a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Prepare this calendar for computing the actual minimum or maximum.  <a href="#a660d320b4e90c159bdf1bb8f0678818a">More...</a><br/></td></tr>
<tr class="separator:a660d320b4e90c159bdf1bb8f0678818a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd43a5f74be144b5ac90bc57a2f9cede"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#afd43a5f74be144b5ac90bc57a2f9cede">handleGetLimit</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="classCalendar.html#aed3b40eef888db3a26315f3a0c37b076">ELimitType</a> limitType) const =0</td></tr>
<tr class="memdesc:afd43a5f74be144b5ac90bc57a2f9cede"><td class="mdescLeft">&#160;</td><td class="mdescRight">Subclass API for defining limits of different types.  <a href="#afd43a5f74be144b5ac90bc57a2f9cede">More...</a><br/></td></tr>
<tr class="separator:afd43a5f74be144b5ac90bc57a2f9cede"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8083df729da06f0271e29e8b7e4376d6"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a8083df729da06f0271e29e8b7e4376d6">getLimit</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="classCalendar.html#aed3b40eef888db3a26315f3a0c37b076">ELimitType</a> limitType) const </td></tr>
<tr class="memdesc:a8083df729da06f0271e29e8b7e4376d6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a limit for a field.  <a href="#a8083df729da06f0271e29e8b7e4376d6">More...</a><br/></td></tr>
<tr class="separator:a8083df729da06f0271e29e8b7e4376d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:addb140c1bca76059b1a4084433ab67db"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#addb140c1bca76059b1a4084433ab67db">handleComputeMonthStart</a> (int32_t eyear, int32_t month, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> useMonth) const =0</td></tr>
<tr class="memdesc:addb140c1bca76059b1a4084433ab67db"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the Julian day number of day before the first day of the given month in the given extended year.  <a href="#addb140c1bca76059b1a4084433ab67db">More...</a><br/></td></tr>
<tr class="separator:addb140c1bca76059b1a4084433ab67db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaa7b064d37f1ac4b66dc57fef6481cda"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#aaa7b064d37f1ac4b66dc57fef6481cda">handleGetMonthLength</a> (int32_t extendedYear, int32_t month) const </td></tr>
<tr class="memdesc:aaa7b064d37f1ac4b66dc57fef6481cda"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the number of days in the given month of the given extended year of this calendar system.  <a href="#aaa7b064d37f1ac4b66dc57fef6481cda">More...</a><br/></td></tr>
<tr class="separator:aaa7b064d37f1ac4b66dc57fef6481cda"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb983bdeebcfb0441ed46256b0f444cc"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#acb983bdeebcfb0441ed46256b0f444cc">handleGetYearLength</a> (int32_t eyear) const </td></tr>
<tr class="memdesc:acb983bdeebcfb0441ed46256b0f444cc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the number of days in the given extended year of this calendar system.  <a href="#acb983bdeebcfb0441ed46256b0f444cc">More...</a><br/></td></tr>
<tr class="separator:acb983bdeebcfb0441ed46256b0f444cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a465fbc6494f2126892dcd694217697f4"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a465fbc6494f2126892dcd694217697f4">handleGetExtendedYear</a> ()=0</td></tr>
<tr class="memdesc:a465fbc6494f2126892dcd694217697f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the extended year defined by the current fields.  <a href="#a465fbc6494f2126892dcd694217697f4">More...</a><br/></td></tr>
<tr class="separator:a465fbc6494f2126892dcd694217697f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd953ab4dc160ffc1b586c627c2c6ad9"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#afd953ab4dc160ffc1b586c627c2c6ad9">handleComputeJulianDay</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> bestField)</td></tr>
<tr class="memdesc:afd953ab4dc160ffc1b586c627c2c6ad9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Subclasses may override this.  <a href="#afd953ab4dc160ffc1b586c627c2c6ad9">More...</a><br/></td></tr>
<tr class="separator:afd953ab4dc160ffc1b586c627c2c6ad9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a116247236ceda5f3d5424767d3c3c561"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a116247236ceda5f3d5424767d3c3c561">handleGetExtendedYearFromWeekFields</a> (int32_t yearWoy, int32_t woy)</td></tr>
<tr class="memdesc:a116247236ceda5f3d5424767d3c3c561"><td class="mdescLeft">&#160;</td><td class="mdescRight">Subclasses must override this to convert from week fields (YEAR_WOY and WEEK_OF_YEAR) to an extended year in the case where YEAR, EXTENDED_YEAR are not set.  <a href="#a116247236ceda5f3d5424767d3c3c561">More...</a><br/></td></tr>
<tr class="separator:a116247236ceda5f3d5424767d3c3c561"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad32ba7616507ea59d2f59ee4a5f82fd7"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ad32ba7616507ea59d2f59ee4a5f82fd7">computeJulianDay</a> ()</td></tr>
<tr class="memdesc:ad32ba7616507ea59d2f59ee4a5f82fd7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the Julian day from fields.  <a href="#ad32ba7616507ea59d2f59ee4a5f82fd7">More...</a><br/></td></tr>
<tr class="separator:ad32ba7616507ea59d2f59ee4a5f82fd7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8c299396a6124e4cbdc9ef88642d0151"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a8c299396a6124e4cbdc9ef88642d0151">computeMillisInDay</a> ()</td></tr>
<tr class="memdesc:a8c299396a6124e4cbdc9ef88642d0151"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the milliseconds in the day from the fields.  <a href="#a8c299396a6124e4cbdc9ef88642d0151">More...</a><br/></td></tr>
<tr class="separator:a8c299396a6124e4cbdc9ef88642d0151"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17f77e9844d0fd3a86ba9c72e93d3e69"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a17f77e9844d0fd3a86ba9c72e93d3e69">computeZoneOffset</a> (double millis, int32_t millisInDay, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;ec)</td></tr>
<tr class="memdesc:a17f77e9844d0fd3a86ba9c72e93d3e69"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method can assume EXTENDED_YEAR has been set.  <a href="#a17f77e9844d0fd3a86ba9c72e93d3e69">More...</a><br/></td></tr>
<tr class="separator:a17f77e9844d0fd3a86ba9c72e93d3e69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2d514396d6fd85c25d9af9eb14b6215"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ae2d514396d6fd85c25d9af9eb14b6215">newestStamp</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> start, <a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> end, int32_t bestSoFar) const </td></tr>
<tr class="memdesc:ae2d514396d6fd85c25d9af9eb14b6215"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determine the best stamp in a range.  <a href="#ae2d514396d6fd85c25d9af9eb14b6215">More...</a><br/></td></tr>
<tr class="separator:ae2d514396d6fd85c25d9af9eb14b6215"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10718404e300cb17f0d678f7cd1cfa8e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a10718404e300cb17f0d678f7cd1cfa8e">resolveFields</a> (const <a class="el" href="calendar_8h.html#ab9f6041161064a1936388e94e9788fe2">UFieldResolutionTable</a> *precedenceTable)</td></tr>
<tr class="memdesc:a10718404e300cb17f0d678f7cd1cfa8e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a precedence table, return the newest field combination in the table, or UCAL_FIELD_COUNT if none is found.  <a href="#a10718404e300cb17f0d678f7cd1cfa8e">More...</a><br/></td></tr>
<tr class="separator:a10718404e300cb17f0d678f7cd1cfa8e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25bc194dc5449b325b1d44c8f1d29d5c"><td class="memItemLeft" align="right" valign="top">virtual const <br class="typebreak"/>
<a class="el" href="calendar_8h.html#ab9f6041161064a1936388e94e9788fe2">UFieldResolutionTable</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a25bc194dc5449b325b1d44c8f1d29d5c">getFieldResolutionTable</a> () const </td></tr>
<tr class="separator:a25bc194dc5449b325b1d44c8f1d29d5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3449f24abb996590a0df022367599a87"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a3449f24abb996590a0df022367599a87">newerField</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> defaultField, <a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> alternateField) const </td></tr>
<tr class="memdesc:a3449f24abb996590a0df022367599a87"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the field that is newer, either defaultField, or alternateField.  <a href="#a3449f24abb996590a0df022367599a87">More...</a><br/></td></tr>
<tr class="separator:a3449f24abb996590a0df022367599a87"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad20fe42624b49a8a3fca48a06425c4f9"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ad20fe42624b49a8a3fca48a06425c4f9">internalGetTime</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr>
<tr class="memdesc:ad20fe42624b49a8a3fca48a06425c4f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current time without recomputing.  <a href="#ad20fe42624b49a8a3fca48a06425c4f9">More...</a><br/></td></tr>
<tr class="separator:ad20fe42624b49a8a3fca48a06425c4f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5066148dcb8ef8c6452b77a0d468344c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a5066148dcb8ef8c6452b77a0d468344c">internalSetTime</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> time)</td></tr>
<tr class="memdesc:a5066148dcb8ef8c6452b77a0d468344c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the current time without affecting flags or fields.  <a href="#a5066148dcb8ef8c6452b77a0d468344c">More...</a><br/></td></tr>
<tr class="separator:a5066148dcb8ef8c6452b77a0d468344c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a195fad36b525b46df8934aca312db35e"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a195fad36b525b46df8934aca312db35e">handleComputeFields</a> (int32_t julianDay, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:a195fad36b525b46df8934aca312db35e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Subclasses may override this method to compute several fields specific to each calendar system.  <a href="#a195fad36b525b46df8934aca312db35e">More...</a><br/></td></tr>
<tr class="separator:a195fad36b525b46df8934aca312db35e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5393a0561dd038edff6eddb3be6c999d"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a5393a0561dd038edff6eddb3be6c999d">getGregorianYear</a> () const </td></tr>
<tr class="memdesc:a5393a0561dd038edff6eddb3be6c999d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the extended year on the Gregorian calendar as computed by <code><a class="el" href="classCalendar.html#a61c3cc26aa39009391dff9e89a41ec67" title="Compute the Gregorian calendar year, month, and day of month from the Julian day. ...">computeGregorianFields()</a></code>.  <a href="#a5393a0561dd038edff6eddb3be6c999d">More...</a><br/></td></tr>
<tr class="separator:a5393a0561dd038edff6eddb3be6c999d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf8c69e617291bb10a56d683fa8282e0"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#adf8c69e617291bb10a56d683fa8282e0">getGregorianMonth</a> () const </td></tr>
<tr class="memdesc:adf8c69e617291bb10a56d683fa8282e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the month (0-based) on the Gregorian calendar as computed by <code><a class="el" href="classCalendar.html#a61c3cc26aa39009391dff9e89a41ec67" title="Compute the Gregorian calendar year, month, and day of month from the Julian day. ...">computeGregorianFields()</a></code>.  <a href="#adf8c69e617291bb10a56d683fa8282e0">More...</a><br/></td></tr>
<tr class="separator:adf8c69e617291bb10a56d683fa8282e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab4a3b8fb109ffa673e0333a1006a7c70"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ab4a3b8fb109ffa673e0333a1006a7c70">getGregorianDayOfYear</a> () const </td></tr>
<tr class="memdesc:ab4a3b8fb109ffa673e0333a1006a7c70"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the day of year (1-based) on the Gregorian calendar as computed by <code><a class="el" href="classCalendar.html#a61c3cc26aa39009391dff9e89a41ec67" title="Compute the Gregorian calendar year, month, and day of month from the Julian day. ...">computeGregorianFields()</a></code>.  <a href="#ab4a3b8fb109ffa673e0333a1006a7c70">More...</a><br/></td></tr>
<tr class="separator:ab4a3b8fb109ffa673e0333a1006a7c70"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab93138a7b1ce4a87216ae10165e9cbae"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ab93138a7b1ce4a87216ae10165e9cbae">getGregorianDayOfMonth</a> () const </td></tr>
<tr class="memdesc:ab93138a7b1ce4a87216ae10165e9cbae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the day of month (1-based) on the Gregorian calendar as computed by <code><a class="el" href="classCalendar.html#a61c3cc26aa39009391dff9e89a41ec67" title="Compute the Gregorian calendar year, month, and day of month from the Julian day. ...">computeGregorianFields()</a></code>.  <a href="#ab93138a7b1ce4a87216ae10165e9cbae">More...</a><br/></td></tr>
<tr class="separator:ab93138a7b1ce4a87216ae10165e9cbae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af70edee1a1cd9c275f6a6645ed5d65f8"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#af70edee1a1cd9c275f6a6645ed5d65f8">getDefaultMonthInYear</a> ()</td></tr>
<tr class="memdesc:af70edee1a1cd9c275f6a6645ed5d65f8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called by computeJulianDay.  <a href="#af70edee1a1cd9c275f6a6645ed5d65f8">More...</a><br/></td></tr>
<tr class="separator:af70edee1a1cd9c275f6a6645ed5d65f8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af38c7bae2e752d875425085a4a8113a0"><td class="memItemLeft" align="right" valign="top">virtual int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#af38c7bae2e752d875425085a4a8113a0">getDefaultDayInMonth</a> (int32_t)</td></tr>
<tr class="memdesc:af38c7bae2e752d875425085a4a8113a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Called by computeJulianDay.  <a href="#af38c7bae2e752d875425085a4a8113a0">More...</a><br/></td></tr>
<tr class="separator:af38c7bae2e752d875425085a4a8113a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afaeebecc193f1fce5fb616462f4cc593"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#afaeebecc193f1fce5fb616462f4cc593">pinField</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;status)</td></tr>
<tr class="memdesc:afaeebecc193f1fce5fb616462f4cc593"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adjust the specified field so that it is within the allowable range for the date to which this calendar is set.  <a href="#afaeebecc193f1fce5fb616462f4cc593">More...</a><br/></td></tr>
<tr class="separator:afaeebecc193f1fce5fb616462f4cc593"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac06ba54055473049be6427add1fa99e0"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ac06ba54055473049be6427add1fa99e0">weekNumber</a> (int32_t desiredDay, int32_t dayOfPeriod, int32_t dayOfWeek)</td></tr>
<tr class="memdesc:ac06ba54055473049be6427add1fa99e0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the week number of a day, within a period.  <a href="#ac06ba54055473049be6427add1fa99e0">More...</a><br/></td></tr>
<tr class="separator:ac06ba54055473049be6427add1fa99e0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac37c766c0d2b648b451186132e19004a"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ac37c766c0d2b648b451186132e19004a">weekNumber</a> (int32_t dayOfPeriod, int32_t dayOfWeek)</td></tr>
<tr class="memdesc:ac37c766c0d2b648b451186132e19004a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the week number of a day, within a period.  <a href="#ac37c766c0d2b648b451186132e19004a">More...</a><br/></td></tr>
<tr class="separator:ac37c766c0d2b648b451186132e19004a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a80956bea5e66c6cabd5485a98bd3bf"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a0a80956bea5e66c6cabd5485a98bd3bf">getLocalDOW</a> ()</td></tr>
<tr class="memdesc:a0a80956bea5e66c6cabd5485a98bd3bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns the local DOW, valid range 0..6  <a href="#a0a80956bea5e66c6cabd5485a98bd3bf">More...</a><br/></td></tr>
<tr class="separator:a0a80956bea5e66c6cabd5485a98bd3bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61c3cc26aa39009391dff9e89a41ec67"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a61c3cc26aa39009391dff9e89a41ec67">computeGregorianFields</a> (int32_t julianDay, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;ec)</td></tr>
<tr class="memdesc:a61c3cc26aa39009391dff9e89a41ec67"><td class="mdescLeft">&#160;</td><td class="mdescRight">Compute the Gregorian calendar year, month, and day of month from the Julian day.  <a href="#a61c3cc26aa39009391dff9e89a41ec67">More...</a><br/></td></tr>
<tr class="separator:a61c3cc26aa39009391dff9e89a41ec67"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-methods"></a>
Static Protected Member Functions</h2></td></tr>
<tr class="memitem:ac80054059c45d5b2466c9aaab596ec1e"><td class="memItemLeft" align="right" valign="top">static uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ac80054059c45d5b2466c9aaab596ec1e">julianDayToDayOfWeek</a> (double julian)</td></tr>
<tr class="memdesc:ac80054059c45d5b2466c9aaab596ec1e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convert a quasi Julian date to the day of the week.  <a href="#ac80054059c45d5b2466c9aaab596ec1e">More...</a><br/></td></tr>
<tr class="separator:ac80054059c45d5b2466c9aaab596ec1e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:a6a3812124ab9abbd2a2f75b490a6b700"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a6a3812124ab9abbd2a2f75b490a6b700">fIsTimeSet</a></td></tr>
<tr class="memdesc:a6a3812124ab9abbd2a2f75b490a6b700"><td class="mdescLeft">&#160;</td><td class="mdescRight">The flag which indicates if the current time is set in the calendar.  <a href="#a6a3812124ab9abbd2a2f75b490a6b700">More...</a><br/></td></tr>
<tr class="separator:a6a3812124ab9abbd2a2f75b490a6b700"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af19aa6e54f1220ffaf74d29071a6a589"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#af19aa6e54f1220ffaf74d29071a6a589">fAreFieldsSet</a></td></tr>
<tr class="memdesc:af19aa6e54f1220ffaf74d29071a6a589"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if the fields are in sync with the currently set time of this <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>.  <a href="#af19aa6e54f1220ffaf74d29071a6a589">More...</a><br/></td></tr>
<tr class="separator:af19aa6e54f1220ffaf74d29071a6a589"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa198993ac97bca6bf80c2beb6657ed03"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#aa198993ac97bca6bf80c2beb6657ed03">fAreAllFieldsSet</a></td></tr>
<tr class="memdesc:aa198993ac97bca6bf80c2beb6657ed03"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if all of the fields have been set.  <a href="#aa198993ac97bca6bf80c2beb6657ed03">More...</a><br/></td></tr>
<tr class="separator:aa198993ac97bca6bf80c2beb6657ed03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a223fef486de9d84635c8c2c887dee2b0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a223fef486de9d84635c8c2c887dee2b0">fAreFieldsVirtuallySet</a></td></tr>
<tr class="memdesc:a223fef486de9d84635c8c2c887dee2b0"><td class="mdescLeft">&#160;</td><td class="mdescRight">True if all fields have been virtually set, but have not yet been computed.  <a href="#a223fef486de9d84635c8c2c887dee2b0">More...</a><br/></td></tr>
<tr class="separator:a223fef486de9d84635c8c2c887dee2b0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4aeb857bb89a74dbe261896e6b6f6681"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a4aeb857bb89a74dbe261896e6b6f6681">fFields</a> [<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912adbfdd6e6b1bc1be830c7f1ba29f2c68c">UCAL_FIELD_COUNT</a>]</td></tr>
<tr class="memdesc:a4aeb857bb89a74dbe261896e6b6f6681"><td class="mdescLeft">&#160;</td><td class="mdescRight">The time fields containing values into which the millis is computed.  <a href="#a4aeb857bb89a74dbe261896e6b6f6681">More...</a><br/></td></tr>
<tr class="separator:a4aeb857bb89a74dbe261896e6b6f6681"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a557209952758b6c128ddbc26955eb9dc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a557209952758b6c128ddbc26955eb9dc">fIsSet</a> [<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912adbfdd6e6b1bc1be830c7f1ba29f2c68c">UCAL_FIELD_COUNT</a>]</td></tr>
<tr class="memdesc:a557209952758b6c128ddbc26955eb9dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">The flags which tell if a specified time field for the calendar is set.  <a href="#a557209952758b6c128ddbc26955eb9dc">More...</a><br/></td></tr>
<tr class="separator:a557209952758b6c128ddbc26955eb9dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1ab437231e76896ce2b7ccdbc106b0b"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ae1ab437231e76896ce2b7ccdbc106b0b">fStamp</a> [<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912adbfdd6e6b1bc1be830c7f1ba29f2c68c">UCAL_FIELD_COUNT</a>]</td></tr>
<tr class="memdesc:ae1ab437231e76896ce2b7ccdbc106b0b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Pseudo-time-stamps which specify when each field was set.  <a href="#ae1ab437231e76896ce2b7ccdbc106b0b">More...</a><br/></td></tr>
<tr class="separator:ae1ab437231e76896ce2b7ccdbc106b0b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-static-attribs"></a>
Static Protected Attributes</h2></td></tr>
<tr class="memitem:a443112ee30874283a616c536293892c4"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="calendar_8h.html#ab9f6041161064a1936388e94e9788fe2">UFieldResolutionTable</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a443112ee30874283a616c536293892c4">kDatePrecedence</a> []</td></tr>
<tr class="memdesc:a443112ee30874283a616c536293892c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Precedence table for Dates.  <a href="#a443112ee30874283a616c536293892c4">More...</a><br/></td></tr>
<tr class="separator:a443112ee30874283a616c536293892c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae116e0cc5a2c5af58f736fd2199ebcd0"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="calendar_8h.html#ab9f6041161064a1936388e94e9788fe2">UFieldResolutionTable</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ae116e0cc5a2c5af58f736fd2199ebcd0">kYearPrecedence</a> []</td></tr>
<tr class="memdesc:ae116e0cc5a2c5af58f736fd2199ebcd0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Precedence table for Year.  <a href="#ae116e0cc5a2c5af58f736fd2199ebcd0">More...</a><br/></td></tr>
<tr class="separator:ae116e0cc5a2c5af58f736fd2199ebcd0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a253f88ce055abc651d4784634bb65635"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="calendar_8h.html#ab9f6041161064a1936388e94e9788fe2">UFieldResolutionTable</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a253f88ce055abc651d4784634bb65635">kDOWPrecedence</a> []</td></tr>
<tr class="memdesc:a253f88ce055abc651d4784634bb65635"><td class="mdescLeft">&#160;</td><td class="mdescRight">Precedence table for Day of Week.  <a href="#a253f88ce055abc651d4784634bb65635">More...</a><br/></td></tr>
<tr class="separator:a253f88ce055abc651d4784634bb65635"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="friends"></a>
Friends</h2></td></tr>
<tr class="memitem:a7b8da58f16be9990955f60c930b4376d"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a7b8da58f16be9990955f60c930b4376d">CalendarFactory</a></td></tr>
<tr class="memdesc:a7b8da58f16be9990955f60c930b4376d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Multiple <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> Implementation.  <a href="#a7b8da58f16be9990955f60c930b4376d">More...</a><br/></td></tr>
<tr class="separator:a7b8da58f16be9990955f60c930b4376d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aef82cfadea9ca1be538463884884c8aa"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#aef82cfadea9ca1be538463884884c8aa">CalendarService</a></td></tr>
<tr class="memdesc:aef82cfadea9ca1be538463884884c8aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Multiple <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> Implementation.  <a href="#aef82cfadea9ca1be538463884884c8aa">More...</a><br/></td></tr>
<tr class="separator:aef82cfadea9ca1be538463884884c8aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affad2f956e924717f3de7ccd94224551"><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#affad2f956e924717f3de7ccd94224551">DefaultCalendarFactory</a></td></tr>
<tr class="memdesc:affad2f956e924717f3de7ccd94224551"><td class="mdescLeft">&#160;</td><td class="mdescRight">Multiple <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> Implementation.  <a href="#affad2f956e924717f3de7ccd94224551">More...</a><br/></td></tr>
<tr class="separator:affad2f956e924717f3de7ccd94224551"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p><code><a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a></code> is an abstract base class for converting between a <code>UDate</code> object and a set of integer fields such as <code>YEAR</code>, <code>MONTH</code>, <code>DAY</code>, <code>HOUR</code>, and so on. </p>
<p>(A <code>UDate</code> object represents a specific instant in time with millisecond precision. See UDate for information about the <code>UDate</code> class.)</p>
<p>Subclasses of <code><a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a></code> interpret a <code>UDate</code> according to the rules of a specific calendar system. The most commonly used subclass of <code><a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a></code> is <code><a class="el" href="classGregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</a></code>. Other subclasses could represent the various types of lunar calendars in use in many parts of the world.</p>
<p><b>NOTE</b>: (ICU 2.6) The subclass interface should be considered unstable</p>
<ul>
<li>it WILL change.</li>
</ul>
<p>Like other locale-sensitive classes, <code><a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a></code> provides a static method, <code>createInstance</code>, for getting a generally useful object of this type. <code><a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a></code>'s <code>createInstance</code> method returns the appropriate <code><a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a></code> subclass whose time fields have been initialized with the current date and time:  <blockquote> <pre>
<a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> *rightNow = Calendar::createInstance(errCode);
</pre>  </blockquote><p>A <code><a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a></code> object can produce all the time field values needed to implement the date-time formatting for a particular language and calendar style (for example, Japanese-Gregorian, Japanese-Traditional).</p>
<p>When computing a <code>UDate</code> from time fields, 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" &ndash; July 15, 1996 is actually a Monday).</p>
<p><b>Insufficient information.</b> The calendar will use default information to specify the missing fields. This may vary by calendar; for the Gregorian calendar, the default for a field is the same as that of the start of the epoch: i.e., YEAR = 1970, MONTH = JANUARY, DATE = 1, etc.</p>
<p><b>Inconsistent information.</b> If fields conflict, the calendar will give preference to fields set more recently. For example, when determining the day, the calendar will look for one of the following combinations of fields. The most recent combination, as determined by the most recently set single field, will be used.</p>
 <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>
<p><b>Note:</b> There are certain possible ambiguities in interpretation of certain singular times, which are resolved in the following ways: </p>
<ol>
<li>
<p class="startli">24:00:00 "belongs" to the following day. That is, 23:59 on Dec 31, 1969 &lt; 24:00 on Jan 1, 1970 &lt; 24:01:00 on Jan 1, 1970</p>
<p class="endli"></p>
</li>
<li>
Although historically not precise, midnight also belongs to "am", and noon belongs to "pm", so on the same day, 12:00 am (midnight) &lt; 12:01 am, and 12:00 pm (noon) &lt; 12:01 pm </li>
</ol>
<p>The date or time format strings are not part of the definition of a calendar, as those must be modifiable or overridable by the user at runtime. Use <a class="el" href="classDateFormat.html">DateFormat</a> to format dates.</p>
<p><code><a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a></code> provides an API for field "rolling", where fields can be incremented or decremented, but wrap around. For example, rolling the month up in the date <code>December 12, <b>1996</b></code> results in <code>January 12, <b>1996</b></code>.</p>
<p><code><a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a></code> also provides a date arithmetic function for adding the specified (signed) amount of time to a particular time field. For example, subtracting 5 days from the date <code>September 12, 1996</code> results in <code>September 7, 1996</code>.</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002035">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<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>.</p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a class="anchor" id="a5b8bac9c3abcdaceced9b50535e3eaae"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">anonymous enum</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a3d5422cc908f8666dd295f4f25a793e1"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual Calendar::~Calendar </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

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

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

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

</div>
</div>
<a class="anchor" id="ac96446048cf739bc1d280cdc65a23db0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <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;&#160;</td>
          <td class="paramname"><em>source</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Copy constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">source</td><td><a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> object to be copied from </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002085">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

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

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

</div>
</div>
<a class="anchor" id="a41eb1824078a3d3d371e97c0314e3eda"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <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;&#160;</td>
          <td class="paramname"><em>zone</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classLocale.html">Locale</a> &amp;&#160;</td>
          <td class="paramname"><em>aLocale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>success</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

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

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a4c480d382487d1f05b717dbd310515b3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> Calendar::add </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCalendar.html#a9aa66a9e8030312d5314e306c713913e">EDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>amount</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>UDate Arithmetic function. </p>
<p>Adds the specified (signed) amount of time to the given time field, based on the calendar's rules. For example, to subtract 5 days from the current time of the calendar, call add(Calendar::DATE, -5). When adding on the month or Calendar::MONTH field, other fields like date might conflict and need to be changed. For instance, adding 1 month on the date 01/31/96 will result in 02/29/96.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>Specifies which date field to modify. </td></tr>
    <tr><td class="paramname">amount</td><td>The amount of time to be added to the field, in the natural unit for that field (e.g., days for the day fields, hours for the hour field.) </td></tr>
    <tr><td class="paramname">status</td><td>Output param set to success/failure code on exit. If any value previously set in the time field is invalid or restricted by leniency, this will be set to an error status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000164">Deprecated:</a></b></dt><dd>ICU 2.6. use <a class="el" href="classCalendar.html#a743c11819bc8823ece3d7ee9260f174f" title="UDate Arithmetic function. ">add(UCalendarDateFields field, int32_t amount, UErrorCode&amp; status)</a> instead. </dd></dl>

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

<p>UDate Arithmetic function. </p>
<p>Adds the specified (signed) amount of time to the given time field, based on the calendar's rules. For example, to subtract 5 days from the current time of the calendar, call add(Calendar::DATE, -5). When adding on the month or Calendar::MONTH field, other fields like date might conflict and need to be changed. For instance, adding 1 month on the date 01/31/96 will result in 02/29/96.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>Specifies which date field to modify. </td></tr>
    <tr><td class="paramname">amount</td><td>The amount of time to be added to the field, in the natural unit for that field (e.g., days for the day fields, hours for the hour field.) </td></tr>
    <tr><td class="paramname">status</td><td>Output param set to success/failure code on exit. If any value previously set in the time field is invalid or restricted by leniency, this will be set to an error status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002054">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

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

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

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

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

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

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

</div>
</div>
<a class="anchor" id="a7e0409b7750ff09b7275a061bd6ae816"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> Calendar::clear </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

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

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

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

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

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

</div>
</div>
<a class="anchor" id="a369327438e076e64c99ec1d669919957"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classCalendar.html">Calendar</a>* Calendar::clone </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

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

<p>Implemented in <a class="el" href="classGregorianCalendar.html#a6924d2c9812c8af226ca941b024c56aa">GregorianCalendar</a>.</p>

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

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

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

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

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

<p>Compute the Gregorian calendar year, month, and day of month from the Julian day. </p>
<p>These values are not stored in fields, but in member variables gregorianXxx. They are used for time zone computations and by subclasses that are Gregorian derivatives. Subclasses may call this method to perform a Gregorian calendar millis-&gt;fields computation. To perform a Gregorian calendar fields-&gt;millis computation, call computeGregorianMonthStart(). </p>
<dl class="section see"><dt>See Also</dt><dd>#computeGregorianMonthStart </dd></dl>

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

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

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

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

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

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

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

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

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

<p>Creates a <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> using the default timezone and locale. </p>
<p>Clients are responsible for deleting the object returned.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">success</td><td>Indicates the success/failure of <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> creation. Filled in with U_ZERO_ERROR if created successfully, set to a failure result otherwise. U_MISSING_RESOURCE_ERROR will be returned if the resource data requests a calendar type which has not been installed. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> if created successfully. NULL otherwise. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002038">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Referenced by <a class="el" href="calendar_8h_source.html#l02124">createInstance()</a>.</p>

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

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

<p>References <a class="el" href="classCalendar.html#a1872a90e5aaae1cfe3e826248fa9b497">createInstance()</a>, and <a class="el" href="classLocale.html#ac12d6326f2d283f5643f6b6caacfe88c">Locale::getDefault()</a>.</p>

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

<p>Creates a <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> using the given timezone and the default locale. </p>
<p>The <a class="el" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> is <em>not</em> adopted; the client is still responsible for deleting it.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">zone</td><td>The timezone. </td></tr>
    <tr><td class="paramname">success</td><td>Indicates the success/failure of <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> creation. Filled in with U_ZERO_ERROR if created successfully, set to a failure result otherwise. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> if created successfully. NULL otherwise. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002040">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

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

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

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

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

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

<p>Gets a <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> using the given timezone and given locale. </p>
<p>The <a class="el" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a> is <em>not</em> adopted; the client is still responsible for deleting it.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">zoneToAdopt</td><td>The given timezone to be adopted. </td></tr>
    <tr><td class="paramname">aLocale</td><td>The given locale. </td></tr>
    <tr><td class="paramname">success</td><td>Indicates the success/failure of <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> creation. Filled in with U_ZERO_ERROR if created successfully, set to a failure result otherwise. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> if created successfully. NULL otherwise. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002043">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

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

<p>Implemented in <a class="el" href="classGregorianCalendar.html#a3c11c790997b4a7ef2009c9db5dfc7dd">GregorianCalendar</a>.</p>

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

<p>Implemented in <a class="el" href="classGregorianCalendar.html#ad308638658b0758dcdaaae57a3599a27">GregorianCalendar</a>.</p>

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

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

</div>
</div>
<a class="anchor" id="a6cf48d67d31ee09a3ed5c6064a64e4cd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t Calendar::fieldDifference </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</td>
          <td class="paramname"><em>when</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classCalendar.html#a9aa66a9e8030312d5314e306c713913e">EDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

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

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

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

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

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

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

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

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

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

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

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

<p>Reimplemented in <a class="el" href="classGregorianCalendar.html#aa6dffa7c30b24613fa6762c715dc24ab">GregorianCalendar</a>.</p>

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

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

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

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

<p>Reimplemented in <a class="el" href="classGregorianCalendar.html#a3cddc1a8bd73250d23ef4ccd632c21c8">GregorianCalendar</a>.</p>

</div>
</div>
<a class="anchor" id="a6b87567eb37ad5c07c17e6a2c46d257e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static const <a class="el" href="classLocale.html">Locale</a>* Calendar::getAvailableLocales </td>
          <td>(</td>
          <td class="paramtype">int32_t &amp;&#160;</td>
          <td class="paramname"><em>count</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a list of the locales for which Calendars are installed. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">count</td><td>Number of locales returned. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>An array of <a class="el" href="classLocale.html" title="A Locale object represents a specific geographical, political, or cultural region. ">Locale</a> objects representing the set of locales for which Calendars are installed. The system retains ownership of this list; the caller must NOT delete it. Does not include user-registered Calendars. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002044">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="adc0142552cd2e3fa56ed7a800edf4f2d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classStringEnumeration.html">StringEnumeration</a>* Calendar::getAvailableLocales </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>INTERNAL FOR 2.6 &ndash; Registration. </p>
<p>Return a <a class="el" href="classStringEnumeration.html" title="Base class for &#39;pure&#39; C++ implementations of uenum api. ">StringEnumeration</a> over the locales available at the time of the call, including registered locales. </p>
<dl class="section return"><dt>Returns</dt><dd>a <a class="el" href="classStringEnumeration.html" title="Base class for &#39;pure&#39; C++ implementations of uenum api. ">StringEnumeration</a> over the locales available at the time of the call </dd></dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000147">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

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

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

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

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

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

<p>Returns a unique class ID POLYMORPHICALLY. </p>
<p>Pure virtual method. This method is to implement a simple version of RTTI, since not all C++ compilers support genuine RTTI. Polymorphic <a class="el" href="classCalendar.html#aa231d324e53576d3198a0aedd129f3ad" title="Compares the equality of two Calendar objects. ">operator==()</a> and <a class="el" href="classCalendar.html#a369327438e076e64c99ec1d669919957" title="Create and return a polymorphic copy of this calendar. ">clone()</a> methods call this method. </p>
<p>Concrete subclasses of <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> must implement <a class="el" href="classCalendar.html#a13e235c4396d92fc3b129d6a07e6076a" title="Returns a unique class ID POLYMORPHICALLY. ">getDynamicClassID()</a> and also a static method and data member: </p>
<pre class="fragment"> static UClassID getStaticClassID() { return (UClassID)&amp;amp;fgClassID; }
 static char fgClassID;
</pre><dl class="section return"><dt>Returns</dt><dd>The class ID for this object. All objects of a given class have the same class ID. Objects of other classes have different class IDs. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002083">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

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

<p>Implemented in <a class="el" href="classGregorianCalendar.html#ad692fc0734c8b0dd5af7cf8f403caa87">GregorianCalendar</a>.</p>

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

</div>
</div>
<a class="anchor" id="a0a8bdc7ffb9d13e948ef0268dbdddc26"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classCalendar.html#a28d5c395b3200c812950321637796aa4">EDaysOfWeek</a> Calendar::getFirstDayOfWeek </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets what the first day of the week is; e.g., Sunday in US, Monday in France. </p>
<dl class="section return"><dt>Returns</dt><dd>The first day of the week. </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000169">Deprecated:</a></b></dt><dd>ICU 2.6 use the overload with error code </dd></dl>

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

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

</div>
</div>
<a class="anchor" id="a5b6cbd4db4fbfa4fb686689e70633265"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t Calendar::getGreatestMinimum </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCalendar.html#a9aa66a9e8030312d5314e306c713913e">EDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gets the highest minimum value for the given field if varies. </p>
<p>Otherwise same as <a class="el" href="classCalendar.html#a2c0793eb4f9ff0fc0cc1313188ee203a" title="Gets the minimum value for the given time field. ">getMinimum()</a>. For Gregorian, no difference.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The given time field. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The highest minimum value for the given time field. </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000172">Deprecated:</a></b></dt><dd>ICU 2.6. Use getGreatestMinimum(UCalendarDateFields field) instead. </dd></dl>

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

<p>Gets the highest minimum value for the given field if varies. </p>
<p>Otherwise same as <a class="el" href="classCalendar.html#a2c0793eb4f9ff0fc0cc1313188ee203a" title="Gets the minimum value for the given time field. ">getMinimum()</a>. For Gregorian, no difference.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The given time field. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The highest minimum value for the given time field. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002071">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

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

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

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

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

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

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

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

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

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

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

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

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

</div>
</div>
<a class="anchor" id="aacf8382337e234b96bfe4e470dcc4817"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t Calendar::getLeastMaximum </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCalendar.html#a9aa66a9e8030312d5314e306c713913e">EDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gets the lowest maximum value for the given field if varies. </p>
<p>Otherwise same as <a class="el" href="classCalendar.html#ac751035e7d9e6e744edc7d92fd471a4f" title="Gets the maximum value for the given time field. ">getMaximum()</a>. e.g., for Gregorian DAY_OF_MONTH, 28.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The given time field. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The lowest maximum value for the given time field. </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000173">Deprecated:</a></b></dt><dd>ICU 2.6. Use getLeastMaximum(UCalendarDateFields field) instead. </dd></dl>

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

<p>Gets the lowest maximum value for the given field if varies. </p>
<p>Otherwise same as <a class="el" href="classCalendar.html#ac751035e7d9e6e744edc7d92fd471a4f" title="Gets the maximum value for the given time field. ">getMaximum()</a>. e.g., for Gregorian DAY_OF_MONTH, 28.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The given time field. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The lowest maximum value for the given time field. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002072">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

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

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

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

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

</div>
</div>
<a class="anchor" id="a019f867554a0f3dbc3ee865bf7864295"></a>
<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#adf053345d343f8d82ae080f7a5871f34">ULocDataLocaleType</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

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

</div>
</div>
<a class="anchor" id="aec71fd785775da0decb82cd819ccfaba"></a>
<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#adf053345d343f8d82ae080f7a5871f34">ULocDataLocaleType</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

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

</div>
</div>
<a class="anchor" id="ac751035e7d9e6e744edc7d92fd471a4f"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t Calendar::getMaximum </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCalendar.html#a9aa66a9e8030312d5314e306c713913e">EDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gets the maximum value for the given time field. </p>
<p>e.g. for Gregorian DAY_OF_MONTH, 31.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The given time field. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The maximum value for the given time field. </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000171">Deprecated:</a></b></dt><dd>ICU 2.6. Use getMaximum(UCalendarDateFields field) instead. </dd></dl>

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

<p>Gets the maximum value for the given time field. </p>
<p>e.g. for Gregorian DAY_OF_MONTH, 31.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The given time field. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The maximum value for the given time field. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002070">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

</div>
</div>
<a class="anchor" id="ac39fb4eea23b9ea863ac3119913a3322"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint8_t Calendar::getMinimalDaysInFirstWeek </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets what the minimal days required in the first week of the year are; e.g., if the first week is defined as one that contains the first day of the first month of a year, getMinimalDaysInFirstWeek returns 1. </p>
<p>If the minimal days required must be a full week, getMinimalDaysInFirstWeek returns 7.</p>
<dl class="section return"><dt>Returns</dt><dd>The minimal days required in the first week of the year. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002068">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a2c0793eb4f9ff0fc0cc1313188ee203a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t Calendar::getMinimum </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCalendar.html#a9aa66a9e8030312d5314e306c713913e">EDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gets the minimum value for the given time field. </p>
<p>e.g., for Gregorian DAY_OF_MONTH, 1.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The given time field. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The minimum value for the given time field. </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000170">Deprecated:</a></b></dt><dd>ICU 2.6. Use getMinimum(UCalendarDateFields field) instead. </dd></dl>

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

<p>Gets the minimum value for the given time field. </p>
<p>e.g., for Gregorian DAY_OF_MONTH, 1.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The given time field. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The minimum value for the given time field. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002069">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

</div>
</div>
<a class="anchor" id="aab1712ccf7b261332a4d14c71dc6994e"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> Calendar::getNow </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the current UTC (GMT) time measured in milliseconds since 0:00:00 on 1/1/70 (derived from the system time). </p>
<dl class="section return"><dt>Returns</dt><dd>The current UTC time in milliseconds. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002045">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

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

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

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

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

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

</div>
</div>
<a class="anchor" id="a1ef5c22031d5899ffbedc7032d892087"></a>
<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"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns a reference to the time zone owned by this calendar. </p>
<p>The returned reference is only valid until clients make another call to adoptTimeZone or setTimeZone, or this <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> is destroyed.</p>
<dl class="section return"><dt>Returns</dt><dd>The time zone object associated with this calendar. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002060">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

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

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

<p>Implemented in <a class="el" href="classGregorianCalendar.html#a9d3dbbead3bf74c685b479e5115e514c">GregorianCalendar</a>.</p>

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

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

<p>Reimplemented in <a class="el" href="classGregorianCalendar.html#a2f31b54f19ec8588cb1cfe1ade77eb07">GregorianCalendar</a>.</p>

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

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

<p>Reimplemented in <a class="el" href="classGregorianCalendar.html#a59b86395575bf7784ffe1f2edac5b165">GregorianCalendar</a>.</p>

</div>
</div>
<a class="anchor" id="addb140c1bca76059b1a4084433ab67db"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int32_t Calendar::handleComputeMonthStart </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>eyear</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>month</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td>
          <td class="paramname"><em>useMonth</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

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

<p>Implemented in <a class="el" href="classGregorianCalendar.html#a87badc27fdb6dc0638bc94864a4961d9">GregorianCalendar</a>.</p>

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

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

<p>Implemented in <a class="el" href="classGregorianCalendar.html#a9c8ef3f3ae56e41f52c7fd353348a09f">GregorianCalendar</a>.</p>

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

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

<p>Reimplemented in <a class="el" href="classGregorianCalendar.html#a9068000f1c22c0d27ab752e01cacf082">GregorianCalendar</a>.</p>

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

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

<p>Implemented in <a class="el" href="classGregorianCalendar.html#a6075f0ad5bbe0cecd8283e45e93d482c">GregorianCalendar</a>.</p>

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

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

<p>Reimplemented in <a class="el" href="classGregorianCalendar.html#a05a03940641b2455a2875cbc31f386e9">GregorianCalendar</a>.</p>

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

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

<p>Reimplemented in <a class="el" href="classGregorianCalendar.html#a32772c0335d2440b8fcb4cf7569e9f84">GregorianCalendar</a>.</p>

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

<p>Implemented in <a class="el" href="classGregorianCalendar.html#a777df4314a0e9266ee3fd20afcdb3218">GregorianCalendar</a>.</p>

</div>
</div>
<a class="anchor" id="a8199d459b6d2171fb62620fab29b8668"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> Calendar::inDaylightTime </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

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

<p>Implemented in <a class="el" href="classGregorianCalendar.html#aa9dcb25c2fefe715f33fad5e11075cd8">GregorianCalendar</a>.</p>

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

<p>Gets the value for a given time field. </p>
<p>Subclasses can use this function to get field values without forcing recomputation of time.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The given time field. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The value for the given time field. </dd></dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_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#l01281">1281</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

<p>References <a class="el" href="calendar_8h_source.html#l01628">fFields</a>, <a class="el" href="calendar_8h_source.html#l01634">fIsSet</a>, <a class="el" href="calendar_8h_source.html#l01651">fStamp</a>, and <a class="el" href="umachine_8h_source.html#l00198">TRUE</a>.</p>

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

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

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

</div>
</div>
<a class="anchor" id="a50ab4c5aa1f93959282c71de04625935"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> Calendar::isEquivalentTo </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classCalendar.html">Calendar</a> &amp;&#160;</td>
          <td class="paramname"><em>other</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns TRUE if the given <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> object is equivalent to this one. </p>
<p>An equivalent <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> will behave exactly as this one does, but it may be set to a different time. By contrast, for the <a class="el" href="classCalendar.html#aa231d324e53576d3198a0aedd129f3ad" title="Compares the equality of two Calendar objects. ">operator==()</a> method to return TRUE, the other <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> must be set to the same time.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">other</td><td>the <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> to be compared with this <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002050">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl>

<p>Reimplemented in <a class="el" href="classGregorianCalendar.html#ab72c13d826e10d9292760b083c63f956">GregorianCalendar</a>.</p>

</div>
</div>
<a class="anchor" id="a183d1b14292fe017fc206a80e6734db9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> Calendar::isLenient </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

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

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

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

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

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

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

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

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

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

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

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

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

<p>Compares the inequality of two <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> objects. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">that</td><td>The <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> object to be compared with. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if the given <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> is not the same as this <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>; false otherwise. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002049">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

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

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

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

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

<p>Compares the equality of two <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> objects. </p>
<p>Objects of different subclasses are considered unequal. This comparison is very exacting; two <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> objects must be in exactly the same state to be considered equal. To compare based on the represented time, use <a class="el" href="classCalendar.html#a3ed5a35ec465912fed9e8ed90992cdc9" title="Compares the Calendar time, whereas Calendar::operator== compares the equality of Calendar objects...">equals()</a> instead.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">that</td><td>The <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> object to be compared with. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>True if the given <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> is the same as this <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a>; false otherwise. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002048">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a0d42eafa6a420463fa981aa34a3a6150"></a>
<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"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

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

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

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

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

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

</div>
</div>
<a class="anchor" id="a8118ce78632ea4a749e15d24a5f9560a"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="umisc_8h.html#ab5905d79ed3b979840cee1d5fd48b4fb">URegistryKey</a> Calendar::registerFactory </td>
          <td>(</td>
          <td class="paramtype">ICUServiceFactory *&#160;</td>
          <td class="paramname"><em>toAdopt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Register a new <a class="el" href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ...">Calendar</a> factory. </p>
<p>The factory will be adopted. INTERNAL in 2.6 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">toAdopt</td><td>the factory instance to be adopted </td></tr>
    <tr><td class="paramname">status</td><td>the in/out status code, no special meanings are assigned </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a registry key that can be used to unregister this factory </dd></dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000148">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

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

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

</div>
</div>
<a class="anchor" id="a98e5b80bb733a6e8dec95b8ac0225a68"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> Calendar::roll </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCalendar.html#a9aa66a9e8030312d5314e306c713913e">EDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td>
          <td class="paramname"><em>up</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Time Field Rolling function. </p>
<p>Rolls (up/down) a single unit of time on the given time field. For example, to roll the current date up by one day, call roll(Calendar::DATE, true). When rolling on the year or Calendar::YEAR field, it will roll the year value in the range between getMinimum(Calendar::YEAR) and the value returned by getMaximum(Calendar::YEAR). When rolling on the month or Calendar::MONTH field, other fields like date might conflict and, need to be changed. For instance, rolling the month up on the date 01/31/96 will result in 02/29/96. Rolling up always means rolling forward in time; 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>
<p>NOTE: Do not use this method &ndash; use roll(EDateFields, int, UErrorCode&amp;) instead.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The time field. </td></tr>
    <tr><td class="paramname">up</td><td>Indicates if the value of the specified time field is to be rolled up or rolled down. Use true if rolling up, false otherwise. </td></tr>
    <tr><td class="paramname">status</td><td>Output param set to success/failure code on exit. If any value previously set in the time field is invalid or restricted by leniency, this will be set to an error status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000165">Deprecated:</a></b></dt><dd>ICU 2.6. Use <a class="el" href="classCalendar.html#a1a95a3e423d17c1f415bc39b75cf77d2" title="Time Field Rolling function. ">roll(UCalendarDateFields field, UBool up, UErrorCode&amp; status)</a> instead. </dd></dl>

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

<p>Referenced by <a class="el" href="calendar_8h_source.html#l02133">roll()</a>.</p>

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

<p>Time Field Rolling function. </p>
<p>Rolls (up/down) a single unit of time on the given time field. For example, to roll the current date up by one day, call roll(Calendar::DATE, true). When rolling on the year or Calendar::YEAR field, it will roll the year value in the range between getMinimum(Calendar::YEAR) and the value returned by getMaximum(Calendar::YEAR). When rolling on the month or Calendar::MONTH field, other fields like date might conflict and, need to be changed. For instance, rolling the month up on the date 01/31/96 will result in 02/29/96. Rolling up always means rolling forward in time; 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>
<p>NOTE: Do not use this method &ndash; use roll(UCalendarDateFields, int, UErrorCode&amp;) instead.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The time field. </td></tr>
    <tr><td class="paramname">up</td><td>Indicates if the value of the specified time field is to be rolled up or rolled down. Use true if rolling up, false otherwise. </td></tr>
    <tr><td class="paramname">status</td><td>Output param set to success/failure code on exit. If any value previously set in the time field is invalid or restricted by leniency, this will be set to an error status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002055">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

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

<p>References <a class="el" href="calendar_8h_source.html#l02139">roll()</a>.</p>

</div>
</div>
<a class="anchor" id="abff9f8c5e0b0206b9312e64a0ff89666"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> Calendar::roll </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classCalendar.html#a9aa66a9e8030312d5314e306c713913e">EDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>amount</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Time Field Rolling function. </p>
<p>Rolls by the given amount on the given time field. For example, to roll the current date up by one day, call roll(Calendar::DATE, +1, status). When rolling on the month or Calendar::MONTH field, other fields like date might conflict and, need to be changed. For instance, rolling the month up on the date 01/31/96 will result in 02/29/96. Rolling by a positive value always means rolling forward in time; 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>
<p>The only difference between <a class="el" href="classCalendar.html#a98e5b80bb733a6e8dec95b8ac0225a68" title="Time Field Rolling function. ">roll()</a> and <a class="el" href="classCalendar.html#a4c480d382487d1f05b717dbd310515b3" title="UDate Arithmetic function. ">add()</a> is that <a class="el" href="classCalendar.html#a98e5b80bb733a6e8dec95b8ac0225a68" title="Time Field Rolling function. ">roll()</a> does not change the value of more significant fields when it reaches the minimum or maximum of its range, whereas <a class="el" href="classCalendar.html#a4c480d382487d1f05b717dbd310515b3" title="UDate Arithmetic function. ">add()</a> does.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The time field. </td></tr>
    <tr><td class="paramname">amount</td><td>Indicates amount to roll. </td></tr>
    <tr><td class="paramname">status</td><td>Output param set to success/failure code on exit. If any value previously set in the time field is invalid, this will be set to an error status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000166">Deprecated:</a></b></dt><dd>ICU 2.6. Use <a class="el" href="classCalendar.html#a5d5aa7348953398da594654c3edbb681" title="Time Field Rolling function. ">roll(UCalendarDateFields field, int32_t amount, UErrorCode&amp; status)</a> instead. </dd></dl>

<p>Reimplemented in <a class="el" href="classGregorianCalendar.html#a94eb045ce42c58b4f823e55f91bb695e">GregorianCalendar</a>.</p>

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

<p>Time Field Rolling function. </p>
<p>Rolls by the given amount on the given time field. For example, to roll the current date up by one day, call roll(Calendar::DATE, +1, status). When rolling on the month or Calendar::MONTH field, other fields like date might conflict and, need to be changed. For instance, rolling the month up on the date 01/31/96 will result in 02/29/96. Rolling by a positive value always means rolling forward in time; 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>
<p>The only difference between <a class="el" href="classCalendar.html#a98e5b80bb733a6e8dec95b8ac0225a68" title="Time Field Rolling function. ">roll()</a> and <a class="el" href="classCalendar.html#a4c480d382487d1f05b717dbd310515b3" title="UDate Arithmetic function. ">add()</a> is that <a class="el" href="classCalendar.html#a98e5b80bb733a6e8dec95b8ac0225a68" title="Time Field Rolling function. ">roll()</a> does not change the value of more significant fields when it reaches the minimum or maximum of its range, whereas <a class="el" href="classCalendar.html#a4c480d382487d1f05b717dbd310515b3" title="UDate Arithmetic function. ">add()</a> does.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">field</td><td>The time field. </td></tr>
    <tr><td class="paramname">amount</td><td>Indicates amount to roll. </td></tr>
    <tr><td class="paramname">status</td><td>Output param set to success/failure code on exit. If any value previously set in the time field is invalid, this will be set to an error status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable002056">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl>

<p>Reimplemented in <a class="el" href="classGregorianCalendar.html#a356ca180f51ab33ce27f41fde8c43739">GregorianCalendar</a>.</p>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

</div>
</div>
<a class="anchor" id="ad3c13b061c7ed103d6b31ac08a9026a6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> Calendar::setMinimalDaysInFirstWeek </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>value</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

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

</div>
</div>
<a class="anchor" id="a4b918629b9bfd29e888f5ab933bd0b9b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> Calendar::setTime </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</td>
          <td class="paramname"><em>date</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

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

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

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

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

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

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

</div>
</div>
<a class="anchor" id="a397c5c9c48463610bc87fcb84ac7a855"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> Calendar::unregister </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="umisc_8h.html#ab5905d79ed3b979840cee1d5fd48b4fb">URegistryKey</a>&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &amp;&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Unregister a previously-registered CalendarFactory using the key returned from the register call. </p>
<p>Key becomes invalid after a successful call and should not be used again. The CalendarFactory corresponding to the key will be deleted. INTERNAL in 2.6 </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td>the registry key returned by a previous call to registerFactory </td></tr>
    <tr><td class="paramname">status</td><td>the in/out status code, no special meanings are assigned </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if the factory for the key was successfully unregistered </dd></dl>
<dl class="internal"><dt><b><a class="el" href="internal.html#_internal000149">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl>

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

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

<p>Referenced by <a class="el" href="calendar_8h_source.html#l02160">weekNumber()</a>.</p>

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

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

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

<p>References <a class="el" href="classCalendar.html#ac06ba54055473049be6427add1fa99e0">weekNumber()</a>.</p>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

<p>Referenced by <a class="el" href="calendar_8h_source.html#l02153">internalSet()</a>.</p>

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

<p>The flags which tell if a specified time field for the calendar is set. </p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_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#l01634">1634</a> of file <a class="el" href="calendar_8h_source.html">calendar.h</a>.</p>

<p>Referenced by <a class="el" href="calendar_8h_source.html#l02153">internalSet()</a>.</p>

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

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

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

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

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

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

<p>Referenced by <a class="el" href="calendar_8h_source.html#l02153">internalSet()</a>.</p>

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

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

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

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

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

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

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

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

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

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

Youez - 2016 - github.com/yon3zu
LinuXploit