Server IP : 103.119.228.120 / Your IP : 18.219.207.11 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/easy/share/doc/easy-libicu-doc-4.0.1/ |
Upload File : |
<!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: GregorianCalendar 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 Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li class="current"><a href="annotated.html"><span>Data 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 Structures</span></a></li> <li><a href="classes.html"><span>Data Structure Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Data 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"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark"> </span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark"> </span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark"> </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> | <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> | <a href="#pro-methods">Protected Member Functions</a> </div> <div class="headertitle"> <div class="title">GregorianCalendar Class Reference</div> </div> </div><!--header--> <div class="contents"> <p>Concrete class which provides the standard calendar used by most of the world. <a href="classGregorianCalendar.html#details">More...</a></p> <p><code>#include <<a class="el" href="gregocal_8h_source.html">gregocal.h</a>></code></p> <div class="dynheader"> Inheritance diagram for GregorianCalendar:</div> <div class="dyncontent"> <div class="center"> <img src="classGregorianCalendar.png" usemap="#GregorianCalendar_map" alt=""/> <map id="GregorianCalendar_map" name="GregorianCalendar_map"> <area href="classCalendar.html" title="Calendar is an abstract base class for converting between a UDate object and a set of integer fields ..." alt="Calendar" shape="rect" coords="0,112,121,136"/> <area href="classUObject.html" title="UObject is the common ICU "boilerplate" 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"/> </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:afeedaf0d04321220e77c46ba69b78619"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#afeedaf0d04321220e77c46ba69b78619">EEras</a> { <b>BC</b>, <b>AD</b> }</td></tr> <tr class="memdesc:afeedaf0d04321220e77c46ba69b78619"><td class="mdescLeft"> </td><td class="mdescRight">Useful constants for <a class="el" href="classGregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</a> and <a class="el" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a>. <a href="classGregorianCalendar.html#afeedaf0d04321220e77c46ba69b78619">More...</a><br/></td></tr> <tr class="separator:afeedaf0d04321220e77c46ba69b78619"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_types_classCalendar"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classCalendar')"><img src="closed.png" alt="-"/> Public Types inherited from <a class="el" href="classCalendar.html">Calendar</a></td></tr> <tr class="memitem:a9aa66a9e8030312d5314e306c713913e inherit pub_types_classCalendar"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a9aa66a9e8030312d5314e306c713913e">EDateFields</a> { <br/>   <b>ERA</b>, <b>YEAR</b>, <b>MONTH</b>, <b>WEEK_OF_YEAR</b>, <br/>   <b>WEEK_OF_MONTH</b>, <b>DATE</b>, <b>DAY_OF_YEAR</b>, <b>DAY_OF_WEEK</b>, <br/>   <b>DAY_OF_WEEK_IN_MONTH</b>, <b>AM_PM</b>, <b>HOUR</b>, <b>HOUR_OF_DAY</b>, <br/>   <b>MINUTE</b>, <b>SECOND</b>, <b>MILLISECOND</b>, <b>ZONE_OFFSET</b>, <br/>   <b>DST_OFFSET</b>, <b>YEAR_WOY</b>, <b>DOW_LOCAL</b>, <b>EXTENDED_YEAR</b>, <br/>   <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"> </td><td class="mdescRight">Field IDs for date and time. <a href="classCalendar.html#a9aa66a9e8030312d5314e306c713913e">More...</a><br/></td></tr> <tr class="separator:a9aa66a9e8030312d5314e306c713913e inherit pub_types_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a28d5c395b3200c812950321637796aa4 inherit pub_types_classCalendar"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a28d5c395b3200c812950321637796aa4">EDaysOfWeek</a> { <br/>   <b>SUNDAY</b> = 1, <b>MONDAY</b>, <b>TUESDAY</b>, <b>WEDNESDAY</b>, <br/>   <b>THURSDAY</b>, <b>FRIDAY</b>, <b>SATURDAY</b> <br/> }</td></tr> <tr class="memdesc:a28d5c395b3200c812950321637796aa4"><td class="mdescLeft"> </td><td class="mdescRight">Useful constant for days of week. <a href="classCalendar.html#a28d5c395b3200c812950321637796aa4">More...</a><br/></td></tr> <tr class="separator:a28d5c395b3200c812950321637796aa4 inherit pub_types_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a26f00f1507a3dd73ba4553b6e04d8313 inherit pub_types_classCalendar"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a26f00f1507a3dd73ba4553b6e04d8313">EMonths</a> { <br/>   <b>JANUARY</b>, <b>FEBRUARY</b>, <b>MARCH</b>, <b>APRIL</b>, <br/>   <b>MAY</b>, <b>JUNE</b>, <b>JULY</b>, <b>AUGUST</b>, <br/>   <b>SEPTEMBER</b>, <b>OCTOBER</b>, <b>NOVEMBER</b>, <b>DECEMBER</b>, <br/>   <b>UNDECIMBER</b> <br/> }</td></tr> <tr class="memdesc:a26f00f1507a3dd73ba4553b6e04d8313"><td class="mdescLeft"> </td><td class="mdescRight">Useful constants for month. <a href="classCalendar.html#a26f00f1507a3dd73ba4553b6e04d8313">More...</a><br/></td></tr> <tr class="separator:a26f00f1507a3dd73ba4553b6e04d8313 inherit pub_types_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab68462e2ea07c44eaa88265c8c80ed28 inherit pub_types_classCalendar"><td class="memItemLeft" align="right" valign="top">enum  </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"> </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 inherit pub_types_classCalendar"><td class="memSeparator" colspan="2"> </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:aef459c49036add0f69c9991ff7d7f11d"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#aef459c49036add0f69c9991ff7d7f11d">GregorianCalendar</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &success)</td></tr> <tr class="memdesc:aef459c49036add0f69c9991ff7d7f11d"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a default <a class="el" href="classGregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</a> using the current time in the default time zone with the default locale. <a href="#aef459c49036add0f69c9991ff7d7f11d">More...</a><br/></td></tr> <tr class="separator:aef459c49036add0f69c9991ff7d7f11d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a062240b2ac5791cc8b00ff871b022ec0"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#a062240b2ac5791cc8b00ff871b022ec0">GregorianCalendar</a> (<a class="el" href="classTimeZone.html">TimeZone</a> *zoneToAdopt, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &success)</td></tr> <tr class="memdesc:a062240b2ac5791cc8b00ff871b022ec0"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a <a class="el" href="classGregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</a> based on the current time in the given time zone with the default locale. <a href="#a062240b2ac5791cc8b00ff871b022ec0">More...</a><br/></td></tr> <tr class="separator:a062240b2ac5791cc8b00ff871b022ec0"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a072fb9cf35f38dc78b5f6ac09856ce2b"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#a072fb9cf35f38dc78b5f6ac09856ce2b">GregorianCalendar</a> (const <a class="el" href="classTimeZone.html">TimeZone</a> &zone, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &success)</td></tr> <tr class="memdesc:a072fb9cf35f38dc78b5f6ac09856ce2b"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a <a class="el" href="classGregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</a> based on the current time in the given time zone with the default locale. <a href="#a072fb9cf35f38dc78b5f6ac09856ce2b">More...</a><br/></td></tr> <tr class="separator:a072fb9cf35f38dc78b5f6ac09856ce2b"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6b1045e9d4426d089d3c9fccf3ed1520"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#a6b1045e9d4426d089d3c9fccf3ed1520">GregorianCalendar</a> (const <a class="el" href="classLocale.html">Locale</a> &aLocale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &success)</td></tr> <tr class="memdesc:a6b1045e9d4426d089d3c9fccf3ed1520"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a <a class="el" href="classGregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</a> based on the current time in the default time zone with the given locale. <a href="#a6b1045e9d4426d089d3c9fccf3ed1520">More...</a><br/></td></tr> <tr class="separator:a6b1045e9d4426d089d3c9fccf3ed1520"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa4776493fdf072637107e33db27ae0f4"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#aa4776493fdf072637107e33db27ae0f4">GregorianCalendar</a> (<a class="el" href="classTimeZone.html">TimeZone</a> *zoneToAdopt, const <a class="el" href="classLocale.html">Locale</a> &aLocale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &success)</td></tr> <tr class="memdesc:aa4776493fdf072637107e33db27ae0f4"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a <a class="el" href="classGregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</a> based on the current time in the given time zone with the given locale. <a href="#aa4776493fdf072637107e33db27ae0f4">More...</a><br/></td></tr> <tr class="separator:aa4776493fdf072637107e33db27ae0f4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a331be71044f6f7be43ddc9c65c0d47ea"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#a331be71044f6f7be43ddc9c65c0d47ea">GregorianCalendar</a> (const <a class="el" href="classTimeZone.html">TimeZone</a> &zone, const <a class="el" href="classLocale.html">Locale</a> &aLocale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &success)</td></tr> <tr class="memdesc:a331be71044f6f7be43ddc9c65c0d47ea"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a <a class="el" href="classGregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</a> based on the current time in the given time zone with the given locale. <a href="#a331be71044f6f7be43ddc9c65c0d47ea">More...</a><br/></td></tr> <tr class="separator:a331be71044f6f7be43ddc9c65c0d47ea"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aee943a8e7ad66de21cf68f65d131583e"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#aee943a8e7ad66de21cf68f65d131583e">GregorianCalendar</a> (int32_t year, int32_t month, int32_t date, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &success)</td></tr> <tr class="memdesc:aee943a8e7ad66de21cf68f65d131583e"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a <a class="el" href="classGregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</a> with the given AD date set in the default time zone with the default locale. <a href="#aee943a8e7ad66de21cf68f65d131583e">More...</a><br/></td></tr> <tr class="separator:aee943a8e7ad66de21cf68f65d131583e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9d653bb7fd8865fd40f9bd8e499d4e00"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#a9d653bb7fd8865fd40f9bd8e499d4e00">GregorianCalendar</a> (int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &success)</td></tr> <tr class="memdesc:a9d653bb7fd8865fd40f9bd8e499d4e00"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a <a class="el" href="classGregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</a> with the given AD date and time set for the default time zone with the default locale. <a href="#a9d653bb7fd8865fd40f9bd8e499d4e00">More...</a><br/></td></tr> <tr class="separator:a9d653bb7fd8865fd40f9bd8e499d4e00"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae4312d4bda173f6d707b08d389dd0525"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#ae4312d4bda173f6d707b08d389dd0525">GregorianCalendar</a> (int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute, int32_t second, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &success)</td></tr> <tr class="memdesc:ae4312d4bda173f6d707b08d389dd0525"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a <a class="el" href="classGregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</a> with the given AD date and time set for the default time zone with the default locale. <a href="#ae4312d4bda173f6d707b08d389dd0525">More...</a><br/></td></tr> <tr class="separator:ae4312d4bda173f6d707b08d389dd0525"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5ccea6f20e8762609df45b85450299e2"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#a5ccea6f20e8762609df45b85450299e2">~GregorianCalendar</a> ()</td></tr> <tr class="memdesc:a5ccea6f20e8762609df45b85450299e2"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a5ccea6f20e8762609df45b85450299e2">More...</a><br/></td></tr> <tr class="separator:a5ccea6f20e8762609df45b85450299e2"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a73927d036deb23cbc22de2ead041ced9"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#a73927d036deb23cbc22de2ead041ced9">GregorianCalendar</a> (const <a class="el" href="classGregorianCalendar.html">GregorianCalendar</a> &source)</td></tr> <tr class="memdesc:a73927d036deb23cbc22de2ead041ced9"><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <a href="#a73927d036deb23cbc22de2ead041ced9">More...</a><br/></td></tr> <tr class="separator:a73927d036deb23cbc22de2ead041ced9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac178802905971d48556c0ac8a77bb3c4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGregorianCalendar.html">GregorianCalendar</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#ac178802905971d48556c0ac8a77bb3c4">operator=</a> (const <a class="el" href="classGregorianCalendar.html">GregorianCalendar</a> &right)</td></tr> <tr class="memdesc:ac178802905971d48556c0ac8a77bb3c4"><td class="mdescLeft"> </td><td class="mdescRight">Default assignment operator. <a href="#ac178802905971d48556c0ac8a77bb3c4">More...</a><br/></td></tr> <tr class="separator:ac178802905971d48556c0ac8a77bb3c4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6924d2c9812c8af226ca941b024c56aa"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classCalendar.html">Calendar</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#a6924d2c9812c8af226ca941b024c56aa">clone</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:a6924d2c9812c8af226ca941b024c56aa"><td class="mdescLeft"> </td><td class="mdescRight">Create and return a polymorphic copy of this calendar. <a href="#a6924d2c9812c8af226ca941b024c56aa">More...</a><br/></td></tr> <tr class="separator:a6924d2c9812c8af226ca941b024c56aa"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5e643d82a8dba031b54c97f057d804f6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#a5e643d82a8dba031b54c97f057d804f6">setGregorianChange</a> (<a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> date, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &success)</td></tr> <tr class="memdesc:a5e643d82a8dba031b54c97f057d804f6"><td class="mdescLeft"> </td><td class="mdescRight">Sets the <a class="el" href="classGregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</a> change date. <a href="#a5e643d82a8dba031b54c97f057d804f6">More...</a><br/></td></tr> <tr class="separator:a5e643d82a8dba031b54c97f057d804f6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3e038439da10df6dec13fc500f2b54b5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#a3e038439da10df6dec13fc500f2b54b5">getGregorianChange</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:a3e038439da10df6dec13fc500f2b54b5"><td class="mdescLeft"> </td><td class="mdescRight">Gets the Gregorian <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> change date. <a href="#a3e038439da10df6dec13fc500f2b54b5">More...</a><br/></td></tr> <tr class="separator:a3e038439da10df6dec13fc500f2b54b5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a74481deb64e01bbcd8d0f72ff99b687f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#a74481deb64e01bbcd8d0f72ff99b687f">isLeapYear</a> (int32_t year) const </td></tr> <tr class="memdesc:a74481deb64e01bbcd8d0f72ff99b687f"><td class="mdescLeft"> </td><td class="mdescRight">Return true if the given year is a leap year. <a href="#a74481deb64e01bbcd8d0f72ff99b687f">More...</a><br/></td></tr> <tr class="separator:a74481deb64e01bbcd8d0f72ff99b687f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab72c13d826e10d9292760b083c63f956"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#ab72c13d826e10d9292760b083c63f956">isEquivalentTo</a> (const <a class="el" href="classCalendar.html">Calendar</a> &other) const </td></tr> <tr class="memdesc:ab72c13d826e10d9292760b083c63f956"><td class="mdescLeft"> </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="#ab72c13d826e10d9292760b083c63f956">More...</a><br/></td></tr> <tr class="separator:ab72c13d826e10d9292760b083c63f956"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a94eb045ce42c58b4f823e55f91bb695e"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#a94eb045ce42c58b4f823e55f91bb695e">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> &status)</td></tr> <tr class="memdesc:a94eb045ce42c58b4f823e55f91bb695e"><td class="mdescLeft"> </td><td class="mdescRight">(Overrides <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>) Rolls up or down by the given amount in the specified field. <a href="#a94eb045ce42c58b4f823e55f91bb695e">More...</a><br/></td></tr> <tr class="separator:a94eb045ce42c58b4f823e55f91bb695e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a356ca180f51ab33ce27f41fde8c43739"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#a356ca180f51ab33ce27f41fde8c43739">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> &status)</td></tr> <tr class="memdesc:a356ca180f51ab33ce27f41fde8c43739"><td class="mdescLeft"> </td><td class="mdescRight">(Overrides <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>) Rolls up or down by the given amount in the specified field. <a href="#a356ca180f51ab33ce27f41fde8c43739">More...</a><br/></td></tr> <tr class="separator:a356ca180f51ab33ce27f41fde8c43739"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac4638c3ac6effee100f6b18081533943"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#ac4638c3ac6effee100f6b18081533943">getActualMinimum</a> (<a class="el" href="classCalendar.html#a9aa66a9e8030312d5314e306c713913e">EDateFields</a> field) const </td></tr> <tr class="memdesc:ac4638c3ac6effee100f6b18081533943"><td class="mdescLeft"> </td><td class="mdescRight">Return the minimum value that this field could have, given the current date. <a href="#ac4638c3ac6effee100f6b18081533943">More...</a><br/></td></tr> <tr class="separator:ac4638c3ac6effee100f6b18081533943"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af24993c1cd9d48e203b820f6981f991e"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#af24993c1cd9d48e203b820f6981f991e">getActualMinimum</a> (<a class="el" href="classCalendar.html#a9aa66a9e8030312d5314e306c713913e">EDateFields</a> field, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:af24993c1cd9d48e203b820f6981f991e"><td class="mdescLeft"> </td><td class="mdescRight">Return the minimum value that this field could have, given the current date. <a href="#af24993c1cd9d48e203b820f6981f991e">More...</a><br/></td></tr> <tr class="separator:af24993c1cd9d48e203b820f6981f991e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3cddc1a8bd73250d23ef4ccd632c21c8"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#a3cddc1a8bd73250d23ef4ccd632c21c8">getActualMinimum</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:a3cddc1a8bd73250d23ef4ccd632c21c8"><td class="mdescLeft"> </td><td class="mdescRight">Return the minimum value that this field could have, given the current date. <a href="#a3cddc1a8bd73250d23ef4ccd632c21c8">More...</a><br/></td></tr> <tr class="separator:a3cddc1a8bd73250d23ef4ccd632c21c8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1fe4199946f259c5fff4b3a976db628f"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#a1fe4199946f259c5fff4b3a976db628f">getActualMaximum</a> (<a class="el" href="classCalendar.html#a9aa66a9e8030312d5314e306c713913e">EDateFields</a> field) const </td></tr> <tr class="memdesc:a1fe4199946f259c5fff4b3a976db628f"><td class="mdescLeft"> </td><td class="mdescRight">Return the maximum value that this field could have, given the current date. <a href="#a1fe4199946f259c5fff4b3a976db628f">More...</a><br/></td></tr> <tr class="separator:a1fe4199946f259c5fff4b3a976db628f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa6dffa7c30b24613fa6762c715dc24ab"><td class="memItemLeft" align="right" valign="top">virtual int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#aa6dffa7c30b24613fa6762c715dc24ab">getActualMaximum</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:aa6dffa7c30b24613fa6762c715dc24ab"><td class="mdescLeft"> </td><td class="mdescRight">Return the maximum value that this field could have, given the current date. <a href="#aa6dffa7c30b24613fa6762c715dc24ab">More...</a><br/></td></tr> <tr class="separator:aa6dffa7c30b24613fa6762c715dc24ab"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa9dcb25c2fefe715f33fad5e11075cd8"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#aa9dcb25c2fefe715f33fad5e11075cd8">inDaylightTime</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:aa9dcb25c2fefe715f33fad5e11075cd8"><td class="mdescLeft"> </td><td class="mdescRight">(Overrides <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>) Return 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. <a href="#aa9dcb25c2fefe715f33fad5e11075cd8">More...</a><br/></td></tr> <tr class="separator:aa9dcb25c2fefe715f33fad5e11075cd8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad692fc0734c8b0dd5af7cf8f403caa87"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#ad692fc0734c8b0dd5af7cf8f403caa87">getDynamicClassID</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:ad692fc0734c8b0dd5af7cf8f403caa87"><td class="mdescLeft"> </td><td class="mdescRight">Override <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> Returns a unique class ID POLYMORPHICALLY. <a href="#ad692fc0734c8b0dd5af7cf8f403caa87">More...</a><br/></td></tr> <tr class="separator:ad692fc0734c8b0dd5af7cf8f403caa87"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9d3dbbead3bf74c685b479e5115e514c"><td class="memItemLeft" align="right" valign="top">virtual const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#a9d3dbbead3bf74c685b479e5115e514c">getType</a> () const </td></tr> <tr class="memdesc:a9d3dbbead3bf74c685b479e5115e514c"><td class="mdescLeft"> </td><td class="mdescRight">Get the calendar type, "gregorian", for use in <a class="el" href="classDateFormatSymbols.html" title="DateFormatSymbols is a public class for encapsulating localizable date-time formatting data – includi...">DateFormatSymbols</a>. <a href="#a9d3dbbead3bf74c685b479e5115e514c">More...</a><br/></td></tr> <tr class="separator:a9d3dbbead3bf74c685b479e5115e514c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a777df4314a0e9266ee3fd20afcdb3218"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#a777df4314a0e9266ee3fd20afcdb3218">haveDefaultCentury</a> () const </td></tr> <tr class="separator:a777df4314a0e9266ee3fd20afcdb3218"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3c11c790997b4a7ef2009c9db5dfc7dd"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#a3c11c790997b4a7ef2009c9db5dfc7dd">defaultCenturyStart</a> () const </td></tr> <tr class="separator:a3c11c790997b4a7ef2009c9db5dfc7dd"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad308638658b0758dcdaaae57a3599a27"><td class="memItemLeft" align="right" valign="top">virtual int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#ad308638658b0758dcdaaae57a3599a27">defaultCenturyStartYear</a> () const </td></tr> <tr class="separator:ad308638658b0758dcdaaae57a3599a27"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classCalendar"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classCalendar')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classCalendar.html">Calendar</a></td></tr> <tr class="memitem:a3d5422cc908f8666dd295f4f25a793e1 inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a3d5422cc908f8666dd295f4f25a793e1">~Calendar</a> ()</td></tr> <tr class="memdesc:a3d5422cc908f8666dd295f4f25a793e1 inherit pub_methods_classCalendar"><td class="mdescLeft"> </td><td class="mdescRight">destructor <a href="#a3d5422cc908f8666dd295f4f25a793e1">More...</a><br/></td></tr> <tr class="separator:a3d5422cc908f8666dd295f4f25a793e1 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a84d108d140a43b019c3ab3d022d7c68b inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> </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> &status) const </td></tr> <tr class="memdesc:a84d108d140a43b019c3ab3d022d7c68b inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4b918629b9bfd29e888f5ab933bd0b9b inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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> &status)</td></tr> <tr class="memdesc:a4b918629b9bfd29e888f5ab933bd0b9b inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa231d324e53576d3198a0aedd129f3ad inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#aa231d324e53576d3198a0aedd129f3ad">operator==</a> (const <a class="el" href="classCalendar.html">Calendar</a> &that) const </td></tr> <tr class="memdesc:aa231d324e53576d3198a0aedd129f3ad inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab35bae6d03802181b0b529955126c6f0 inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ab35bae6d03802181b0b529955126c6f0">operator!=</a> (const <a class="el" href="classCalendar.html">Calendar</a> &that) const </td></tr> <tr class="memdesc:ab35bae6d03802181b0b529955126c6f0 inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3ed5a35ec465912fed9e8ed90992cdc9 inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a3ed5a35ec465912fed9e8ed90992cdc9">equals</a> (const <a class="el" href="classCalendar.html">Calendar</a> &when, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:a3ed5a35ec465912fed9e8ed90992cdc9 inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a46f47197740b6ea80d81743ec3af3fab inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a46f47197740b6ea80d81743ec3af3fab">before</a> (const <a class="el" href="classCalendar.html">Calendar</a> &when, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:a46f47197740b6ea80d81743ec3af3fab inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2ca85aeccfad737241317ad4a3571926 inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a2ca85aeccfad737241317ad4a3571926">after</a> (const <a class="el" href="classCalendar.html">Calendar</a> &when, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status) const </td></tr> <tr class="memdesc:a2ca85aeccfad737241317ad4a3571926 inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4c480d382487d1f05b717dbd310515b3 inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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> &status)</td></tr> <tr class="memdesc:a4c480d382487d1f05b717dbd310515b3 inherit pub_methods_classCalendar"><td class="mdescLeft"> </td><td class="mdescRight">UDate Arithmetic function. <a href="#a4c480d382487d1f05b717dbd310515b3">More...</a><br/></td></tr> <tr class="separator:a4c480d382487d1f05b717dbd310515b3 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a743c11819bc8823ece3d7ee9260f174f inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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> &status)</td></tr> <tr class="memdesc:a743c11819bc8823ece3d7ee9260f174f inherit pub_methods_classCalendar"><td class="mdescLeft"> </td><td class="mdescRight">UDate Arithmetic function. <a href="#a743c11819bc8823ece3d7ee9260f174f">More...</a><br/></td></tr> <tr class="separator:a743c11819bc8823ece3d7ee9260f174f inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a98e5b80bb733a6e8dec95b8ac0225a68 inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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> &status)</td></tr> <tr class="memdesc:a98e5b80bb733a6e8dec95b8ac0225a68 inherit pub_methods_classCalendar"><td class="mdescLeft"> </td><td class="mdescRight">Time Field Rolling function. <a href="#a98e5b80bb733a6e8dec95b8ac0225a68">More...</a><br/></td></tr> <tr class="separator:a98e5b80bb733a6e8dec95b8ac0225a68 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1a95a3e423d17c1f415bc39b75cf77d2 inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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> &status)</td></tr> <tr class="memdesc:a1a95a3e423d17c1f415bc39b75cf77d2 inherit pub_methods_classCalendar"><td class="mdescLeft"> </td><td class="mdescRight">Time Field Rolling function. <a href="#a1a95a3e423d17c1f415bc39b75cf77d2">More...</a><br/></td></tr> <tr class="separator:a1a95a3e423d17c1f415bc39b75cf77d2 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6cf48d67d31ee09a3ed5c6064a64e4cd inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">virtual int32_t </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> &status)</td></tr> <tr class="memdesc:a6cf48d67d31ee09a3ed5c6064a64e4cd inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1a735b5e3c69f937e58dbb58c1ec50bd inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">virtual int32_t </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> &status)</td></tr> <tr class="memdesc:a1a735b5e3c69f937e58dbb58c1ec50bd inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af018c3a61cec42d055e320c1ff1d4292 inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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 inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a26bbb988eecad26152a26c5b6aa183ef inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a26bbb988eecad26152a26c5b6aa183ef">setTimeZone</a> (const <a class="el" href="classTimeZone.html">TimeZone</a> &zone)</td></tr> <tr class="memdesc:a26bbb988eecad26152a26c5b6aa183ef inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1ef5c22031d5899ffbedc7032d892087 inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classTimeZone.html">TimeZone</a> & </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 inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0d42eafa6a420463fa981aa34a3a6150 inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classTimeZone.html">TimeZone</a> * </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 inherit pub_methods_classCalendar"><td class="mdescLeft"> </td><td class="mdescRight">Returns the time zone owned by this calendar. <a href="#a0d42eafa6a420463fa981aa34a3a6150">More...</a><br/></td></tr> <tr class="separator:a0d42eafa6a420463fa981aa34a3a6150 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7d4084cd44bc04497309e01c161f45ee inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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 inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a183d1b14292fe017fc206a80e6734db9 inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </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 inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab7df065eb046cd863eb201fc56b0429e inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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 inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad304c4129e472a106b4027ac78aa09b8 inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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 inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0a8bdc7ffb9d13e948ef0268dbdddc26 inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCalendar.html#a28d5c395b3200c812950321637796aa4">EDaysOfWeek</a> </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 inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a063ed9d458f2ab4fd0f4e40ab7d81307 inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucal_8h.html#a62d9fe551bd48e4141fce52b917119a4">UCalendarDaysOfWeek</a> </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> &status) const </td></tr> <tr class="memdesc:a063ed9d458f2ab4fd0f4e40ab7d81307 inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad3c13b061c7ed103d6b31ac08a9026a6 inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ad3c13b061c7ed103d6b31ac08a9026a6">setMinimalDaysInFirstWeek</a> (uint8_t value)</td></tr> <tr class="memdesc:ad3c13b061c7ed103d6b31ac08a9026a6 inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac39fb4eea23b9ea863ac3119913a3322 inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">uint8_t </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 inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2c0793eb4f9ff0fc0cc1313188ee203a inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">virtual int32_t </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 inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3b36ad1a0ae8cc44faf2062971c54dad inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">virtual int32_t </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 inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac751035e7d9e6e744edc7d92fd471a4f inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">virtual int32_t </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 inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a53ddf6470cb971f44d501a097ca52e7e inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">virtual int32_t </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 inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5b6cbd4db4fbfa4fb686689e70633265 inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">virtual int32_t </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 inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a82e27703afb741739d0505b58d6860df inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">virtual int32_t </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 inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aacf8382337e234b96bfe4e470dcc4817 inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">virtual int32_t </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 inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a053ab977d86c1a7256ccf59e13e87d88 inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">virtual int32_t </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 inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4e67d27df4e1579ce031de5e6ea05a2e inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">int32_t </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> &status) const </td></tr> <tr class="memdesc:a4e67d27df4e1579ce031de5e6ea05a2e inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a62c65424820ca64e850b346212eb35a7 inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">int32_t </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> &status) const </td></tr> <tr class="memdesc:a62c65424820ca64e850b346212eb35a7 inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0e86c32f3c5e1e45420d1b57fc5c369e inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">int32_t </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> &status) const </td></tr> <tr class="memdesc:a0e86c32f3c5e1e45420d1b57fc5c369e inherit pub_methods_classCalendar"><td class="mdescLeft"> </td><td class="mdescRight">Gets the value for a given time field. <a href="#a0e86c32f3c5e1e45420d1b57fc5c369e">More...</a><br/></td></tr> <tr class="separator:a0e86c32f3c5e1e45420d1b57fc5c369e inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a473c5a767a72a2c390e2ffc6b971dbd9 inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">int32_t </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> &status) const </td></tr> <tr class="memdesc:a473c5a767a72a2c390e2ffc6b971dbd9 inherit pub_methods_classCalendar"><td class="mdescLeft"> </td><td class="mdescRight">Gets the value for a given time field. <a href="#a473c5a767a72a2c390e2ffc6b971dbd9">More...</a><br/></td></tr> <tr class="separator:a473c5a767a72a2c390e2ffc6b971dbd9 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa58ac68d0d775d0766cf2d69d145233b inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </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 inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abc3510e5a75c30637122bff345f639cb inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </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 inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a98ba908ffc6a88d6566983d4f95245df inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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 inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a558039a413ea1e1a9bfd47375d12e4ea inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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 inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0de0f9d494dc1a347c64560c73609b09 inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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 inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acea9496f6dbb52f8682abe3c99c7c6c4 inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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 inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a53bae01ea06605c7506d9956db1ef165 inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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 inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7e0409b7750ff09b7275a061bd6ae816 inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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 inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac62813e912368d76cec3fccfba231108 inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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 inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aad6c0532f6b52c5feb288615e3e2b681 inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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 inherit pub_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a019f867554a0f3dbc3ee865bf7864295 inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classLocale.html">Locale</a> </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> &status) const </td></tr> <tr class="memdesc:a019f867554a0f3dbc3ee865bf7864295 inherit pub_methods_classCalendar"><td class="mdescLeft"> </td><td class="mdescRight">Get the locale for this calendar object. <a href="#a019f867554a0f3dbc3ee865bf7864295">More...</a><br/></td></tr> <tr class="separator:a019f867554a0f3dbc3ee865bf7864295 inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aec71fd785775da0decb82cd819ccfaba inherit pub_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">const char * </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> &status) const </td></tr> <tr class="memdesc:aec71fd785775da0decb82cd819ccfaba inherit pub_methods_classCalendar"><td class="mdescLeft"> </td><td class="mdescRight">Get the locale for this calendar object. <a href="#aec71fd785775da0decb82cd819ccfaba">More...</a><br/></td></tr> <tr class="separator:aec71fd785775da0decb82cd819ccfaba inherit pub_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classUObject"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classUObject')"><img src="closed.png" alt="-"/> 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 </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"> </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"> </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:a0f6db4c67cbe5b671aee4cb8934c3fd8"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#a0f6db4c67cbe5b671aee4cb8934c3fd8">getStaticClassID</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>)</td></tr> <tr class="memdesc:a0f6db4c67cbe5b671aee4cb8934c3fd8"><td class="mdescLeft"> </td><td class="mdescRight">Return the class ID for this class. <a href="#a0f6db4c67cbe5b671aee4cb8934c3fd8">More...</a><br/></td></tr> <tr class="separator:a0f6db4c67cbe5b671aee4cb8934c3fd8"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_static_methods_classCalendar"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classCalendar')"><img src="closed.png" alt="-"/> Static Public Member Functions inherited from <a class="el" href="classCalendar.html">Calendar</a></td></tr> <tr class="memitem:a1872a90e5aaae1cfe3e826248fa9b497 inherit pub_static_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classCalendar.html">Calendar</a> * </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> &success)</td></tr> <tr class="memdesc:a1872a90e5aaae1cfe3e826248fa9b497 inherit pub_static_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_static_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad1991655c5d12be8f321026c8b86e33a inherit pub_static_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classCalendar.html">Calendar</a> * </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> &success)</td></tr> <tr class="memdesc:ad1991655c5d12be8f321026c8b86e33a inherit pub_static_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_static_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a175df133c28993f82204a45f606cf6dd inherit pub_static_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classCalendar.html">Calendar</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a175df133c28993f82204a45f606cf6dd">createInstance</a> (const <a class="el" href="classTimeZone.html">TimeZone</a> &zone, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &success)</td></tr> <tr class="memdesc:a175df133c28993f82204a45f606cf6dd inherit pub_static_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_static_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a60ba2c6b6de35fb26560b796d726d9b3 inherit pub_static_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classCalendar.html">Calendar</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a60ba2c6b6de35fb26560b796d726d9b3">createInstance</a> (const <a class="el" href="classLocale.html">Locale</a> &aLocale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &success)</td></tr> <tr class="memdesc:a60ba2c6b6de35fb26560b796d726d9b3 inherit pub_static_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_static_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4e58744fcd29c45b18826b9b7ebf6a3b inherit pub_static_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classCalendar.html">Calendar</a> * </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> &aLocale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &success)</td></tr> <tr class="memdesc:a4e58744fcd29c45b18826b9b7ebf6a3b inherit pub_static_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_static_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a264ca0cd356b7431080d4de4078bb905 inherit pub_static_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classCalendar.html">Calendar</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a264ca0cd356b7431080d4de4078bb905">createInstance</a> (const <a class="el" href="classTimeZone.html">TimeZone</a> &zoneToAdopt, const <a class="el" href="classLocale.html">Locale</a> &aLocale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &success)</td></tr> <tr class="memdesc:a264ca0cd356b7431080d4de4078bb905 inherit pub_static_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_static_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6b87567eb37ad5c07c17e6a2c46d257e inherit pub_static_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="classLocale.html">Locale</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a6b87567eb37ad5c07c17e6a2c46d257e">getAvailableLocales</a> (int32_t &count)</td></tr> <tr class="memdesc:a6b87567eb37ad5c07c17e6a2c46d257e inherit pub_static_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_static_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aab1712ccf7b261332a4d14c71dc6994e inherit pub_static_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> </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 inherit pub_static_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_static_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:adc0142552cd2e3fa56ed7a800edf4f2d inherit pub_static_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classStringEnumeration.html">StringEnumeration</a> * </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 inherit pub_static_methods_classCalendar"><td class="mdescLeft"> </td><td class="mdescRight">INTERNAL FOR 2.6 – Registration. <a href="#adc0142552cd2e3fa56ed7a800edf4f2d">More...</a><br/></td></tr> <tr class="separator:adc0142552cd2e3fa56ed7a800edf4f2d inherit pub_static_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8118ce78632ea4a749e15d24a5f9560a inherit pub_static_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="umisc_8h.html#ab5905d79ed3b979840cee1d5fd48b4fb">URegistryKey</a> </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> &status)</td></tr> <tr class="memdesc:a8118ce78632ea4a749e15d24a5f9560a inherit pub_static_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_static_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a397c5c9c48463610bc87fcb84ac7a855 inherit pub_static_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </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> &status)</td></tr> <tr class="memdesc:a397c5c9c48463610bc87fcb84ac7a855 inherit pub_static_methods_classCalendar"><td class="mdescLeft"> </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 inherit pub_static_methods_classCalendar"><td class="memSeparator" colspan="2"> </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="-"/> 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> * </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"> </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"> </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> * </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"> </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"> </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> </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"> </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"> </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> </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"> </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"> </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> * </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"> </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"> </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> </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"> </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"> </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:acad345a12f58ef31e2a7b275e0c3dd23"><td class="memItemLeft" align="right" valign="top">virtual int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#acad345a12f58ef31e2a7b275e0c3dd23">internalGetEra</a> () const </td></tr> <tr class="memdesc:acad345a12f58ef31e2a7b275e0c3dd23"><td class="mdescLeft"> </td><td class="mdescRight">Return the ERA. <a href="#acad345a12f58ef31e2a7b275e0c3dd23">More...</a><br/></td></tr> <tr class="separator:acad345a12f58ef31e2a7b275e0c3dd23"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a87badc27fdb6dc0638bc94864a4961d9"><td class="memItemLeft" align="right" valign="top">virtual int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#a87badc27fdb6dc0638bc94864a4961d9">handleComputeMonthStart</a> (int32_t eyear, int32_t month, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> useMonth) const </td></tr> <tr class="memdesc:a87badc27fdb6dc0638bc94864a4961d9"><td class="mdescLeft"> </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="#a87badc27fdb6dc0638bc94864a4961d9">More...</a><br/></td></tr> <tr class="separator:a87badc27fdb6dc0638bc94864a4961d9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a59b86395575bf7784ffe1f2edac5b165"><td class="memItemLeft" align="right" valign="top">virtual int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#a59b86395575bf7784ffe1f2edac5b165">handleComputeJulianDay</a> (<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> bestField)</td></tr> <tr class="memdesc:a59b86395575bf7784ffe1f2edac5b165"><td class="mdescLeft"> </td><td class="mdescRight">Subclasses may override this. <a href="#a59b86395575bf7784ffe1f2edac5b165">More...</a><br/></td></tr> <tr class="separator:a59b86395575bf7784ffe1f2edac5b165"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a05a03940641b2455a2875cbc31f386e9"><td class="memItemLeft" align="right" valign="top">virtual int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#a05a03940641b2455a2875cbc31f386e9">handleGetMonthLength</a> (int32_t extendedYear, int32_t month) const </td></tr> <tr class="memdesc:a05a03940641b2455a2875cbc31f386e9"><td class="mdescLeft"> </td><td class="mdescRight">Return the number of days in the given month of the given extended year of this calendar system. <a href="#a05a03940641b2455a2875cbc31f386e9">More...</a><br/></td></tr> <tr class="separator:a05a03940641b2455a2875cbc31f386e9"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a32772c0335d2440b8fcb4cf7569e9f84"><td class="memItemLeft" align="right" valign="top">virtual int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#a32772c0335d2440b8fcb4cf7569e9f84">handleGetYearLength</a> (int32_t eyear) const </td></tr> <tr class="memdesc:a32772c0335d2440b8fcb4cf7569e9f84"><td class="mdescLeft"> </td><td class="mdescRight">Return the number of days in the given extended year of this calendar system. <a href="#a32772c0335d2440b8fcb4cf7569e9f84">More...</a><br/></td></tr> <tr class="separator:a32772c0335d2440b8fcb4cf7569e9f84"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4d4fc48ebc080768c5850f95c7d6cff7"><td class="memItemLeft" align="right" valign="top">virtual int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#a4d4fc48ebc080768c5850f95c7d6cff7">monthLength</a> (int32_t month) const </td></tr> <tr class="memdesc:a4d4fc48ebc080768c5850f95c7d6cff7"><td class="mdescLeft"> </td><td class="mdescRight">return the length of the given month. <a href="#a4d4fc48ebc080768c5850f95c7d6cff7">More...</a><br/></td></tr> <tr class="separator:a4d4fc48ebc080768c5850f95c7d6cff7"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2204aacfc59e4e74760e0aceaee38f62"><td class="memItemLeft" align="right" valign="top">virtual int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#a2204aacfc59e4e74760e0aceaee38f62">monthLength</a> (int32_t month, int32_t year) const </td></tr> <tr class="memdesc:a2204aacfc59e4e74760e0aceaee38f62"><td class="mdescLeft"> </td><td class="mdescRight">return the length of the month according to the given year. <a href="#a2204aacfc59e4e74760e0aceaee38f62">More...</a><br/></td></tr> <tr class="separator:a2204aacfc59e4e74760e0aceaee38f62"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a127be84d5a2d75ca5c7e382c59c97235"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#a127be84d5a2d75ca5c7e382c59c97235">yearLength</a> (int32_t year) const </td></tr> <tr class="memdesc:a127be84d5a2d75ca5c7e382c59c97235"><td class="mdescLeft"> </td><td class="mdescRight">return the length of the given year. <a href="#a127be84d5a2d75ca5c7e382c59c97235">More...</a><br/></td></tr> <tr class="separator:a127be84d5a2d75ca5c7e382c59c97235"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a256c2c34dd24f4c5def8bd97bedf80a1"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#a256c2c34dd24f4c5def8bd97bedf80a1">yearLength</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>) const </td></tr> <tr class="memdesc:a256c2c34dd24f4c5def8bd97bedf80a1"><td class="mdescLeft"> </td><td class="mdescRight">return the length of the year field. <a href="#a256c2c34dd24f4c5def8bd97bedf80a1">More...</a><br/></td></tr> <tr class="separator:a256c2c34dd24f4c5def8bd97bedf80a1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:afc614bc74d3d9ce7272947b8e136d6ab"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#afc614bc74d3d9ce7272947b8e136d6ab">pinDayOfMonth</a> (<a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a>)</td></tr> <tr class="memdesc:afc614bc74d3d9ce7272947b8e136d6ab"><td class="mdescLeft"> </td><td class="mdescRight">After adjustments such as add(MONTH), add(YEAR), we don't want the month to jump around. <a href="#afc614bc74d3d9ce7272947b8e136d6ab">More...</a><br/></td></tr> <tr class="separator:afc614bc74d3d9ce7272947b8e136d6ab"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a87a5e98e6893195878c88371510c6a70"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#a87a5e98e6893195878c88371510c6a70">getEpochDay</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a87a5e98e6893195878c88371510c6a70"><td class="mdescLeft"> </td><td class="mdescRight">Return the day number with respect to the epoch. <a href="#a87a5e98e6893195878c88371510c6a70">More...</a><br/></td></tr> <tr class="separator:a87a5e98e6893195878c88371510c6a70"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6075f0ad5bbe0cecd8283e45e93d482c"><td class="memItemLeft" align="right" valign="top">virtual int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#a6075f0ad5bbe0cecd8283e45e93d482c">handleGetLimit</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:a6075f0ad5bbe0cecd8283e45e93d482c"><td class="mdescLeft"> </td><td class="mdescRight">Subclass API for defining limits of different types. <a href="#a6075f0ad5bbe0cecd8283e45e93d482c">More...</a><br/></td></tr> <tr class="separator:a6075f0ad5bbe0cecd8283e45e93d482c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9c8ef3f3ae56e41f52c7fd353348a09f"><td class="memItemLeft" align="right" valign="top">virtual int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#a9c8ef3f3ae56e41f52c7fd353348a09f">handleGetExtendedYear</a> ()</td></tr> <tr class="memdesc:a9c8ef3f3ae56e41f52c7fd353348a09f"><td class="mdescLeft"> </td><td class="mdescRight">Return the extended year defined by the current fields. <a href="#a9c8ef3f3ae56e41f52c7fd353348a09f">More...</a><br/></td></tr> <tr class="separator:a9c8ef3f3ae56e41f52c7fd353348a09f"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9068000f1c22c0d27ab752e01cacf082"><td class="memItemLeft" align="right" valign="top">virtual int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#a9068000f1c22c0d27ab752e01cacf082">handleGetExtendedYearFromWeekFields</a> (int32_t yearWoy, int32_t woy)</td></tr> <tr class="memdesc:a9068000f1c22c0d27ab752e01cacf082"><td class="mdescLeft"> </td><td class="mdescRight">Subclasses may 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="#a9068000f1c22c0d27ab752e01cacf082">More...</a><br/></td></tr> <tr class="separator:a9068000f1c22c0d27ab752e01cacf082"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2f31b54f19ec8588cb1cfe1ade77eb07"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGregorianCalendar.html#a2f31b54f19ec8588cb1cfe1ade77eb07">handleComputeFields</a> (int32_t julianDay, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &status)</td></tr> <tr class="memdesc:a2f31b54f19ec8588cb1cfe1ade77eb07"><td class="mdescLeft"> </td><td class="mdescRight">Subclasses may override this method to compute several fields specific to each calendar system. <a href="#a2f31b54f19ec8588cb1cfe1ade77eb07">More...</a><br/></td></tr> <tr class="separator:a2f31b54f19ec8588cb1cfe1ade77eb07"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pro_methods_classCalendar"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classCalendar')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classCalendar.html">Calendar</a></td></tr> <tr class="memitem:a1807a722455fad6331a8a064273e6e20 inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"> </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> &success)</td></tr> <tr class="memdesc:a1807a722455fad6331a8a064273e6e20 inherit pro_methods_classCalendar"><td class="mdescLeft"> </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 inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac96446048cf739bc1d280cdc65a23db0 inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ac96446048cf739bc1d280cdc65a23db0">Calendar</a> (const <a class="el" href="classCalendar.html">Calendar</a> &source)</td></tr> <tr class="memdesc:ac96446048cf739bc1d280cdc65a23db0 inherit pro_methods_classCalendar"><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <a href="#ac96446048cf739bc1d280cdc65a23db0">More...</a><br/></td></tr> <tr class="separator:ac96446048cf739bc1d280cdc65a23db0 inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac3bcbd2497e977c8324cc0b089879c3a inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classCalendar.html">Calendar</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ac3bcbd2497e977c8324cc0b089879c3a">operator=</a> (const <a class="el" href="classCalendar.html">Calendar</a> &right)</td></tr> <tr class="memdesc:ac3bcbd2497e977c8324cc0b089879c3a inherit pro_methods_classCalendar"><td class="mdescLeft"> </td><td class="mdescRight">Default assignment operator. <a href="#ac3bcbd2497e977c8324cc0b089879c3a">More...</a><br/></td></tr> <tr class="separator:ac3bcbd2497e977c8324cc0b089879c3a inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acf90dad3da55d4c3ffa5fdabf099b88c inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"> </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> &aLocale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &success)</td></tr> <tr class="memdesc:acf90dad3da55d4c3ffa5fdabf099b88c inherit pro_methods_classCalendar"><td class="mdescLeft"> </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 inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a41eb1824078a3d3d371e97c0314e3eda inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a41eb1824078a3d3d371e97c0314e3eda">Calendar</a> (const <a class="el" href="classTimeZone.html">TimeZone</a> &zone, const <a class="el" href="classLocale.html">Locale</a> &aLocale, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> &success)</td></tr> <tr class="memdesc:a41eb1824078a3d3d371e97c0314e3eda inherit pro_methods_classCalendar"><td class="mdescLeft"> </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 inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:acd6f300d2cc51b0d75b57d7be1347844 inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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> &status)</td></tr> <tr class="memdesc:acd6f300d2cc51b0d75b57d7be1347844 inherit pro_methods_classCalendar"><td class="mdescLeft"> </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 inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad0ff8705abd13f9c568fb4053e35e27b inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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> &status)</td></tr> <tr class="memdesc:ad0ff8705abd13f9c568fb4053e35e27b inherit pro_methods_classCalendar"><td class="mdescLeft"> </td><td class="mdescRight">Converts GMT as milliseconds to time field values. <a href="#ad0ff8705abd13f9c568fb4053e35e27b">More...</a><br/></td></tr> <tr class="separator:ad0ff8705abd13f9c568fb4053e35e27b inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5aa1432697348561cc9259bc2c0974c0 inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">double </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> &status) const </td></tr> <tr class="memdesc:a5aa1432697348561cc9259bc2c0974c0 inherit pro_methods_classCalendar"><td class="mdescLeft"> </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 inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4e33e7f83e803fb6092e32b988fe5305 inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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> &status)</td></tr> <tr class="memdesc:a4e33e7f83e803fb6092e32b988fe5305 inherit pro_methods_classCalendar"><td class="mdescLeft"> </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 inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a90717eab221acdd4d67b5d250c56247e inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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> &status)</td></tr> <tr class="memdesc:a90717eab221acdd4d67b5d250c56247e inherit pro_methods_classCalendar"><td class="mdescLeft"> </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 inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:afcc83cb53a32ea4898280dfaa1a1d881 inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">int32_t </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 inherit pro_methods_classCalendar"><td class="mdescLeft"> </td><td class="mdescRight">Gets the value for a given time field. <a href="#afcc83cb53a32ea4898280dfaa1a1d881">More...</a><br/></td></tr> <tr class="separator:afcc83cb53a32ea4898280dfaa1a1d881 inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ada18cdb870dd8e8e8507018c93a42ec0 inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">int32_t </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 inherit pro_methods_classCalendar"><td class="mdescLeft"> </td><td class="mdescRight">Gets the value for a given time field. <a href="#ada18cdb870dd8e8e8507018c93a42ec0">More...</a><br/></td></tr> <tr class="separator:ada18cdb870dd8e8e8507018c93a42ec0 inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abe0e23ba4107c023faf3fd6f70a1e78c inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">int32_t </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 inherit pro_methods_classCalendar"><td class="mdescLeft"> </td><td class="mdescRight">Gets the value for a given time field. <a href="#abe0e23ba4107c023faf3fd6f70a1e78c">More...</a><br/></td></tr> <tr class="separator:abe0e23ba4107c023faf3fd6f70a1e78c inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1966488fa1954b3ef426c8dde4d341c6 inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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 inherit pro_methods_classCalendar"><td class="mdescLeft"> </td><td class="mdescRight">Sets the value for a given time field. <a href="#a1966488fa1954b3ef426c8dde4d341c6">More...</a><br/></td></tr> <tr class="separator:a1966488fa1954b3ef426c8dde4d341c6 inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a80318e4604dde732ac89aa81311fbf68 inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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 inherit pro_methods_classCalendar"><td class="mdescLeft"> </td><td class="mdescRight">Sets the value for a given time field. <a href="#a80318e4604dde732ac89aa81311fbf68">More...</a><br/></td></tr> <tr class="separator:a80318e4604dde732ac89aa81311fbf68 inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a660d320b4e90c159bdf1bb8f0678818a inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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> &status)</td></tr> <tr class="memdesc:a660d320b4e90c159bdf1bb8f0678818a inherit pro_methods_classCalendar"><td class="mdescLeft"> </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 inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8083df729da06f0271e29e8b7e4376d6 inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">virtual int32_t </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 inherit pro_methods_classCalendar"><td class="mdescLeft"> </td><td class="mdescRight">Return a limit for a field. <a href="#a8083df729da06f0271e29e8b7e4376d6">More...</a><br/></td></tr> <tr class="separator:a8083df729da06f0271e29e8b7e4376d6 inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad32ba7616507ea59d2f59ee4a5f82fd7 inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ad32ba7616507ea59d2f59ee4a5f82fd7">computeJulianDay</a> ()</td></tr> <tr class="memdesc:ad32ba7616507ea59d2f59ee4a5f82fd7 inherit pro_methods_classCalendar"><td class="mdescLeft"> </td><td class="mdescRight">Compute the Julian day from fields. <a href="#ad32ba7616507ea59d2f59ee4a5f82fd7">More...</a><br/></td></tr> <tr class="separator:ad32ba7616507ea59d2f59ee4a5f82fd7 inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8c299396a6124e4cbdc9ef88642d0151 inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a8c299396a6124e4cbdc9ef88642d0151">computeMillisInDay</a> ()</td></tr> <tr class="memdesc:a8c299396a6124e4cbdc9ef88642d0151 inherit pro_methods_classCalendar"><td class="mdescLeft"> </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 inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a17f77e9844d0fd3a86ba9c72e93d3e69 inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">int32_t </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> &ec)</td></tr> <tr class="memdesc:a17f77e9844d0fd3a86ba9c72e93d3e69 inherit pro_methods_classCalendar"><td class="mdescLeft"> </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 inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae2d514396d6fd85c25d9af9eb14b6215 inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">int32_t </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 inherit pro_methods_classCalendar"><td class="mdescLeft"> </td><td class="mdescRight">Determine the best stamp in a range. <a href="#ae2d514396d6fd85c25d9af9eb14b6215">More...</a><br/></td></tr> <tr class="separator:ae2d514396d6fd85c25d9af9eb14b6215 inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a10718404e300cb17f0d678f7cd1cfa8e inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> </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 inherit pro_methods_classCalendar"><td class="mdescLeft"> </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 inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a25bc194dc5449b325b1d44c8f1d29d5c inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">virtual const <br class="typebreak"/> <a class="el" href="calendar_8h.html#ab9f6041161064a1936388e94e9788fe2">UFieldResolutionTable</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a25bc194dc5449b325b1d44c8f1d29d5c">getFieldResolutionTable</a> () const </td></tr> <tr class="separator:a25bc194dc5449b325b1d44c8f1d29d5c inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3449f24abb996590a0df022367599a87 inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> </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 inherit pro_methods_classCalendar"><td class="mdescLeft"> </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 inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad20fe42624b49a8a3fca48a06425c4f9 inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> </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 inherit pro_methods_classCalendar"><td class="mdescLeft"> </td><td class="mdescRight">Get the current time without recomputing. <a href="#ad20fe42624b49a8a3fca48a06425c4f9">More...</a><br/></td></tr> <tr class="separator:ad20fe42624b49a8a3fca48a06425c4f9 inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5066148dcb8ef8c6452b77a0d468344c inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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 inherit pro_methods_classCalendar"><td class="mdescLeft"> </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 inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5393a0561dd038edff6eddb3be6c999d inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a5393a0561dd038edff6eddb3be6c999d">getGregorianYear</a> () const </td></tr> <tr class="memdesc:a5393a0561dd038edff6eddb3be6c999d inherit pro_methods_classCalendar"><td class="mdescLeft"> </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 inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:adf8c69e617291bb10a56d683fa8282e0 inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#adf8c69e617291bb10a56d683fa8282e0">getGregorianMonth</a> () const </td></tr> <tr class="memdesc:adf8c69e617291bb10a56d683fa8282e0 inherit pro_methods_classCalendar"><td class="mdescLeft"> </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 inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab4a3b8fb109ffa673e0333a1006a7c70 inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ab4a3b8fb109ffa673e0333a1006a7c70">getGregorianDayOfYear</a> () const </td></tr> <tr class="memdesc:ab4a3b8fb109ffa673e0333a1006a7c70 inherit pro_methods_classCalendar"><td class="mdescLeft"> </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 inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab93138a7b1ce4a87216ae10165e9cbae inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ab93138a7b1ce4a87216ae10165e9cbae">getGregorianDayOfMonth</a> () const </td></tr> <tr class="memdesc:ab93138a7b1ce4a87216ae10165e9cbae inherit pro_methods_classCalendar"><td class="mdescLeft"> </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 inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af70edee1a1cd9c275f6a6645ed5d65f8 inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">virtual int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#af70edee1a1cd9c275f6a6645ed5d65f8">getDefaultMonthInYear</a> ()</td></tr> <tr class="memdesc:af70edee1a1cd9c275f6a6645ed5d65f8 inherit pro_methods_classCalendar"><td class="mdescLeft"> </td><td class="mdescRight">Called by computeJulianDay. <a href="#af70edee1a1cd9c275f6a6645ed5d65f8">More...</a><br/></td></tr> <tr class="separator:af70edee1a1cd9c275f6a6645ed5d65f8 inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af38c7bae2e752d875425085a4a8113a0 inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">virtual int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#af38c7bae2e752d875425085a4a8113a0">getDefaultDayInMonth</a> (int32_t)</td></tr> <tr class="memdesc:af38c7bae2e752d875425085a4a8113a0 inherit pro_methods_classCalendar"><td class="mdescLeft"> </td><td class="mdescRight">Called by computeJulianDay. <a href="#af38c7bae2e752d875425085a4a8113a0">More...</a><br/></td></tr> <tr class="separator:af38c7bae2e752d875425085a4a8113a0 inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:afaeebecc193f1fce5fb616462f4cc593 inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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> &status)</td></tr> <tr class="memdesc:afaeebecc193f1fce5fb616462f4cc593 inherit pro_methods_classCalendar"><td class="mdescLeft"> </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 inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac06ba54055473049be6427add1fa99e0 inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">int32_t </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 inherit pro_methods_classCalendar"><td class="mdescLeft"> </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 inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac37c766c0d2b648b451186132e19004a inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">int32_t </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 inherit pro_methods_classCalendar"><td class="mdescLeft"> </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 inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a0a80956bea5e66c6cabd5485a98bd3bf inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a0a80956bea5e66c6cabd5485a98bd3bf">getLocalDOW</a> ()</td></tr> <tr class="memdesc:a0a80956bea5e66c6cabd5485a98bd3bf inherit pro_methods_classCalendar"><td class="mdescLeft"> </td><td class="mdescRight">returns the local DOW, valid range 0..6 <a href="#a0a80956bea5e66c6cabd5485a98bd3bf">More...</a><br/></td></tr> <tr class="separator:a0a80956bea5e66c6cabd5485a98bd3bf inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a61c3cc26aa39009391dff9e89a41ec67 inherit pro_methods_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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> &ec)</td></tr> <tr class="memdesc:a61c3cc26aa39009391dff9e89a41ec67 inherit pro_methods_classCalendar"><td class="mdescLeft"> </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 inherit pro_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a> Additional Inherited Members</h2></td></tr> <tr class="inherit_header pro_types_classCalendar"><td colspan="2" onclick="javascript:toggleInherit('pro_types_classCalendar')"><img src="closed.png" alt="-"/> Protected Types inherited from <a class="el" href="classCalendar.html">Calendar</a></td></tr> <tr class="memitem:aed3b40eef888db3a26315f3a0c37b076 inherit pro_types_classCalendar"><td class="memItemLeft" align="right" valign="top">enum  </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#aed3b40eef888db3a26315f3a0c37b076">ELimitType</a> { <br/>   <b>UCAL_LIMIT_MINIMUM</b> = 0, <b>UCAL_LIMIT_GREATEST_MINIMUM</b>, <b>UCAL_LIMIT_LEAST_MAXIMUM</b>, <b>UCAL_LIMIT_MAXIMUM</b>, <br/>   <b>UCAL_LIMIT_COUNT</b> <br/> }</td></tr> <tr class="memdesc:aed3b40eef888db3a26315f3a0c37b076"><td class="mdescLeft"> </td><td class="mdescRight">Limit enums. <a href="classCalendar.html#aed3b40eef888db3a26315f3a0c37b076">More...</a><br/></td></tr> <tr class="separator:aed3b40eef888db3a26315f3a0c37b076 inherit pro_types_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5b8bac9c3abcdaceced9b50535e3eaae inherit pro_types_classCalendar"><td class="memItemLeft" align="right" valign="top">enum  </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"> </td><td class="mdescRight">Values for field resolution tables. <a href="classCalendar.html#a5b8bac9c3abcdaceced9b50535e3eaae">More...</a><br/></td></tr> <tr class="separator:a5b8bac9c3abcdaceced9b50535e3eaae inherit pro_types_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af8565777726984278f5e105fafcb60be inherit pro_types_classCalendar"><td class="memItemLeft" align="right" valign="top">enum  </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"> </td><td class="mdescRight">Special values of stamp[]. <a href="classCalendar.html#af8565777726984278f5e105fafcb60be">More...</a><br/></td></tr> <tr class="separator:af8565777726984278f5e105fafcb60be inherit pro_types_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pro_static_methods_classCalendar"><td colspan="2" onclick="javascript:toggleInherit('pro_static_methods_classCalendar')"><img src="closed.png" alt="-"/> Static Protected Member Functions inherited from <a class="el" href="classCalendar.html">Calendar</a></td></tr> <tr class="memitem:ac80054059c45d5b2466c9aaab596ec1e inherit pro_static_methods_classCalendar"><td class="memItemLeft" align="right" valign="top">static uint8_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ac80054059c45d5b2466c9aaab596ec1e">julianDayToDayOfWeek</a> (double julian)</td></tr> <tr class="memdesc:ac80054059c45d5b2466c9aaab596ec1e inherit pro_static_methods_classCalendar"><td class="mdescLeft"> </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 inherit pro_static_methods_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pro_attribs_classCalendar"><td colspan="2" onclick="javascript:toggleInherit('pro_attribs_classCalendar')"><img src="closed.png" alt="-"/> Protected Attributes inherited from <a class="el" href="classCalendar.html">Calendar</a></td></tr> <tr class="memitem:a6a3812124ab9abbd2a2f75b490a6b700 inherit pro_attribs_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a6a3812124ab9abbd2a2f75b490a6b700">fIsTimeSet</a></td></tr> <tr class="memdesc:a6a3812124ab9abbd2a2f75b490a6b700 inherit pro_attribs_classCalendar"><td class="mdescLeft"> </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 inherit pro_attribs_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:af19aa6e54f1220ffaf74d29071a6a589 inherit pro_attribs_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#af19aa6e54f1220ffaf74d29071a6a589">fAreFieldsSet</a></td></tr> <tr class="memdesc:af19aa6e54f1220ffaf74d29071a6a589 inherit pro_attribs_classCalendar"><td class="mdescLeft"> </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 inherit pro_attribs_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:aa198993ac97bca6bf80c2beb6657ed03 inherit pro_attribs_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#aa198993ac97bca6bf80c2beb6657ed03">fAreAllFieldsSet</a></td></tr> <tr class="memdesc:aa198993ac97bca6bf80c2beb6657ed03 inherit pro_attribs_classCalendar"><td class="mdescLeft"> </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 inherit pro_attribs_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a223fef486de9d84635c8c2c887dee2b0 inherit pro_attribs_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a223fef486de9d84635c8c2c887dee2b0">fAreFieldsVirtuallySet</a></td></tr> <tr class="memdesc:a223fef486de9d84635c8c2c887dee2b0 inherit pro_attribs_classCalendar"><td class="mdescLeft"> </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 inherit pro_attribs_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4aeb857bb89a74dbe261896e6b6f6681 inherit pro_attribs_classCalendar"><td class="memItemLeft" align="right" valign="top">int32_t </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 inherit pro_attribs_classCalendar"><td class="mdescLeft"> </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 inherit pro_attribs_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a557209952758b6c128ddbc26955eb9dc inherit pro_attribs_classCalendar"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> </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 inherit pro_attribs_classCalendar"><td class="mdescLeft"> </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 inherit pro_attribs_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae1ab437231e76896ce2b7ccdbc106b0b inherit pro_attribs_classCalendar"><td class="memItemLeft" align="right" valign="top">int32_t </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 inherit pro_attribs_classCalendar"><td class="mdescLeft"> </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 inherit pro_attribs_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pro_static_attribs_classCalendar"><td colspan="2" onclick="javascript:toggleInherit('pro_static_attribs_classCalendar')"><img src="closed.png" alt="-"/> Static Protected Attributes inherited from <a class="el" href="classCalendar.html">Calendar</a></td></tr> <tr class="memitem:a443112ee30874283a616c536293892c4 inherit pro_static_attribs_classCalendar"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="calendar_8h.html#ab9f6041161064a1936388e94e9788fe2">UFieldResolutionTable</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a443112ee30874283a616c536293892c4">kDatePrecedence</a> []</td></tr> <tr class="memdesc:a443112ee30874283a616c536293892c4 inherit pro_static_attribs_classCalendar"><td class="mdescLeft"> </td><td class="mdescRight">Precedence table for Dates. <a href="#a443112ee30874283a616c536293892c4">More...</a><br/></td></tr> <tr class="separator:a443112ee30874283a616c536293892c4 inherit pro_static_attribs_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae116e0cc5a2c5af58f736fd2199ebcd0 inherit pro_static_attribs_classCalendar"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="calendar_8h.html#ab9f6041161064a1936388e94e9788fe2">UFieldResolutionTable</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#ae116e0cc5a2c5af58f736fd2199ebcd0">kYearPrecedence</a> []</td></tr> <tr class="memdesc:ae116e0cc5a2c5af58f736fd2199ebcd0 inherit pro_static_attribs_classCalendar"><td class="mdescLeft"> </td><td class="mdescRight">Precedence table for Year. <a href="#ae116e0cc5a2c5af58f736fd2199ebcd0">More...</a><br/></td></tr> <tr class="separator:ae116e0cc5a2c5af58f736fd2199ebcd0 inherit pro_static_attribs_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a253f88ce055abc651d4784634bb65635 inherit pro_static_attribs_classCalendar"><td class="memItemLeft" align="right" valign="top">static const <a class="el" href="calendar_8h.html#ab9f6041161064a1936388e94e9788fe2">UFieldResolutionTable</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classCalendar.html#a253f88ce055abc651d4784634bb65635">kDOWPrecedence</a> []</td></tr> <tr class="memdesc:a253f88ce055abc651d4784634bb65635 inherit pro_static_attribs_classCalendar"><td class="mdescLeft"> </td><td class="mdescRight">Precedence table for Day of Week. <a href="#a253f88ce055abc651d4784634bb65635">More...</a><br/></td></tr> <tr class="separator:a253f88ce055abc651d4784634bb65635 inherit pro_static_attribs_classCalendar"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p>Concrete class which provides the standard calendar used by most of the world. </p> <p>The standard (Gregorian) calendar has 2 eras, BC and AD. </p> <p>This implementation handles a single discontinuity, which corresponds by default to the date the Gregorian calendar was originally instituted (October 15, 1582). Not all countries adopted the Gregorian calendar then, so this cutover date may be changed by the caller. </p> <p>Prior to the institution of the Gregorian <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>, New Year's Day was March 25. To avoid confusion, 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> always uses January 1. A manual adjustment may be made if desired for dates that are prior to the Gregorian changeover and which fall between January 1 and March 24.</p> <p>Values calculated for the <code>WEEK_OF_YEAR</code> field range from 1 to</p> <ol type="1"> <li>Week 1 for a year is the first week that contains at least <code><a class="el" href="classCalendar.html#ac39fb4eea23b9ea863ac3119913a3322" title="Gets what the minimal days required in the first week of the year are; e.g., if the first week is def...">getMinimalDaysInFirstWeek()</a></code> days from that year. It thus depends on the values of <code><a class="el" href="classCalendar.html#ac39fb4eea23b9ea863ac3119913a3322" title="Gets what the minimal days required in the first week of the year are; e.g., if the first week is def...">getMinimalDaysInFirstWeek()</a></code>, <code><a class="el" href="classCalendar.html#a0a8bdc7ffb9d13e948ef0268dbdddc26" title="Gets what the first day of the week is; e.g., Sunday in US, Monday in France. ">getFirstDayOfWeek()</a></code>, and the day of the week of January 1. Weeks between week 1 of one year and week 1 of the following year are numbered sequentially from 2 to 52 or 53 (as needed).</li> </ol> <p>For example, January 1, 1998 was a Thursday. If <code><a class="el" href="classCalendar.html#a0a8bdc7ffb9d13e948ef0268dbdddc26" title="Gets what the first day of the week is; e.g., Sunday in US, Monday in France. ">getFirstDayOfWeek()</a></code> is <code>MONDAY</code> and <code><a class="el" href="classCalendar.html#ac39fb4eea23b9ea863ac3119913a3322" title="Gets what the minimal days required in the first week of the year are; e.g., if the first week is def...">getMinimalDaysInFirstWeek()</a></code> is 4 (these are the values reflecting ISO 8601 and many national standards), then week 1 of 1998 starts on December 29, 1997, and ends on January 4, 1998. If, however, <code><a class="el" href="classCalendar.html#a0a8bdc7ffb9d13e948ef0268dbdddc26" title="Gets what the first day of the week is; e.g., Sunday in US, Monday in France. ">getFirstDayOfWeek()</a></code> is <code>SUNDAY</code>, then week 1 of 1998 starts on January 4, 1998, and ends on January 10, 1998; the first three days of 1998 then are part of week 53 of 1997.</p> <p>Example for using <a class="el" href="classGregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</a>: </p> <pre> <div class="fragment"><div class="line">* <span class="comment">// get the supported ids for GMT-08:00 (Pacific Standard Time)</span></div> <div class="line">* <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> success = <a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78caa43dbfc9499c5f911d04e1a0ca3bf6f9">U_ZERO_ERROR</a>;</div> <div class="line">* <span class="keyword">const</span> <a class="code" href="classStringEnumeration.html">StringEnumeration</a> *ids = <a class="code" href="classTimeZone.html#a362ad48ebf317d439247b3bc0e40789d">TimeZone::createEnumeration</a>(-8 * 60 * 60 * 1000);</div> <div class="line">* <span class="comment">// if no ids were returned, something is wrong. get out.</span></div> <div class="line">* <span class="keywordflow">if</span> (ids == 0 || ids-><a class="code" href="classStringEnumeration.html#a1747cfdb3a749c576dbf2a930ff7a010">count</a>(success) == 0) {</div> <div class="line">* <span class="keywordflow">return</span>;</div> <div class="line">* }</div> <div class="line">*</div> <div class="line">* <span class="comment">// begin output</span></div> <div class="line">* cout << <span class="stringliteral">"Current Time"</span> << endl;</div> <div class="line">*</div> <div class="line">* <span class="comment">// create a Pacific Standard Time time zone</span></div> <div class="line">* <a class="code" href="classSimpleTimeZone.html">SimpleTimeZone</a>* pdt = <span class="keyword">new</span> <a class="code" href="classSimpleTimeZone.html">SimpleTimeZone</a>(-8 * 60 * 60 * 1000, ids-><a class="code" href="classStringEnumeration.html#a3ea012fc20253a0d97801a1d3cee0fcf">unext</a>(<a class="code" href="utypes_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>, success)));</div> <div class="line">*</div> <div class="line">* <span class="comment">// set up rules for daylight savings time</span></div> <div class="line">* pdt-><a class="code" href="classSimpleTimeZone.html#a8c4a9581b04860da2c1cee479a47f196">setStartRule</a>(Calendar::APRIL, 1, Calendar::SUNDAY, 2 * 60 * 60 * 1000);</div> <div class="line">* pdt-><a class="code" href="classSimpleTimeZone.html#ae2eee23700f7405a563cf01e3cedd797">setEndRule</a>(Calendar::OCTOBER, -1, Calendar::SUNDAY, 2 * 60 * 60 * 1000);</div> <div class="line">*</div> <div class="line">* <span class="comment">// create a GregorianCalendar with the Pacific Daylight time zone</span></div> <div class="line">* <span class="comment">// and the current date and time</span></div> <div class="line">* <a class="code" href="classCalendar.html">Calendar</a>* calendar = <span class="keyword">new</span> <a class="code" href="classGregorianCalendar.html">GregorianCalendar</a>( pdt, success );</div> <div class="line">*</div> <div class="line">* <span class="comment">// print out a bunch of interesting things</span></div> <div class="line">* cout << <span class="stringliteral">"ERA: "</span> << calendar-><a class="code" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a>( Calendar::ERA, success ) << endl;</div> <div class="line">* cout << <span class="stringliteral">"YEAR: "</span> << calendar-><a class="code" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a>( Calendar::YEAR, success ) << endl;</div> <div class="line">* cout << <span class="stringliteral">"MONTH: "</span> << calendar-><a class="code" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a>( Calendar::MONTH, success ) << endl;</div> <div class="line">* cout << <span class="stringliteral">"WEEK_OF_YEAR: "</span> << calendar-><a class="code" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a>( Calendar::WEEK_OF_YEAR, success ) << endl;</div> <div class="line">* cout << <span class="stringliteral">"WEEK_OF_MONTH: "</span> << calendar-><a class="code" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a>( Calendar::WEEK_OF_MONTH, success ) << endl;</div> <div class="line">* cout << <span class="stringliteral">"DATE: "</span> << calendar-><a class="code" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a>( Calendar::DATE, success ) << endl;</div> <div class="line">* cout << <span class="stringliteral">"DAY_OF_MONTH: "</span> << calendar-><a class="code" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a>( Calendar::DAY_OF_MONTH, success ) << endl;</div> <div class="line">* cout << <span class="stringliteral">"DAY_OF_YEAR: "</span> << calendar-><a class="code" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a>( Calendar::DAY_OF_YEAR, success ) << endl;</div> <div class="line">* cout << <span class="stringliteral">"DAY_OF_WEEK: "</span> << calendar-><a class="code" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a>( Calendar::DAY_OF_WEEK, success ) << endl;</div> <div class="line">* cout << <span class="stringliteral">"DAY_OF_WEEK_IN_MONTH: "</span> << calendar-><a class="code" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a>( Calendar::DAY_OF_WEEK_IN_MONTH, success ) << endl;</div> <div class="line">* cout << <span class="stringliteral">"AM_PM: "</span> << calendar-><a class="code" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a>( Calendar::AM_PM, success ) << endl;</div> <div class="line">* cout << <span class="stringliteral">"HOUR: "</span> << calendar-><a class="code" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a>( Calendar::HOUR, success ) << endl;</div> <div class="line">* cout << <span class="stringliteral">"HOUR_OF_DAY: "</span> << calendar-><a class="code" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a>( Calendar::HOUR_OF_DAY, success ) << endl;</div> <div class="line">* cout << <span class="stringliteral">"MINUTE: "</span> << calendar-><a class="code" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a>( Calendar::MINUTE, success ) << endl;</div> <div class="line">* cout << <span class="stringliteral">"SECOND: "</span> << calendar-><a class="code" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a>( Calendar::SECOND, success ) << endl;</div> <div class="line">* cout << <span class="stringliteral">"MILLISECOND: "</span> << calendar-><a class="code" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a>( Calendar::MILLISECOND, success ) << endl;</div> <div class="line">* cout << <span class="stringliteral">"ZONE_OFFSET: "</span> << (calendar-><a class="code" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a>( Calendar::ZONE_OFFSET, success )/(60*60*1000)) << endl;</div> <div class="line">* cout << <span class="stringliteral">"DST_OFFSET: "</span> << (calendar-><a class="code" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a>( Calendar::DST_OFFSET, success )/(60*60*1000)) << endl;</div> <div class="line">*</div> <div class="line">* cout << <span class="stringliteral">"Current Time, with hour reset to 3"</span> << endl;</div> <div class="line">* calendar-><a class="code" href="classCalendar.html#a7e0409b7750ff09b7275a061bd6ae816">clear</a>(Calendar::HOUR_OF_DAY); <span class="comment">// so doesn't override</span></div> <div class="line">* calendar-><a class="code" href="classCalendar.html#a98ba908ffc6a88d6566983d4f95245df">set</a>(Calendar::HOUR, 3);</div> <div class="line">* cout << <span class="stringliteral">"ERA: "</span> << calendar-><a class="code" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a>( Calendar::ERA, success ) << endl;</div> <div class="line">* cout << <span class="stringliteral">"YEAR: "</span> << calendar-><a class="code" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a>( Calendar::YEAR, success ) << endl;</div> <div class="line">* cout << <span class="stringliteral">"MONTH: "</span> << calendar-><a class="code" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a>( Calendar::MONTH, success ) << endl;</div> <div class="line">* cout << <span class="stringliteral">"WEEK_OF_YEAR: "</span> << calendar-><a class="code" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a>( Calendar::WEEK_OF_YEAR, success ) << endl;</div> <div class="line">* cout << <span class="stringliteral">"WEEK_OF_MONTH: "</span> << calendar-><a class="code" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a>( Calendar::WEEK_OF_MONTH, success ) << endl;</div> <div class="line">* cout << <span class="stringliteral">"DATE: "</span> << calendar-><a class="code" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a>( Calendar::DATE, success ) << endl;</div> <div class="line">* cout << <span class="stringliteral">"DAY_OF_MONTH: "</span> << calendar-><a class="code" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a>( Calendar::DAY_OF_MONTH, success ) << endl;</div> <div class="line">* cout << <span class="stringliteral">"DAY_OF_YEAR: "</span> << calendar-><a class="code" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a>( Calendar::DAY_OF_YEAR, success ) << endl;</div> <div class="line">* cout << <span class="stringliteral">"DAY_OF_WEEK: "</span> << calendar-><a class="code" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a>( Calendar::DAY_OF_WEEK, success ) << endl;</div> <div class="line">* cout << <span class="stringliteral">"DAY_OF_WEEK_IN_MONTH: "</span> << calendar-><a class="code" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a>( Calendar::DAY_OF_WEEK_IN_MONTH, success ) << endl;</div> <div class="line">* cout << <span class="stringliteral">"AM_PM: "</span> << calendar-><a class="code" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a>( Calendar::AM_PM, success ) << endl;</div> <div class="line">* cout << <span class="stringliteral">"HOUR: "</span> << calendar-><a class="code" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a>( Calendar::HOUR, success ) << endl;</div> <div class="line">* cout << <span class="stringliteral">"HOUR_OF_DAY: "</span> << calendar-><a class="code" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a>( Calendar::HOUR_OF_DAY, success ) << endl;</div> <div class="line">* cout << <span class="stringliteral">"MINUTE: "</span> << calendar-><a class="code" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a>( Calendar::MINUTE, success ) << endl;</div> <div class="line">* cout << <span class="stringliteral">"SECOND: "</span> << calendar-><a class="code" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a>( Calendar::SECOND, success ) << endl;</div> <div class="line">* cout << <span class="stringliteral">"MILLISECOND: "</span> << calendar-><a class="code" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a>( Calendar::MILLISECOND, success ) << endl;</div> <div class="line">* cout << <span class="stringliteral">"ZONE_OFFSET: "</span> << (calendar-><a class="code" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a>( Calendar::ZONE_OFFSET, success )/(60*60*1000)) << endl; <span class="comment">// in hours</span></div> <div class="line">* cout << <span class="stringliteral">"DST_OFFSET: "</span> << (calendar-><a class="code" href="classCalendar.html#a0e86c32f3c5e1e45420d1b57fc5c369e">get</a>( Calendar::DST_OFFSET, success )/(60*60*1000)) << endl; <span class="comment">// in hours</span></div> <div class="line">*</div> <div class="line">* <span class="keywordflow">if</span> (<a class="code" href="utypes_8h.html#a4d202200b6aa6f3c965ea370e0c8155f">U_FAILURE</a>(success)) {</div> <div class="line">* cout << <span class="stringliteral">"An error occured. success="</span> << <a class="code" href="utypes_8h.html#a89eb455526bb29bf5350ee861d81df92">u_errorName</a>(success) << endl;</div> <div class="line">* }</div> <div class="line">*</div> <div class="line">* <span class="keyword">delete</span> ids;</div> <div class="line">* <span class="keyword">delete</span> calendar; <span class="comment">// also deletes pdt</span></div> <div class="line">* </div> </div><!-- fragment --> </pre> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002536">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Definition at line <a class="el" href="gregocal_8h_source.html#l00149">149</a> of file <a class="el" href="gregocal_8h_source.html">gregocal.h</a>.</p> </div><h2 class="groupheader">Member Enumeration Documentation</h2> <a class="anchor" id="afeedaf0d04321220e77c46ba69b78619"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">enum <a class="el" href="classGregorianCalendar.html#afeedaf0d04321220e77c46ba69b78619">GregorianCalendar::EEras</a></td> </tr> </table> </div><div class="memdoc"> <p>Useful constants for <a class="el" href="classGregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</a> and <a class="el" href="classTimeZone.html" title="TimeZone represents a time zone offset, and also figures out daylight savings. ">TimeZone</a>. </p> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002537">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Definition at line <a class="el" href="gregocal_8h_source.html#l00156">156</a> of file <a class="el" href="gregocal_8h_source.html">gregocal.h</a>.</p> </div> </div> <h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="aef459c49036add0f69c9991ff7d7f11d"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GregorianCalendar::GregorianCalendar </td> <td>(</td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>success</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Constructs a default <a class="el" href="classGregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</a> using the current time in the default time zone with 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="classGregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</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#_stable002538">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a062240b2ac5791cc8b00ff871b022ec0"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GregorianCalendar::GregorianCalendar </td> <td>(</td> <td class="paramtype"><a class="el" href="classTimeZone.html">TimeZone</a> * </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> & </td> <td class="paramname"><em>success</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Constructs a <a class="el" href="classGregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</a> based on the current time in the given time zone with the default 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">zoneToAdopt</td><td>The given timezone. </td></tr> <tr><td class="paramname">success</td><td>Indicates the status of <a class="el" href="classGregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</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#_stable002539">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a072fb9cf35f38dc78b5f6ac09856ce2b"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GregorianCalendar::GregorianCalendar </td> <td>(</td> <td class="paramtype">const <a class="el" href="classTimeZone.html">TimeZone</a> & </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> & </td> <td class="paramname"><em>success</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Constructs a <a class="el" href="classGregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</a> based on the current time in the given time zone with the default locale. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">zone</td><td>The given timezone. </td></tr> <tr><td class="paramname">success</td><td>Indicates the status of <a class="el" href="classGregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</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#_stable002540">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a6b1045e9d4426d089d3c9fccf3ed1520"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GregorianCalendar::GregorianCalendar </td> <td>(</td> <td class="paramtype">const <a class="el" href="classLocale.html">Locale</a> & </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> & </td> <td class="paramname"><em>success</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Constructs a <a class="el" href="classGregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</a> based on the current time in the default time zone with 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 status of <a class="el" href="classGregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</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#_stable002541">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="aa4776493fdf072637107e33db27ae0f4"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GregorianCalendar::GregorianCalendar </td> <td>(</td> <td class="paramtype"><a class="el" href="classTimeZone.html">TimeZone</a> * </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> & </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> & </td> <td class="paramname"><em>success</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Constructs a <a class="el" href="classGregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</a> based on the current time in the given time zone with the given 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">zoneToAdopt</td><td>The given timezone. </td></tr> <tr><td class="paramname">aLocale</td><td>The given locale. </td></tr> <tr><td class="paramname">success</td><td>Indicates the status of <a class="el" href="classGregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</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#_stable002542">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a331be71044f6f7be43ddc9c65c0d47ea"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GregorianCalendar::GregorianCalendar </td> <td>(</td> <td class="paramtype">const <a class="el" href="classTimeZone.html">TimeZone</a> & </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> & </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> & </td> <td class="paramname"><em>success</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Constructs a <a class="el" href="classGregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</a> based on the current time in the given time zone with the given locale. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">zone</td><td>The given timezone. </td></tr> <tr><td class="paramname">aLocale</td><td>The given locale. </td></tr> <tr><td class="paramname">success</td><td>Indicates the status of <a class="el" href="classGregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</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#_stable002543">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="aee943a8e7ad66de21cf68f65d131583e"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GregorianCalendar::GregorianCalendar </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>year</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>month</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </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> & </td> <td class="paramname"><em>success</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Constructs a <a class="el" href="classGregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</a> with the given AD date set in the default time zone with the default locale. </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 in the calendar. </td></tr> <tr><td class="paramname">month</td><td>The value used to set the MONTH time field in the calendar. 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 in the calendar. </td></tr> <tr><td class="paramname">success</td><td>Indicates the status of <a class="el" href="classGregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</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#_stable002544">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a9d653bb7fd8865fd40f9bd8e499d4e00"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GregorianCalendar::GregorianCalendar </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>year</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>month</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>date</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>hour</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>minute</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>success</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Constructs a <a class="el" href="classGregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</a> with the given AD date and time set for the default time zone with the default locale. </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 in the calendar. </td></tr> <tr><td class="paramname">month</td><td>The value used to set the MONTH time field in the calendar. 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 in the calendar. </td></tr> <tr><td class="paramname">hour</td><td>The value used to set the HOUR_OF_DAY time field in the calendar. </td></tr> <tr><td class="paramname">minute</td><td>The value used to set the MINUTE time field in the calendar. </td></tr> <tr><td class="paramname">success</td><td>Indicates the status of <a class="el" href="classGregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</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#_stable002545">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="ae4312d4bda173f6d707b08d389dd0525"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GregorianCalendar::GregorianCalendar </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>year</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>month</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>date</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>hour</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>minute</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>second</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>success</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Constructs a <a class="el" href="classGregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</a> with the given AD date and time set for the default time zone with the default locale. </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 in the calendar. </td></tr> <tr><td class="paramname">month</td><td>The value used to set the MONTH time field in the calendar. 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 in the calendar. </td></tr> <tr><td class="paramname">hour</td><td>The value used to set the HOUR_OF_DAY time field in the calendar. </td></tr> <tr><td class="paramname">minute</td><td>The value used to set the MINUTE time field in the calendar. </td></tr> <tr><td class="paramname">second</td><td>The value used to set the SECOND time field in the calendar. </td></tr> <tr><td class="paramname">success</td><td>Indicates the status of <a class="el" href="classGregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</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#_stable002546">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a5ccea6f20e8762609df45b85450299e2"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual GregorianCalendar::~GregorianCalendar </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#_stable002547">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a73927d036deb23cbc22de2ead041ced9"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">GregorianCalendar::GregorianCalendar </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGregorianCalendar.html">GregorianCalendar</a> & </td> <td class="paramname"><em>source</em></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Copy constructor. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">source</td><td>the object to be copied. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002548">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a6924d2c9812c8af226ca941b024c56aa"></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>* GregorianCalendar::clone </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Create and return a polymorphic copy of this calendar. </p> <dl class="section return"><dt>Returns</dt><dd>return a polymorphic copy of this calendar. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002550">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Implements <a class="el" href="classCalendar.html#a369327438e076e64c99ec1d669919957">Calendar</a>.</p> </div> </div> <a class="anchor" id="a3c11c790997b4a7ef2009c9db5dfc7dd"></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> GregorianCalendar::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">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000241">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>the start of the default century </dd></dl> <p>Implements <a class="el" href="classCalendar.html#a745cdbb7e0477cb7c3bb2b29bd0b4350">Calendar</a>.</p> </div> </div> <a class="anchor" id="ad308638658b0758dcdaaae57a3599a27"></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 GregorianCalendar::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">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000242">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>the beginning year of the default century </dd></dl> <p>Implements <a class="el" href="classCalendar.html#a4fa3cf26747f8decdb71d2f3786e9a34">Calendar</a>.</p> </div> </div> <a class="anchor" id="a1fe4199946f259c5fff4b3a976db628f"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int32_t GregorianCalendar::getActualMaximum </td> <td>(</td> <td class="paramtype"><a class="el" href="classCalendar.html#a9aa66a9e8030312d5314e306c713913e">EDateFields</a> </td> <td class="paramname"><em>field</em></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> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">field</td><td>the time field. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the maximum value that this field could have, given the current date. </dd></dl> <dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000200">Deprecated:</a></b></dt><dd>ICU 2.6. Use getActualMaximum(UCalendarDateFields field) instead. </dd></dl> </div> </div> <a class="anchor" id="aa6dffa7c30b24613fa6762c715dc24ab"></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 GregorianCalendar::getActualMaximum </td> <td>(</td> <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> </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> & </td> <td class="paramname"><em>status</em> </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> <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">status</td><td>returns any errors that may result from this function call. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the maximum value that this field could have, given the current date. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002557">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl> <p>Reimplemented from <a class="el" href="classCalendar.html#af41a2769b5ce810d3ea5750c391c53b3">Calendar</a>.</p> </div> </div> <a class="anchor" id="ac4638c3ac6effee100f6b18081533943"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int32_t GregorianCalendar::getActualMinimum </td> <td>(</td> <td class="paramtype"><a class="el" href="classCalendar.html#a9aa66a9e8030312d5314e306c713913e">EDateFields</a> </td> <td class="paramname"><em>field</em></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> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">field</td><td>the time field. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the minimum value that this field could have, given the current date. </dd></dl> <dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000198">Deprecated:</a></b></dt><dd>ICU 2.6. Use getActualMinimum(UCalendarDateFields field) instead. </dd></dl> </div> </div> <a class="anchor" id="af24993c1cd9d48e203b820f6981f991e"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int32_t GregorianCalendar::getActualMinimum </td> <td>(</td> <td class="paramtype"><a class="el" href="classCalendar.html#a9aa66a9e8030312d5314e306c713913e">EDateFields</a> </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> & </td> <td class="paramname"><em>status</em> </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> <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">status</td><td></td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the minimum value that this field could have, given the current date. </dd></dl> <dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000199">Deprecated:</a></b></dt><dd>ICU 2.6. Use getActualMinimum(UCalendarDateFields field) instead. (Added to ICU 3.0 for signature consistency) </dd></dl> </div> </div> <a class="anchor" id="a3cddc1a8bd73250d23ef4ccd632c21c8"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">int32_t GregorianCalendar::getActualMinimum </td> <td>(</td> <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> </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> & </td> <td class="paramname"><em>status</em> </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> <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">status</td><td>error result. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the minimum value that this field could have, given the current date. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002556">Stable:</a></b></dt><dd>ICU 3.0 </dd></dl> <p>Reimplemented from <a class="el" href="classCalendar.html#affad02342fc829b1cb623698a57a1917">Calendar</a>.</p> </div> </div> <a class="anchor" id="ad692fc0734c8b0dd5af7cf8f403caa87"></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> GregorianCalendar::getDynamicClassID </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Override <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> Returns a unique class ID POLYMORPHICALLY. </p> <p>Pure virtual override. This method is to implement a simple version of RTTI, since not all C++ compilers support genuine RTTI. Polymorphic <a class="el" href="classCalendar.html#aa231d324e53576d3198a0aedd129f3ad" title="Compares the equality of two Calendar objects. ">operator==()</a> and <a class="el" href="classGregorianCalendar.html#a6924d2c9812c8af226ca941b024c56aa" title="Create and return a polymorphic copy of this calendar. ">clone()</a> methods call this method.</p> <dl class="section return"><dt>Returns</dt><dd>The class ID for this object. All objects of a given class have the same class ID. Objects of other classes have different class IDs. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002559">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Implements <a class="el" href="classCalendar.html#a13e235c4396d92fc3b129d6a07e6076a">Calendar</a>.</p> </div> </div> <a class="anchor" id="a87a5e98e6893195878c88371510c6a70"></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> GregorianCalendar::getEpochDay </td> <td>(</td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </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>Return the day number with respect to the epoch. </p> <p>January 1, 1970 (Gregorian) is day zero. </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>the day number with respect to the epoch. </dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000234">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> </div> </div> <a class="anchor" id="a3e038439da10df6dec13fc500f2b54b5"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> GregorianCalendar::getGregorianChange </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Gets the Gregorian <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> change date. </p> <p>This is the point when the switch from Julian dates to Gregorian dates occurred. Default is 00:00:00 local time, October 15, 1582. Previous to this time and date will be Julian dates.</p> <dl class="section return"><dt>Returns</dt><dd>The Gregorian cutover time for this calendar. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002552">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a0f6db4c67cbe5b671aee4cb8934c3fd8"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="utypes_8h.html#a22af10545208a455a6e884008df48e9f">UClassID</a> GregorianCalendar::getStaticClassID </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">static</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Return the class ID for this class. </p> <p>This is useful only for comparing to a return value from <a class="el" href="classGregorianCalendar.html#ad692fc0734c8b0dd5af7cf8f403caa87" title="Override Calendar Returns a unique class ID POLYMORPHICALLY. ">getDynamicClassID()</a>. For example: </p> <pre class="fragment"> Base* polymorphic_pointer = createPolymorphicObject(); if (polymorphic_pointer->getDynamicClassID() == Derived::getStaticClassID()) ... </pre><dl class="section return"><dt>Returns</dt><dd>The class ID for all objects of this class. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002560">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a9d3dbbead3bf74c685b479e5115e514c"></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* GregorianCalendar::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">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Get the calendar type, "gregorian", for use in <a class="el" href="classDateFormatSymbols.html" title="DateFormatSymbols is a public class for encapsulating localizable date-time formatting data – includi...">DateFormatSymbols</a>. </p> <dl class="section return"><dt>Returns</dt><dd>calendar type </dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000224">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> <p>Implements <a class="el" href="classCalendar.html#a46741d547451faae02591381593d127b">Calendar</a>.</p> </div> </div> <a class="anchor" id="a2f31b54f19ec8588cb1cfe1ade77eb07"></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> GregorianCalendar::handleComputeFields </td> <td>(</td> <td class="paramtype">int32_t </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> & </td> <td class="paramname"><em>status</em> </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>The <a class="el" href="classGregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</a> implementation implements a calendar with the specified Julian/Gregorian cutover date. </p> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000238">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> <p>Reimplemented from <a class="el" href="classCalendar.html#a195fad36b525b46df8934aca312db35e">Calendar</a>.</p> </div> </div> <a class="anchor" id="a59b86395575bf7784ffe1f2edac5b165"></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 GregorianCalendar::handleComputeJulianDay </td> <td>(</td> <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> </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="classGregorianCalendar.html#a05a03940641b2455a2875cbc31f386e9" 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#_internal000227">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> <p>Reimplemented from <a class="el" href="classCalendar.html#afd953ab4dc160ffc1b586c627c2c6ad9">Calendar</a>.</p> </div> </div> <a class="anchor" id="a87badc27fdb6dc0638bc94864a4961d9"></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 GregorianCalendar::handleComputeMonthStart </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>eyear</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </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> </td> <td class="paramname"><em>useMonth</em> </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 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#_internal000226">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> <p>Implements <a class="el" href="classCalendar.html#addb140c1bca76059b1a4084433ab67db">Calendar</a>.</p> </div> </div> <a class="anchor" id="a9c8ef3f3ae56e41f52c7fd353348a09f"></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 GregorianCalendar::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">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#_internal000236">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> <p>Implements <a class="el" href="classCalendar.html#a465fbc6494f2126892dcd694217697f4">Calendar</a>.</p> </div> </div> <a class="anchor" id="a9068000f1c22c0d27ab752e01cacf082"></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 GregorianCalendar::handleGetExtendedYearFromWeekFields </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>yearWoy</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>woy</em> </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 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 Gregorian implementation assumes a yearWoy in gregorian format, according to the current era. </p> <dl class="section return"><dt>Returns</dt><dd>the extended year, UCAL_EXTENDED_YEAR </dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000237">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> <p>Reimplemented from <a class="el" href="classCalendar.html#a116247236ceda5f3d5424767d3c3c561">Calendar</a>.</p> </div> </div> <a class="anchor" id="a6075f0ad5bbe0cecd8283e45e93d482c"></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 GregorianCalendar::handleGetLimit </td> <td>(</td> <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> </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> </td> <td class="paramname"><em>limitType</em> </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>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#_internal000235">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> <p>Implements <a class="el" href="classCalendar.html#afd43a5f74be144b5ac90bc57a2f9cede">Calendar</a>.</p> </div> </div> <a class="anchor" id="a05a03940641b2455a2875cbc31f386e9"></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 GregorianCalendar::handleGetMonthLength </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>extendedYear</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>month</em> </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#_internal000228">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> <p>Reimplemented from <a class="el" href="classCalendar.html#aaa7b064d37f1ac4b66dc57fef6481cda">Calendar</a>.</p> </div> </div> <a class="anchor" id="a32772c0335d2440b8fcb4cf7569e9f84"></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 GregorianCalendar::handleGetYearLength </td> <td>(</td> <td class="paramtype">int32_t </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#_stable002562">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Reimplemented from <a class="el" href="classCalendar.html#acb983bdeebcfb0441ed46256b0f444cc">Calendar</a>.</p> </div> </div> <a class="anchor" id="a777df4314a0e9266ee3fd20afcdb3218"></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> GregorianCalendar::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">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000240">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> <dl class="section return"><dt>Returns</dt><dd>TRUE if this calendar has the notion of a default century </dd></dl> <p>Implements <a class="el" href="classCalendar.html#ae5bb9c44ecea69ad64d813fe41de6efa">Calendar</a>.</p> </div> </div> <a class="anchor" id="aa9dcb25c2fefe715f33fad5e11075cd8"></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> GregorianCalendar::inDaylightTime </td> <td>(</td> <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> & </td> <td class="paramname"><em>status</em></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>(Overrides <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>) Return 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. </p> <p>Recognizes DST_OFFSET, if it is set.</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#_stable002558">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> <p>Implements <a class="el" href="classCalendar.html#a8199d459b6d2171fb62620fab29b8668">Calendar</a>.</p> </div> </div> <a class="anchor" id="acad345a12f58ef31e2a7b275e0c3dd23"></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 GregorianCalendar::internalGetEra </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"> <p>Return the ERA. </p> <p>We need a special method for this because the default ERA is AD, but a zero (unset) ERA is BC. </p> <dl class="section return"><dt>Returns</dt><dd>the ERA. </dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000225">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> </div> </div> <a class="anchor" id="ab72c13d826e10d9292760b083c63f956"></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> GregorianCalendar::isEquivalentTo </td> <td>(</td> <td class="paramtype">const <a class="el" href="classCalendar.html">Calendar</a> & </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><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> override.</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#_stable002554">Stable:</a></b></dt><dd>ICU 2.4 </dd></dl> <p>Reimplemented from <a class="el" href="classCalendar.html#a50ab4c5aa1f93959282c71de04625935">Calendar</a>.</p> </div> </div> <a class="anchor" id="a74481deb64e01bbcd8d0f72ff99b687f"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> GregorianCalendar::isLeapYear </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>year</em></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Return true if the given year is a leap year. </p> <p>Determination of whether a year is a leap year is actually very complicated. We do something crude and mostly correct here, but for a real determination you need a lot of contextual information. For example, in Sweden, the change from Julian to Gregorian happened in a complex way resulting in missed leap years and double leap years between 1700 and 1753. Another example is that after the start of the Julian calendar in 45 B.C., the leap years did not regularize until 8 A.D. This method ignores these quirks, and pays attention only to the Julian onset date and the Gregorian cutover (which can be changed).</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">year</td><td>The given year. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>True if the given year is a leap year; false otherwise. </dd></dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002553">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a4d4fc48ebc080768c5850f95c7d6cff7"></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 GregorianCalendar::monthLength </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>month</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 length of the given month. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">month</td><td>the given month. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the length of the given month. </dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000229">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> </div> </div> <a class="anchor" id="a2204aacfc59e4e74760e0aceaee38f62"></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 GregorianCalendar::monthLength </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>month</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </td> <td class="paramname"><em>year</em> </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 length of the month according to the given year. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">month</td><td>the given month. </td></tr> <tr><td class="paramname">year</td><td>the given year. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the length of the month </dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000230">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> </div> </div> <a class="anchor" id="ac178802905971d48556c0ac8a77bb3c4"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGregorianCalendar.html">GregorianCalendar</a>& GregorianCalendar::operator= </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGregorianCalendar.html">GregorianCalendar</a> & </td> <td class="paramname"><em>right</em></td><td>)</td> <td></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>the object to be copied. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002549">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="afc614bc74d3d9ce7272947b8e136d6ab"></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> GregorianCalendar::pinDayOfMonth </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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>After adjustments such as add(MONTH), add(YEAR), we don't want the month to jump around. </p> <p>E.g., we don't want Jan 31 + 1 month to go to Mar 3, we want it to go to Feb 28. Adjustments which might run into this problem call this method to retain the proper month. </p> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000233">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> </div> </div> <a class="anchor" id="a94eb045ce42c58b4f823e55f91bb695e"></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> GregorianCalendar::roll </td> <td>(</td> <td class="paramtype"><a class="el" href="classCalendar.html#a9aa66a9e8030312d5314e306c713913e">EDateFields</a> </td> <td class="paramname"><em>field</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </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> & </td> <td class="paramname"><em>status</em> </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>(Overrides <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>) Rolls up or down by the given amount in the specified field. </p> <p>For more information, see the documentation for <a class="el" href="classCalendar.html#a98e5b80bb733a6e8dec95b8ac0225a68" title="Time Field Rolling function. ">Calendar::roll()</a>.</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#_deprecated000197">Deprecated:</a></b></dt><dd>ICU 2.6. Use <a class="el" href="classGregorianCalendar.html#a356ca180f51ab33ce27f41fde8c43739" title="(Overrides Calendar) Rolls up or down by the given amount in the specified field. ...">roll(UCalendarDateFields field, int32_t amount, UErrorCode& status)</a> instead. </dd></dl> <p>Reimplemented from <a class="el" href="classCalendar.html#abff9f8c5e0b0206b9312e64a0ff89666">Calendar</a>.</p> </div> </div> <a class="anchor" id="a356ca180f51ab33ce27f41fde8c43739"></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> GregorianCalendar::roll </td> <td>(</td> <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> </td> <td class="paramname"><em>field</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int32_t </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> & </td> <td class="paramname"><em>status</em> </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>(Overrides <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>) Rolls up or down by the given amount in the specified field. </p> <p>For more information, see the documentation for <a class="el" href="classCalendar.html#a98e5b80bb733a6e8dec95b8ac0225a68" title="Time Field Rolling function. ">Calendar::roll()</a>.</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#_stable002555">Stable:</a></b></dt><dd>ICU 2.6. </dd></dl> <p>Reimplemented from <a class="el" href="classCalendar.html#a5d5aa7348953398da594654c3edbb681">Calendar</a>.</p> </div> </div> <a class="anchor" id="a5e643d82a8dba031b54c97f057d804f6"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> GregorianCalendar::setGregorianChange </td> <td>(</td> <td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> </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> & </td> <td class="paramname"><em>success</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Sets the <a class="el" href="classGregorianCalendar.html" title="Concrete class which provides the standard calendar used by most of the world. ">GregorianCalendar</a> change date. </p> <p>This is the point when the switch from Julian dates to Gregorian dates occurred. Default is 00:00:00 local time, October 15, 1582. Previous to this time and date will be Julian dates.</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">date</td><td>The given Gregorian cutover date. </td></tr> <tr><td class="paramname">success</td><td>Output param set to success/failure code on exit. </td></tr> </table> </dd> </dl> <dl class="stable"><dt><b><a class="el" href="stable.html#_stable002551">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl> </div> </div> <a class="anchor" id="a127be84d5a2d75ca5c7e382c59c97235"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">int32_t GregorianCalendar::yearLength </td> <td>(</td> <td class="paramtype">int32_t </td> <td class="paramname"><em>year</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>return the length of the given year. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">year</td><td>the given year. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>the length of the given year. </dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000231">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> </div> </div> <a class="anchor" id="a256c2c34dd24f4c5def8bd97bedf80a1"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">int32_t GregorianCalendar::yearLength </td> <td>(</td> <td class="paramtype"><a class="el" href="ucnv_8h.html#aa953bd3cedaedf78b700c837361fe00b">void</a> </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> </td> </tr> </table> </div><div class="memdoc"> <p>return the length of the year field. </p> <dl class="section return"><dt>Returns</dt><dd>the length of the year field </dd></dl> <dl class="internal"><dt><b><a class="el" href="internal.html#_internal000232">Internal:</a></b></dt><dd>Do not use. This API is for internal use only. </dd></dl> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="gregocal_8h_source.html">gregocal.h</a></li> </ul> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.5 </small></address> </body> </html>