Sophie

Sophie

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

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

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>ICU 3.8: ucal.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.1 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</span></a></li>
    <li><a href="classes.html"><span>Data&nbsp;Structures</span></a></li>
    <li id="current"><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
    <li>
      <form action="search.php" method="get">
        <table cellspacing="0" cellpadding="0" border="0">
          <tr>
            <td><label>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</label></td>
            <td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
          </tr>
        </table>
      </form>
    </li>
  </ul></div>
<div class="tabs">
  <ul>
    <li><a href="files.html"><span>File&nbsp;List</span></a></li>
    <li><a href="globals.html"><span>Globals</span></a></li>
  </ul></div>
<h1>ucal.h File Reference</h1>C API: <a class="el" href="classCalendar.html">Calendar</a>. <a href="#_details">More...</a>
<p>
<code>#include &quot;<a class="el" href="utypes_8h-source.html">unicode/utypes.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="uenum_8h-source.html">unicode/uenum.h</a>&quot;</code><br>
<code>#include &quot;<a class="el" href="uloc_8h-source.html">unicode/uloc.h</a>&quot;</code><br>

<p>
<a href="ucal_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Typedefs</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef void *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">A calendar.  <a href="#fb45437aa9182d9fdcd96a2119e1e144"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef enum <a class="el" href="ucal_8h.html#80db55a10d0808a9f9b61e105b9d32fb">UCalendarType</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#eb82adf34aef02bbf8812623c2476060">UCalendarType</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef enum <a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#28411d3f471b1720fe688466983d2298">UCalendarDateFields</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef enum <a class="el" href="ucal_8h.html#62d9fe551bd48e4141fce52b917119a4">UCalendarDaysOfWeek</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#550de202361f87c31be2c566ab0f8ed3">UCalendarDaysOfWeek</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef enum <a class="el" href="ucal_8h.html#f13a67d4d259962e1840471f3a8e6596">UCalendarMonths</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#bd7f7265f470ed43d9823ae80bb908b3">UCalendarMonths</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef enum <a class="el" href="ucal_8h.html#71d1396f68a0ccc8bd7e5e0fe006b6a7">UCalendarAMPMs</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a43be2256b8b849142434d499a11250c">UCalendarAMPMs</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef enum <a class="el" href="ucal_8h.html#e9370947c6da3c8ee5ee034307ac5d03">UCalendarDisplayNameType</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#56a25733a15ea9e894b43d9dcb2b44be">UCalendarDisplayNameType</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef enum <a class="el" href="ucal_8h.html#27f00939dd2931f252c5bc6409b83227">UCalendarAttribute</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#fd668c58b07e90db871679752528b341">UCalendarAttribute</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef enum <a class="el" href="ucal_8h.html#6e54e12f217d36570b70fafcbb557ca5">UCalendarLimitType</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#c122fc97b5e965a32c68d288b636caaf">UCalendarLimitType</a></td></tr>

<tr><td colspan="2"><br><h2>Enumerations</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#80db55a10d0808a9f9b61e105b9d32fb">UCalendarType</a> { <a class="el" href="ucal_8h.html#80db55a10d0808a9f9b61e105b9d32fbf40f59ee818a37ecfa599e89eb0c334d">UCAL_TRADITIONAL</a>, 
<a class="el" href="ucal_8h.html#80db55a10d0808a9f9b61e105b9d32fb164278e20451a4f30269beac1a7ee3f3">UCAL_GREGORIAN</a>
 }</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Possible types of UCalendars.  <a href="ucal_8h.html#80db55a10d0808a9f9b61e105b9d32fb">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> { <br>
&nbsp;&nbsp;<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea9120ddda11f9012d9b033adab7e5d99a8d7">UCAL_ERA</a>, 
<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea9123e2b44660e01084c8b4990f281554ae1">UCAL_YEAR</a>, 
<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea9129546c33a33caefb88822bd22d4667fe1">UCAL_MONTH</a>, 
<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912b4fa05d61c729a269a6b6bad11387eea">UCAL_WEEK_OF_YEAR</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea9123585d4fa3f681dbda0e9ac8826e36d2f">UCAL_WEEK_OF_MONTH</a>, 
<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea9128086caf60ea1b9ca1f3ce590da84869e">UCAL_DATE</a>, 
<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea9124269b2063a9d820c4d6a81e573e72a33">UCAL_DAY_OF_YEAR</a>, 
<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912d922feccd72ca5e2ef90bb74a61f8070">UCAL_DAY_OF_WEEK</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea9128ed09799953a8b540f50ae856be93fc2">UCAL_DAY_OF_WEEK_IN_MONTH</a>, 
<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912d94a5edcb9a6dd1c2480f4da8151bf04">UCAL_AM_PM</a>, 
<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912c878e7ce810cf85e33b5a2e53e26c590">UCAL_HOUR</a>, 
<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912022b239bf42bff7814930817c7190b4f">UCAL_HOUR_OF_DAY</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912581a19cc0c5ff9ba238088cdb062c861">UCAL_MINUTE</a>, 
<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea9128bf78aa14924fb5eacd123ed11eedb9b">UCAL_SECOND</a>, 
<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912bc240c53c10619668e22f5cc08dc9555">UCAL_MILLISECOND</a>, 
<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912956400c61f7ff988019c663580d4984c">UCAL_ZONE_OFFSET</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912deaf79a310cfb7f9036a431b9ae0ff2a">UCAL_DST_OFFSET</a>, 
<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912581404a7c0401eb1dbb5dc01f0f0ef8c">UCAL_YEAR_WOY</a>, 
<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912fdf3076e740fbe439f89dd3214f0704b">UCAL_DOW_LOCAL</a>, 
<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea9120612bde412d2c2ca9d3210937cc01f07">UCAL_EXTENDED_YEAR</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912747a5a465beccf87a42a91f7948d5518">UCAL_JULIAN_DAY</a>, 
<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912fc6b7fa25f397758f03ad799ff057ca1">UCAL_MILLISECONDS_IN_DAY</a>, 
<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912dbfdd6e6b1bc1be830c7f1ba29f2c68c">UCAL_FIELD_COUNT</a>, 
<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912cba35fb282eacc2434e3229a3f64ef7e">UCAL_DAY_OF_MONTH</a> = UCAL_DATE
<br>
 }</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Possible fields in a UCalendar.  <a href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#62d9fe551bd48e4141fce52b917119a4">UCalendarDaysOfWeek</a> { <br>
&nbsp;&nbsp;<a class="el" href="ucal_8h.html#62d9fe551bd48e4141fce52b917119a49db1e73b33252ffcd5d5a4197b68f805">UCAL_SUNDAY</a> =  1, 
<a class="el" href="ucal_8h.html#62d9fe551bd48e4141fce52b917119a45b068ab70005ef07850e561b57d6bdd7">UCAL_MONDAY</a>, 
<a class="el" href="ucal_8h.html#62d9fe551bd48e4141fce52b917119a4b64dd41ed18baeb2b150537abe744300">UCAL_TUESDAY</a>, 
<a class="el" href="ucal_8h.html#62d9fe551bd48e4141fce52b917119a415a79079833f1119c2ed93edf6b02c99">UCAL_WEDNESDAY</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="ucal_8h.html#62d9fe551bd48e4141fce52b917119a458049393d8ffb9b243ab7dd46b0b605a">UCAL_THURSDAY</a>, 
<a class="el" href="ucal_8h.html#62d9fe551bd48e4141fce52b917119a49ee63f42c2e84d0b6c743ca021097374">UCAL_FRIDAY</a>, 
<a class="el" href="ucal_8h.html#62d9fe551bd48e4141fce52b917119a4358e7ba575ccb0ef2b531ac7945cff2f">UCAL_SATURDAY</a>
<br>
 }</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Possible days of the week in a UCalendar.  <a href="ucal_8h.html#62d9fe551bd48e4141fce52b917119a4">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#f13a67d4d259962e1840471f3a8e6596">UCalendarMonths</a> { <br>
&nbsp;&nbsp;<a class="el" href="ucal_8h.html#f13a67d4d259962e1840471f3a8e6596d2803ac4940572b4d1fc390861d9759c">UCAL_JANUARY</a>, 
<a class="el" href="ucal_8h.html#f13a67d4d259962e1840471f3a8e6596d9122013c38c7d414c6428fd4d9d8ad0">UCAL_FEBRUARY</a>, 
<a class="el" href="ucal_8h.html#f13a67d4d259962e1840471f3a8e6596f65658af9cb3b9b829ae218318d8c11b">UCAL_MARCH</a>, 
<a class="el" href="ucal_8h.html#f13a67d4d259962e1840471f3a8e65965053c7488e7a8b39af59408377d40ed6">UCAL_APRIL</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="ucal_8h.html#f13a67d4d259962e1840471f3a8e65962c0d943daf44e035240e215d9d52b463">UCAL_MAY</a>, 
<a class="el" href="ucal_8h.html#f13a67d4d259962e1840471f3a8e659661e354d2e762e2f65cc2241f3860cff8">UCAL_JUNE</a>, 
<a class="el" href="ucal_8h.html#f13a67d4d259962e1840471f3a8e65968ca4ce198fa1ea4285d2a2198d418ba5">UCAL_JULY</a>, 
<a class="el" href="ucal_8h.html#f13a67d4d259962e1840471f3a8e6596892d007d133f3d5d07831fe621b0597b">UCAL_AUGUST</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="ucal_8h.html#f13a67d4d259962e1840471f3a8e6596b0540bee00a697ff57961d1bd58f67da">UCAL_SEPTEMBER</a>, 
<a class="el" href="ucal_8h.html#f13a67d4d259962e1840471f3a8e6596fcc006296cc7b9b3b04c9a26c44181c5">UCAL_OCTOBER</a>, 
<a class="el" href="ucal_8h.html#f13a67d4d259962e1840471f3a8e65965bf40eb18049fa52944f56f73a56d5a4">UCAL_NOVEMBER</a>, 
<a class="el" href="ucal_8h.html#f13a67d4d259962e1840471f3a8e65961f72a7edd4372272ab30f84670cd763b">UCAL_DECEMBER</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="ucal_8h.html#f13a67d4d259962e1840471f3a8e65962ee2afdd3972c479165f030634645ab6">UCAL_UNDECIMBER</a>
<br>
 }</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Possible months in a UCalendar.  <a href="ucal_8h.html#f13a67d4d259962e1840471f3a8e6596">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#71d1396f68a0ccc8bd7e5e0fe006b6a7">UCalendarAMPMs</a> { <a class="el" href="ucal_8h.html#71d1396f68a0ccc8bd7e5e0fe006b6a78e263e26565f79225bea76abe8c39633">UCAL_AM</a>, 
<a class="el" href="ucal_8h.html#71d1396f68a0ccc8bd7e5e0fe006b6a7e95c19de4c6f88c1a5ac28816c2a2c2d">UCAL_PM</a>
 }</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Possible AM/PM values in a UCalendar.  <a href="ucal_8h.html#71d1396f68a0ccc8bd7e5e0fe006b6a7">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#e9370947c6da3c8ee5ee034307ac5d03">UCalendarDisplayNameType</a> { <a class="el" href="ucal_8h.html#e9370947c6da3c8ee5ee034307ac5d0336a8a634859870566e8b5cc464ce2341">UCAL_STANDARD</a>, 
<a class="el" href="ucal_8h.html#e9370947c6da3c8ee5ee034307ac5d03842b1349f0d44070af11a2eef0351785">UCAL_SHORT_STANDARD</a>, 
<a class="el" href="ucal_8h.html#e9370947c6da3c8ee5ee034307ac5d0389cff48ba2493249328e43c6e93505de">UCAL_DST</a>, 
<a class="el" href="ucal_8h.html#e9370947c6da3c8ee5ee034307ac5d0350794c17996d69d2666ce6704dab3a2f">UCAL_SHORT_DST</a>
 }</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Possible formats for a UCalendar's display name.  <a href="ucal_8h.html#e9370947c6da3c8ee5ee034307ac5d03">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#27f00939dd2931f252c5bc6409b83227">UCalendarAttribute</a> { <a class="el" href="ucal_8h.html#27f00939dd2931f252c5bc6409b83227eea5fa7f20994cc894b5ba747c2332fd">UCAL_LENIENT</a>, 
<a class="el" href="ucal_8h.html#27f00939dd2931f252c5bc6409b8322772d3e8c1713ca82417133ff6eaf50a41">UCAL_FIRST_DAY_OF_WEEK</a>, 
<a class="el" href="ucal_8h.html#27f00939dd2931f252c5bc6409b832274d1acaedb5fbcdf78f0ed0c15bf2d0bd">UCAL_MINIMAL_DAYS_IN_FIRST_WEEK</a>
 }</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Types of UCalendar attributes.  <a href="ucal_8h.html#27f00939dd2931f252c5bc6409b83227">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#6e54e12f217d36570b70fafcbb557ca5">UCalendarLimitType</a> { <br>
&nbsp;&nbsp;<a class="el" href="ucal_8h.html#6e54e12f217d36570b70fafcbb557ca5a274d987e6cb730dc6711a378faa654d">UCAL_MINIMUM</a>, 
<a class="el" href="ucal_8h.html#6e54e12f217d36570b70fafcbb557ca5b80ad3ad8e6242e0c605d853432e3679">UCAL_MAXIMUM</a>, 
<a class="el" href="ucal_8h.html#6e54e12f217d36570b70fafcbb557ca53db8def982b824fa3603182a5c82f4b3">UCAL_GREATEST_MINIMUM</a>, 
<a class="el" href="ucal_8h.html#6e54e12f217d36570b70fafcbb557ca5cb2cdcd3fdff6dbec96db2e2d626ad7e">UCAL_LEAST_MAXIMUM</a>, 
<br>
&nbsp;&nbsp;<a class="el" href="ucal_8h.html#6e54e12f217d36570b70fafcbb557ca5255825275dfe67f2cd05171c98a0b619">UCAL_ACTUAL_MINIMUM</a>, 
<a class="el" href="ucal_8h.html#6e54e12f217d36570b70fafcbb557ca50d12baa240dc171eed50cd2148a289e7">UCAL_ACTUAL_MAXIMUM</a>
<br>
 }</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Possible limit values for a UCalendar.  <a href="ucal_8h.html#6e54e12f217d36570b70fafcbb557ca5">More...</a><br></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="uenum_8h.html#32b7253b2148022535be36a9fcdb5a8d">UEnumeration</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#bbc29eb77035c731c6c5d18b77733069">ucal_openTimeZones</a> (<a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *ec)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create an enumeration over all time zones.  <a href="#bbc29eb77035c731c6c5d18b77733069"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="uenum_8h.html#32b7253b2148022535be36a9fcdb5a8d">UEnumeration</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#cac88ce8fa1cfb5585d1db7d93566fea">ucal_openCountryTimeZones</a> (const char *country, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *ec)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create an enumeration over all time zones associated with the given country.  <a href="#cac88ce8fa1cfb5585d1db7d93566fea"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#c5243211dec55651f308c34a011eb337">ucal_getDefaultTimeZone</a> (UChar *result, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> resultCapacity, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *ec)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the default time zone.  <a href="#c5243211dec55651f308c34a011eb337"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#2544550264fccc52c97b53a2febf29cb">ucal_setDefaultTimeZone</a> (const UChar *zoneID, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *ec)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the default time zone.  <a href="#2544550264fccc52c97b53a2febf29cb"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#3907928a0963ad035a221f6feb4f62cd">ucal_getDSTSavings</a> (const UChar *zoneID, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *ec)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the amount of time in milliseconds that the clock is advanced during daylight savings time for the given time zone, or zero if the time zone does not observe daylight savings time.  <a href="#3907928a0963ad035a221f6feb4f62cd"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#db6d89737a72e1b1edf99d65f78b0040">ucal_getNow</a> (void)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the current date and time.  <a href="#db6d89737a72e1b1edf99d65f78b0040"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#c9d3d4893f5b22a90edff24bedaf361c">ucal_open</a> (const UChar *zoneID, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> len, const char *locale, <a class="el" href="ucal_8h.html#80db55a10d0808a9f9b61e105b9d32fb">UCalendarType</a> type, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Open a UCalendar.  <a href="#c9d3d4893f5b22a90edff24bedaf361c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#e4402ac532c51fd6206f93fdc51b1dea">ucal_close</a> (<a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Close a UCalendar.  <a href="#e4402ac532c51fd6206f93fdc51b1dea"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#e5612988cb9dc282ccda82fda38602b2">ucal_setTimeZone</a> (<a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, const UChar *zoneID, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> len, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the <a class="el" href="classTimeZone.html">TimeZone</a> used by a UCalendar.  <a href="#e5612988cb9dc282ccda82fda38602b2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#ea22f4437959a297c21793281caea68a">ucal_getTimeZoneDisplayName</a> (const <a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="ucal_8h.html#e9370947c6da3c8ee5ee034307ac5d03">UCalendarDisplayNameType</a> type, const char *locale, UChar *result, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> resultLength, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the display name for a UCalendar's <a class="el" href="classTimeZone.html">TimeZone</a>.  <a href="#ea22f4437959a297c21793281caea68a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#0894e66c0e54efaee7d7a74769ef7768">ucal_inDaylightTime</a> (const <a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Determine if a UCalendar is currently in daylight savings time.  <a href="#0894e66c0e54efaee7d7a74769ef7768"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#8b0c9820b1d2ccc6fc499766f9867aad">ucal_setGregorianChange</a> (<a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a> date, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *<a class="el" href="ucnv_8h.html#dbf2cd1916edd4b0144730376dc993f3">pErrorCode</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the <a class="el" href="classGregorianCalendar.html">GregorianCalendar</a> change date.  <a href="#8b0c9820b1d2ccc6fc499766f9867aad"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#c6f9d60d827a403bb3d50accdd9027da">ucal_getGregorianChange</a> (const <a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *<a class="el" href="ucnv_8h.html#dbf2cd1916edd4b0144730376dc993f3">pErrorCode</a>)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Gets the Gregorian <a class="el" href="classCalendar.html">Calendar</a> change date.  <a href="#c6f9d60d827a403bb3d50accdd9027da"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#e38dffa3217680e56e30e5d1bca673ab">ucal_getAttribute</a> (const <a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="ucal_8h.html#27f00939dd2931f252c5bc6409b83227">UCalendarAttribute</a> attr)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a numeric attribute associated with a UCalendar.  <a href="#e38dffa3217680e56e30e5d1bca673ab"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#b8e316b5587dc752a9f87ab7f1423af5">ucal_setAttribute</a> (<a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="ucal_8h.html#27f00939dd2931f252c5bc6409b83227">UCalendarAttribute</a> attr, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> newValue)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set a numeric attribute associated with a UCalendar.  <a href="#b8e316b5587dc752a9f87ab7f1423af5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#6ca83f70f0a49492ba3ec72db3d6e178">ucal_getAvailable</a> (<a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> index)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a locale for which calendars are available.  <a href="#6ca83f70f0a49492ba3ec72db3d6e178"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#bb607b7866f13a0330e62ad86049275f">ucal_countAvailable</a> (void)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Determine how many locales have calendars available.  <a href="#bb607b7866f13a0330e62ad86049275f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#533d4cbb14bcea658867cc19dbf117e7">ucal_getMillis</a> (const <a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get a UCalendar's current time in millis.  <a href="#533d4cbb14bcea658867cc19dbf117e7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#54e866c1e202544059e92d1ce7cd8853">ucal_setMillis</a> (<a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a> dateTime, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set a UCalendar's current time in millis.  <a href="#54e866c1e202544059e92d1ce7cd8853"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#cca7f62f6e8eb75cabf2dd9f0778f7b4">ucal_setDate</a> (<a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> year, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> month, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> date, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set a UCalendar's current date.  <a href="#cca7f62f6e8eb75cabf2dd9f0778f7b4"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#8810072e357d43f6d9d4a792ff0be93e">ucal_setDateTime</a> (<a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> year, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> month, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> date, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> hour, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> minute, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> second, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set a UCalendar's current date.  <a href="#8810072e357d43f6d9d4a792ff0be93e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#4a978d3bd77eb69b173df4c0f07fb619">ucal_equivalentTo</a> (const <a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal1, const <a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal2)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns TRUE if two UCalendars are equivalent.  <a href="#4a978d3bd77eb69b173df4c0f07fb619"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#764bd099486548c088bfe3356a713e0f">ucal_add</a> (<a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> amount, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add a specified signed amount to a particular field in a UCalendar.  <a href="#764bd099486548c088bfe3356a713e0f"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#8b72b685f1c8d5decadaf32b22b51a2d">ucal_roll</a> (<a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> amount, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add a specified signed amount to a particular field in a UCalendar.  <a href="#8b72b685f1c8d5decadaf32b22b51a2d"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#61fc6f963b0cc02d97a26317d1c363be">ucal_get</a> (const <a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the current value of a field from a UCalendar.  <a href="#61fc6f963b0cc02d97a26317d1c363be"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#e7652b5273a7de51cd6d2f24927a765a">ucal_set</a> (<a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> value)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the value of a field in a UCalendar.  <a href="#e7652b5273a7de51cd6d2f24927a765a"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#cfcbb957b9cea4531d541a8985ab63ce">ucal_isSet</a> (const <a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Determine if a field in a UCalendar is set.  <a href="#cfcbb957b9cea4531d541a8985ab63ce"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#e76331aadf36b244b2ab1ad5e4929be7">ucal_clearField</a> (<a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Clear a field in a UCalendar.  <a href="#e76331aadf36b244b2ab1ad5e4929be7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#434b8c72e2c22018caa3a04a328ad193">ucal_clear</a> (<a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *calendar)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Clear all fields in a UCalendar.  <a href="#434b8c72e2c22018caa3a04a328ad193"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#5f43bd7f846d9dbc94a9a46af26e7ab7">ucal_getLimit</a> (const <a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="ucal_8h.html#6e54e12f217d36570b70fafcbb557ca5">UCalendarLimitType</a> type, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Determine a limit for a field in a UCalendar.  <a href="#5f43bd7f846d9dbc94a9a46af26e7ab7"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#d487ddaaac28a622ae2b3cf2383fd3ae">ucal_getLocaleByType</a> (const <a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="uloc_8h.html#df053345d343f8d82ae080f7a5871f34">ULocDataLocaleType</a> type, <a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Get the locale for this calendar object.  <a href="#d487ddaaac28a622ae2b3cf2383fd3ae"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#0ad2dccc88f8b7017d039f1b68ba8996">ucal_getTZDataVersion</a> (<a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the timezone data version currently used by ICU.  <a href="#0ad2dccc88f8b7017d039f1b68ba8996"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
C API: <a class="el" href="classCalendar.html">Calendar</a>. 
<p>
<h2><a class="el" href="classCalendar.html">Calendar</a> C API</h2>
<p>
UCalendar C API is used for converting between a <code>UDate</code> object and a set of integer fields such as <code>UCAL_YEAR</code>, <code>UCAL_MONTH</code>, <code>UCAL_DAY</code>, <code>UCAL_HOUR</code>, and so on. (A <code>UDate</code> object represents a specific instant in time with millisecond precision. See UDate for information about the <code>UDate</code> .)<p>
Types of <code>UCalendar</code> interpret a <code>UDate</code> according to the rules of a specific calendar system. The U_STABLE provides the enum UCalendarType with UCAL_TRADITIONAL and UCAL_GREGORIAN. <p>
Like other locale-sensitive C API, calendar API provides a function, <code><a class="el" href="ucal_8h.html#c9d3d4893f5b22a90edff24bedaf361c">ucal_open()</a></code>, which returns a pointer to <code>UCalendar</code> whose time fields have been initialized with the current date and time. We need to specify the type of calendar to be opened and the timezoneId.  <blockquote> <pre>
<div class="fragment"><pre class="fragment"> <a class="code" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *caldef;
 <a class="code" href="umachine_8h.html#6bb9fad572d65b305324ef288165e2ac">UChar</a> *tzId;
 <a class="code" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> status;
 tzId=(<a class="code" href="umachine_8h.html#6bb9fad572d65b305324ef288165e2ac">UChar</a>*)malloc(<span class="keyword">sizeof</span>(<a class="code" href="umachine_8h.html#6bb9fad572d65b305324ef288165e2ac">UChar</a>) * (strlen(<span class="stringliteral">"PST"</span>) +1) );
 <a class="code" href="ustring_8h.html#0f2d5d46acef8e0eac711bef15e7531f">u_uastrcpy</a>(tzId, <span class="stringliteral">"PST"</span>);
 caldef=<a class="code" href="ucal_8h.html#c9d3d4893f5b22a90edff24bedaf361c">ucal_open</a>(tzID, <a class="code" href="group__ustring__ustrlen.html#gc4d8a5581fc5bde71d62ebd0a7a84ec5">u_strlen</a>(tzID), <a class="code" href="utypes_8h.html#070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>, <a class="code" href="ucal_8h.html#80db55a10d0808a9f9b61e105b9d32fbf40f59ee818a37ecfa599e89eb0c334d">UCAL_TRADITIONAL</a>, &amp;status);
</pre></div>
 </pre>  </blockquote><p>
A <code>UCalendar</code> object can produce all the time field values needed to implement the date-time formatting for a particular language and calendar style (for example, Japanese-Gregorian, Japanese-Traditional).<p>
When computing a <code>UDate</code> from time fields, two special circumstances may arise: there may be insufficient information to compute the <code>UDate</code> (such as only year and month but no day in the month), or there may be inconsistent information (such as "Tuesday, July 15, 1996" -- July 15, 1996 is actually a Monday).<p>
<b>Insufficient information.</b> The calendar will use default information to specify the missing fields. This may vary by calendar; for the Gregorian calendar, the default for a field is the same as that of the start of the epoch: i.e., UCAL_YEAR = 1970, UCAL_MONTH = JANUARY, UCAL_DATE = 1, etc.<p>
<b>Inconsistent information.</b> If fields conflict, the calendar will give preference to fields set more recently. For example, when determining the day, the calendar will look for one of the following combinations of fields. The most recent combination, as determined by the most recently set single field, will be used.<p>
 <blockquote> <pre>
<div class="fragment"><pre class="fragment"> <a class="code" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea9129546c33a33caefb88822bd22d4667fe1">UCAL_MONTH</a> + <a class="code" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912cba35fb282eacc2434e3229a3f64ef7e">UCAL_DAY_OF_MONTH</a>
 <a class="code" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea9129546c33a33caefb88822bd22d4667fe1">UCAL_MONTH</a> + <a class="code" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea9123585d4fa3f681dbda0e9ac8826e36d2f">UCAL_WEEK_OF_MONTH</a> + <a class="code" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912d922feccd72ca5e2ef90bb74a61f8070">UCAL_DAY_OF_WEEK</a>
 <a class="code" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea9129546c33a33caefb88822bd22d4667fe1">UCAL_MONTH</a> + <a class="code" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea9128ed09799953a8b540f50ae856be93fc2">UCAL_DAY_OF_WEEK_IN_MONTH</a> + <a class="code" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912d922feccd72ca5e2ef90bb74a61f8070">UCAL_DAY_OF_WEEK</a>
 <a class="code" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea9124269b2063a9d820c4d6a81e573e72a33">UCAL_DAY_OF_YEAR</a>
 <a class="code" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912d922feccd72ca5e2ef90bb74a61f8070">UCAL_DAY_OF_WEEK</a> + <a class="code" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912b4fa05d61c729a269a6b6bad11387eea">UCAL_WEEK_OF_YEAR</a>
</pre></div>
 </pre>  </blockquote><p>
For the time of day:<p>
 <blockquote> <pre>
<div class="fragment"><pre class="fragment"> <a class="code" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912022b239bf42bff7814930817c7190b4f">UCAL_HOUR_OF_DAY</a>
 <a class="code" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912d94a5edcb9a6dd1c2480f4da8151bf04">UCAL_AM_PM</a> + <a class="code" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912c878e7ce810cf85e33b5a2e53e26c590">UCAL_HOUR</a>
</pre></div>
 </pre>  </blockquote><p>
<b>Note:</b> for some non-Gregorian calendars, different fields may be necessary for complete disambiguation. For example, a full specification of the historial Arabic astronomical calendar requires year, month, day-of-month <em>and</em> day-of-week in some cases.<p>
<b>Note:</b> There are certain possible ambiguities in interpretation of certain singular times, which are resolved in the following ways: <ol>
<li>
24:00:00 "belongs" to the following day. That is, 23:59 on Dec 31, 1969 &lt; 24:00 on Jan 1, 1970 &lt; 24:01:00 on Jan 1, 1970<p>
</li>
<li>
Although historically not precise, midnight also belongs to "am", and noon belongs to "pm", so on the same day, 12:00 am (midnight) &lt; 12:01 am, and 12:00 pm (noon) &lt; 12:01 pm </li>
</ol>
<p>
The date or time format strings are not part of the definition of a calendar, as those must be modifiable or overridable by the user at runtime. Use <a class="el" href="classDateFormat.html">DateFormat</a> to format dates.<p>
<code><a class="el" href="classCalendar.html">Calendar</a></code> provides an API for field "rolling", where fields can be incremented or decremented, but wrap around. For example, rolling the month up in the date <code>December 12, <b>1996</b></code> results in <code>January 12, <b>1996</b></code>.<p>
<code><a class="el" href="classCalendar.html">Calendar</a></code> also provides a date arithmetic function for adding the specified (signed) amount of time to a particular time field. For example, subtracting 5 days from the date <code>September 12, 1996</code> results in <code>September 7, 1996</code>.<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable002912">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Definition in file <a class="el" href="ucal_8h-source.html">ucal.h</a>.<hr><h2>Typedef Documentation</h2>
<a class="anchor" name="fb45437aa9182d9fdcd96a2119e1e144"></a><!-- doxytag: member="ucal.h::UCalendar" ref="fb45437aa9182d9fdcd96a2119e1e144" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void* <a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
A calendar. 
<p>
For usage in C programs. <dl compact><dt><b><a class="el" href="stable.html#_stable002913">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>
Definition at line <a class="el" href="ucal_8h-source.html#l00146">146</a> of file <a class="el" href="ucal_8h-source.html">ucal.h</a>.
</div>
</div><p>
<a class="anchor" name="a43be2256b8b849142434d499a11250c"></a><!-- doxytag: member="ucal.h::UCalendarAMPMs" ref="a43be2256b8b849142434d499a11250c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef enum <a class="el" href="ucal_8h.html#71d1396f68a0ccc8bd7e5e0fe006b6a7">UCalendarAMPMs</a> <a class="el" href="ucal_8h.html#71d1396f68a0ccc8bd7e5e0fe006b6a7">UCalendarAMPMs</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>
Definition at line <a class="el" href="ucal_8h-source.html#l00497">497</a> of file <a class="el" href="ucal_8h-source.html">ucal.h</a>.
</div>
</div><p>
<a class="anchor" name="fd668c58b07e90db871679752528b341"></a><!-- doxytag: member="ucal.h::UCalendarAttribute" ref="fd668c58b07e90db871679752528b341" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef enum <a class="el" href="ucal_8h.html#27f00939dd2931f252c5bc6409b83227">UCalendarAttribute</a> <a class="el" href="ucal_8h.html#27f00939dd2931f252c5bc6409b83227">UCalendarAttribute</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>
Definition at line <a class="el" href="ucal_8h-source.html#l00745">745</a> of file <a class="el" href="ucal_8h-source.html">ucal.h</a>.
</div>
</div><p>
<a class="anchor" name="28411d3f471b1720fe688466983d2298"></a><!-- doxytag: member="ucal.h::UCalendarDateFields" ref="28411d3f471b1720fe688466983d2298" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef enum <a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> <a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>
Definition at line <a class="el" href="ucal_8h-source.html#l00419">419</a> of file <a class="el" href="ucal_8h-source.html">ucal.h</a>.
</div>
</div><p>
<a class="anchor" name="550de202361f87c31be2c566ab0f8ed3"></a><!-- doxytag: member="ucal.h::UCalendarDaysOfWeek" ref="550de202361f87c31be2c566ab0f8ed3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef enum <a class="el" href="ucal_8h.html#62d9fe551bd48e4141fce52b917119a4">UCalendarDaysOfWeek</a> <a class="el" href="ucal_8h.html#62d9fe551bd48e4141fce52b917119a4">UCalendarDaysOfWeek</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>
Definition at line <a class="el" href="ucal_8h-source.html#l00446">446</a> of file <a class="el" href="ucal_8h-source.html">ucal.h</a>.
</div>
</div><p>
<a class="anchor" name="56a25733a15ea9e894b43d9dcb2b44be"></a><!-- doxytag: member="ucal.h::UCalendarDisplayNameType" ref="56a25733a15ea9e894b43d9dcb2b44be" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef enum <a class="el" href="ucal_8h.html#e9370947c6da3c8ee5ee034307ac5d03">UCalendarDisplayNameType</a> <a class="el" href="ucal_8h.html#e9370947c6da3c8ee5ee034307ac5d03">UCalendarDisplayNameType</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>
Definition at line <a class="el" href="ucal_8h-source.html#l00650">650</a> of file <a class="el" href="ucal_8h-source.html">ucal.h</a>.
</div>
</div><p>
<a class="anchor" name="c122fc97b5e965a32c68d288b636caaf"></a><!-- doxytag: member="ucal.h::UCalendarLimitType" ref="c122fc97b5e965a32c68d288b636caaf" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef enum <a class="el" href="ucal_8h.html#6e54e12f217d36570b70fafcbb557ca5">UCalendarLimitType</a> <a class="el" href="ucal_8h.html#6e54e12f217d36570b70fafcbb557ca5">UCalendarLimitType</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>
Definition at line <a class="el" href="ucal_8h-source.html#l01046">1046</a> of file <a class="el" href="ucal_8h-source.html">ucal.h</a>.
</div>
</div><p>
<a class="anchor" name="bd7f7265f470ed43d9823ae80bb908b3"></a><!-- doxytag: member="ucal.h::UCalendarMonths" ref="bd7f7265f470ed43d9823ae80bb908b3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef enum <a class="el" href="ucal_8h.html#f13a67d4d259962e1840471f3a8e6596">UCalendarMonths</a> <a class="el" href="ucal_8h.html#f13a67d4d259962e1840471f3a8e6596">UCalendarMonths</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>
Definition at line <a class="el" href="ucal_8h-source.html#l00484">484</a> of file <a class="el" href="ucal_8h-source.html">ucal.h</a>.
</div>
</div><p>
<a class="anchor" name="eb82adf34aef02bbf8812623c2476060"></a><!-- doxytag: member="ucal.h::UCalendarType" ref="eb82adf34aef02bbf8812623c2476060" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef enum <a class="el" href="ucal_8h.html#80db55a10d0808a9f9b61e105b9d32fb">UCalendarType</a> <a class="el" href="ucal_8h.html#80db55a10d0808a9f9b61e105b9d32fb">UCalendarType</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

<p>
Definition at line <a class="el" href="ucal_8h-source.html#l00159">159</a> of file <a class="el" href="ucal_8h-source.html">ucal.h</a>.
</div>
</div><p>
<hr><h2>Enumeration Type Documentation</h2>
<a class="anchor" name="71d1396f68a0ccc8bd7e5e0fe006b6a7"></a><!-- doxytag: member="ucal.h::UCalendarAMPMs" ref="71d1396f68a0ccc8bd7e5e0fe006b6a7" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="ucal_8h.html#71d1396f68a0ccc8bd7e5e0fe006b6a7">UCalendarAMPMs</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Possible AM/PM values in a UCalendar. 
<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable002922">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="71d1396f68a0ccc8bd7e5e0fe006b6a78e263e26565f79225bea76abe8c39633"></a><!-- doxytag: member="UCAL_AM" ref="71d1396f68a0ccc8bd7e5e0fe006b6a78e263e26565f79225bea76abe8c39633" args="" -->UCAL_AM</em>&nbsp;</td><td>
AM. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="71d1396f68a0ccc8bd7e5e0fe006b6a7e95c19de4c6f88c1a5ac28816c2a2c2d"></a><!-- doxytag: member="UCAL_PM" ref="71d1396f68a0ccc8bd7e5e0fe006b6a7e95c19de4c6f88c1a5ac28816c2a2c2d" args="" -->UCAL_PM</em>&nbsp;</td><td>
PM. </td></tr>
</table>
</dl>

<p>
Definition at line <a class="el" href="ucal_8h-source.html#l00489">489</a> of file <a class="el" href="ucal_8h-source.html">ucal.h</a>.
</div>
</div><p>
<a class="anchor" name="27f00939dd2931f252c5bc6409b83227"></a><!-- doxytag: member="ucal.h::UCalendarAttribute" ref="27f00939dd2931f252c5bc6409b83227" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="ucal_8h.html#27f00939dd2931f252c5bc6409b83227">UCalendarAttribute</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Types of UCalendar attributes. 
<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable002939">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="27f00939dd2931f252c5bc6409b83227eea5fa7f20994cc894b5ba747c2332fd"></a><!-- doxytag: member="UCAL_LENIENT" ref="27f00939dd2931f252c5bc6409b83227eea5fa7f20994cc894b5ba747c2332fd" args="" -->UCAL_LENIENT</em>&nbsp;</td><td>
Lenient parsing. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="27f00939dd2931f252c5bc6409b8322772d3e8c1713ca82417133ff6eaf50a41"></a><!-- doxytag: member="UCAL_FIRST_DAY_OF_WEEK" ref="27f00939dd2931f252c5bc6409b8322772d3e8c1713ca82417133ff6eaf50a41" args="" -->UCAL_FIRST_DAY_OF_WEEK</em>&nbsp;</td><td>
First day of week. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="27f00939dd2931f252c5bc6409b832274d1acaedb5fbcdf78f0ed0c15bf2d0bd"></a><!-- doxytag: member="UCAL_MINIMAL_DAYS_IN_FIRST_WEEK" ref="27f00939dd2931f252c5bc6409b832274d1acaedb5fbcdf78f0ed0c15bf2d0bd" args="" -->UCAL_MINIMAL_DAYS_IN_FIRST_WEEK</em>&nbsp;</td><td>
Minimum number of days in first week. </td></tr>
</table>
</dl>

<p>
Definition at line <a class="el" href="ucal_8h-source.html#l00735">735</a> of file <a class="el" href="ucal_8h-source.html">ucal.h</a>.
</div>
</div><p>
<a class="anchor" name="02fe23bf33319052733c00c7a09ea912"></a><!-- doxytag: member="ucal.h::UCalendarDateFields" ref="02fe23bf33319052733c00c7a09ea912" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Possible fields in a UCalendar. 
<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable002916">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="02fe23bf33319052733c00c7a09ea9120ddda11f9012d9b033adab7e5d99a8d7"></a><!-- doxytag: member="UCAL_ERA" ref="02fe23bf33319052733c00c7a09ea9120ddda11f9012d9b033adab7e5d99a8d7" args="" -->UCAL_ERA</em>&nbsp;</td><td>
Field number indicating the era, e.g., AD or BC in the Gregorian (Julian) calendar. 
<p>
This is a calendar-specific value. <dl compact><dt><b><a class="el" href="stable.html#_stable002961">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="02fe23bf33319052733c00c7a09ea9123e2b44660e01084c8b4990f281554ae1"></a><!-- doxytag: member="UCAL_YEAR" ref="02fe23bf33319052733c00c7a09ea9123e2b44660e01084c8b4990f281554ae1" args="" -->UCAL_YEAR</em>&nbsp;</td><td>
Field number indicating the year. 
<p>
This is a calendar-specific value. <dl compact><dt><b><a class="el" href="stable.html#_stable002962">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="02fe23bf33319052733c00c7a09ea9129546c33a33caefb88822bd22d4667fe1"></a><!-- doxytag: member="UCAL_MONTH" ref="02fe23bf33319052733c00c7a09ea9129546c33a33caefb88822bd22d4667fe1" args="" -->UCAL_MONTH</em>&nbsp;</td><td>
Field number indicating the month. 
<p>
This is a calendar-specific value. The first month of the year is <code>JANUARY</code>; the last depends on the number of months in a year. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="ucal_8h.html#f13a67d4d259962e1840471f3a8e6596d2803ac4940572b4d1fc390861d9759c">UCAL_JANUARY</a> <p>
<a class="el" href="ucal_8h.html#f13a67d4d259962e1840471f3a8e6596d9122013c38c7d414c6428fd4d9d8ad0">UCAL_FEBRUARY</a> <p>
<a class="el" href="ucal_8h.html#f13a67d4d259962e1840471f3a8e6596f65658af9cb3b9b829ae218318d8c11b">UCAL_MARCH</a> <p>
<a class="el" href="ucal_8h.html#f13a67d4d259962e1840471f3a8e65965053c7488e7a8b39af59408377d40ed6">UCAL_APRIL</a> <p>
<a class="el" href="ucal_8h.html#f13a67d4d259962e1840471f3a8e65962c0d943daf44e035240e215d9d52b463">UCAL_MAY</a> <p>
<a class="el" href="ucal_8h.html#f13a67d4d259962e1840471f3a8e659661e354d2e762e2f65cc2241f3860cff8">UCAL_JUNE</a> <p>
<a class="el" href="ucal_8h.html#f13a67d4d259962e1840471f3a8e65968ca4ce198fa1ea4285d2a2198d418ba5">UCAL_JULY</a> <p>
<a class="el" href="ucal_8h.html#f13a67d4d259962e1840471f3a8e6596892d007d133f3d5d07831fe621b0597b">UCAL_AUGUST</a> <p>
<a class="el" href="ucal_8h.html#f13a67d4d259962e1840471f3a8e6596b0540bee00a697ff57961d1bd58f67da">UCAL_SEPTEMBER</a> <p>
<a class="el" href="ucal_8h.html#f13a67d4d259962e1840471f3a8e6596fcc006296cc7b9b3b04c9a26c44181c5">UCAL_OCTOBER</a> <p>
<a class="el" href="ucal_8h.html#f13a67d4d259962e1840471f3a8e65965bf40eb18049fa52944f56f73a56d5a4">UCAL_NOVEMBER</a> <p>
<a class="el" href="ucal_8h.html#f13a67d4d259962e1840471f3a8e65961f72a7edd4372272ab30f84670cd763b">UCAL_DECEMBER</a> <p>
<a class="el" href="ucal_8h.html#f13a67d4d259962e1840471f3a8e65962ee2afdd3972c479165f030634645ab6">UCAL_UNDECIMBER</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002963">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="02fe23bf33319052733c00c7a09ea912b4fa05d61c729a269a6b6bad11387eea"></a><!-- doxytag: member="UCAL_WEEK_OF_YEAR" ref="02fe23bf33319052733c00c7a09ea912b4fa05d61c729a269a6b6bad11387eea" args="" -->UCAL_WEEK_OF_YEAR</em>&nbsp;</td><td>
Field number indicating the week number within the current year. 
<p>
The first week of the year, as defined by <code>UCAL_FIRST_DAY_OF_WEEK</code> and <code>UCAL_MINIMAL_DAYS_IN_FIRST_WEEK</code> attributes, has value 1. Subclasses define the value of <code>UCAL_WEEK_OF_YEAR</code> for days before the first week of the year. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="ucal_8h.html#e38dffa3217680e56e30e5d1bca673ab">ucal_getAttribute</a> <p>
<a class="el" href="ucal_8h.html#b8e316b5587dc752a9f87ab7f1423af5">ucal_setAttribute</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002964">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="02fe23bf33319052733c00c7a09ea9123585d4fa3f681dbda0e9ac8826e36d2f"></a><!-- doxytag: member="UCAL_WEEK_OF_MONTH" ref="02fe23bf33319052733c00c7a09ea9123585d4fa3f681dbda0e9ac8826e36d2f" args="" -->UCAL_WEEK_OF_MONTH</em>&nbsp;</td><td>
Field number indicating the week number within the current month. 
<p>
The first week of the month, as defined by <code>UCAL_FIRST_DAY_OF_WEEK</code> and <code>UCAL_MINIMAL_DAYS_IN_FIRST_WEEK</code> attributes, has value 1. Subclasses define the value of <code>WEEK_OF_MONTH</code> for days before the first week of the month. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="ucal_8h.html#e38dffa3217680e56e30e5d1bca673ab">ucal_getAttribute</a> <p>
<a class="el" href="ucal_8h.html#b8e316b5587dc752a9f87ab7f1423af5">ucal_setAttribute</a> <p>
<a class="el" href="ucal_8h.html#27f00939dd2931f252c5bc6409b8322772d3e8c1713ca82417133ff6eaf50a41">UCAL_FIRST_DAY_OF_WEEK</a> <p>
<a class="el" href="ucal_8h.html#27f00939dd2931f252c5bc6409b832274d1acaedb5fbcdf78f0ed0c15bf2d0bd">UCAL_MINIMAL_DAYS_IN_FIRST_WEEK</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002965">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="02fe23bf33319052733c00c7a09ea9128086caf60ea1b9ca1f3ce590da84869e"></a><!-- doxytag: member="UCAL_DATE" ref="02fe23bf33319052733c00c7a09ea9128086caf60ea1b9ca1f3ce590da84869e" args="" -->UCAL_DATE</em>&nbsp;</td><td>
Field number indicating the day of the month. 
<p>
This is a synonym for <code>DAY_OF_MONTH</code>. The first day of the month has value 1. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912cba35fb282eacc2434e3229a3f64ef7e">UCAL_DAY_OF_MONTH</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002966">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="02fe23bf33319052733c00c7a09ea9124269b2063a9d820c4d6a81e573e72a33"></a><!-- doxytag: member="UCAL_DAY_OF_YEAR" ref="02fe23bf33319052733c00c7a09ea9124269b2063a9d820c4d6a81e573e72a33" args="" -->UCAL_DAY_OF_YEAR</em>&nbsp;</td><td>
Field number indicating the day number within the current year. 
<p>
The first day of the year has value 1. <dl compact><dt><b><a class="el" href="stable.html#_stable002967">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="02fe23bf33319052733c00c7a09ea912d922feccd72ca5e2ef90bb74a61f8070"></a><!-- doxytag: member="UCAL_DAY_OF_WEEK" ref="02fe23bf33319052733c00c7a09ea912d922feccd72ca5e2ef90bb74a61f8070" args="" -->UCAL_DAY_OF_WEEK</em>&nbsp;</td><td>
Field number indicating the day of the week. 
<p>
This field takes values <code>SUNDAY</code>, <code>MONDAY</code>, <code>TUESDAY</code>, <code>WEDNESDAY</code>, <code>THURSDAY</code>, <code>FRIDAY</code>, and <code>SATURDAY</code>. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="ucal_8h.html#62d9fe551bd48e4141fce52b917119a49db1e73b33252ffcd5d5a4197b68f805">UCAL_SUNDAY</a> <p>
<a class="el" href="ucal_8h.html#62d9fe551bd48e4141fce52b917119a45b068ab70005ef07850e561b57d6bdd7">UCAL_MONDAY</a> <p>
<a class="el" href="ucal_8h.html#62d9fe551bd48e4141fce52b917119a4b64dd41ed18baeb2b150537abe744300">UCAL_TUESDAY</a> <p>
<a class="el" href="ucal_8h.html#62d9fe551bd48e4141fce52b917119a415a79079833f1119c2ed93edf6b02c99">UCAL_WEDNESDAY</a> <p>
<a class="el" href="ucal_8h.html#62d9fe551bd48e4141fce52b917119a458049393d8ffb9b243ab7dd46b0b605a">UCAL_THURSDAY</a> <p>
<a class="el" href="ucal_8h.html#62d9fe551bd48e4141fce52b917119a49ee63f42c2e84d0b6c743ca021097374">UCAL_FRIDAY</a> <p>
<a class="el" href="ucal_8h.html#62d9fe551bd48e4141fce52b917119a4358e7ba575ccb0ef2b531ac7945cff2f">UCAL_SATURDAY</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002968">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="02fe23bf33319052733c00c7a09ea9128ed09799953a8b540f50ae856be93fc2"></a><!-- doxytag: member="UCAL_DAY_OF_WEEK_IN_MONTH" ref="02fe23bf33319052733c00c7a09ea9128ed09799953a8b540f50ae856be93fc2" args="" -->UCAL_DAY_OF_WEEK_IN_MONTH</em>&nbsp;</td><td>
Field number indicating the ordinal number of the day of the week within the current month. 
<p>
Together with the <code>DAY_OF_WEEK</code> field, this uniquely specifies a day within a month. Unlike <code>WEEK_OF_MONTH</code> and <code>WEEK_OF_YEAR</code>, this field's value does <em>not</em> depend on <code>getFirstDayOfWeek()</code> or <code>getMinimalDaysInFirstWeek()</code>. <code>DAY_OF_MONTH 1</code> through <code>7</code> always correspond to <code>DAY_OF_WEEK_IN_MONTH 1</code>; <code>8</code> through <code>15</code> correspond to <code>DAY_OF_WEEK_IN_MONTH 2</code>, and so on. <code>DAY_OF_WEEK_IN_MONTH 0</code> indicates the week before <code>DAY_OF_WEEK_IN_MONTH 1</code>. Negative values count back from the end of the month, so the last Sunday of a month is specified as <code>DAY_OF_WEEK = SUNDAY, DAY_OF_WEEK_IN_MONTH = -1</code>. Because negative values count backward they will usually be aligned differently within the month than positive values. For example, if a month has 31 days, <code>DAY_OF_WEEK_IN_MONTH -1</code> will overlap <code>DAY_OF_WEEK_IN_MONTH 5</code> and the end of <code>4</code>. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912d922feccd72ca5e2ef90bb74a61f8070">UCAL_DAY_OF_WEEK</a> <p>
<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea9123585d4fa3f681dbda0e9ac8826e36d2f">UCAL_WEEK_OF_MONTH</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002969">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="02fe23bf33319052733c00c7a09ea912d94a5edcb9a6dd1c2480f4da8151bf04"></a><!-- doxytag: member="UCAL_AM_PM" ref="02fe23bf33319052733c00c7a09ea912d94a5edcb9a6dd1c2480f4da8151bf04" args="" -->UCAL_AM_PM</em>&nbsp;</td><td>
Field number indicating whether the <code>HOUR</code> is before or after noon. 
<p>
E.g., at 10:04:15.250 PM the <code>AM_PM</code> is <code>PM</code>. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="ucal_8h.html#71d1396f68a0ccc8bd7e5e0fe006b6a78e263e26565f79225bea76abe8c39633">UCAL_AM</a> <p>
<a class="el" href="ucal_8h.html#71d1396f68a0ccc8bd7e5e0fe006b6a7e95c19de4c6f88c1a5ac28816c2a2c2d">UCAL_PM</a> <p>
<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912c878e7ce810cf85e33b5a2e53e26c590">UCAL_HOUR</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002970">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="02fe23bf33319052733c00c7a09ea912c878e7ce810cf85e33b5a2e53e26c590"></a><!-- doxytag: member="UCAL_HOUR" ref="02fe23bf33319052733c00c7a09ea912c878e7ce810cf85e33b5a2e53e26c590" args="" -->UCAL_HOUR</em>&nbsp;</td><td>
Field number indicating the hour of the morning or afternoon. 
<p>
<code>HOUR</code> is used for the 12-hour clock. E.g., at 10:04:15.250 PM the <code>HOUR</code> is 10. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912d94a5edcb9a6dd1c2480f4da8151bf04">UCAL_AM_PM</a> <p>
<a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912022b239bf42bff7814930817c7190b4f">UCAL_HOUR_OF_DAY</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002971">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="02fe23bf33319052733c00c7a09ea912022b239bf42bff7814930817c7190b4f"></a><!-- doxytag: member="UCAL_HOUR_OF_DAY" ref="02fe23bf33319052733c00c7a09ea912022b239bf42bff7814930817c7190b4f" args="" -->UCAL_HOUR_OF_DAY</em>&nbsp;</td><td>
Field number indicating the hour of the day. 
<p>
<code>HOUR_OF_DAY</code> is used for the 24-hour clock. E.g., at 10:04:15.250 PM the <code>HOUR_OF_DAY</code> is 22. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912c878e7ce810cf85e33b5a2e53e26c590">UCAL_HOUR</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002972">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="02fe23bf33319052733c00c7a09ea912581a19cc0c5ff9ba238088cdb062c861"></a><!-- doxytag: member="UCAL_MINUTE" ref="02fe23bf33319052733c00c7a09ea912581a19cc0c5ff9ba238088cdb062c861" args="" -->UCAL_MINUTE</em>&nbsp;</td><td>
Field number indicating the minute within the hour. 
<p>
E.g., at 10:04:15.250 PM the <code>UCAL_MINUTE</code> is 4. <dl compact><dt><b><a class="el" href="stable.html#_stable002973">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="02fe23bf33319052733c00c7a09ea9128bf78aa14924fb5eacd123ed11eedb9b"></a><!-- doxytag: member="UCAL_SECOND" ref="02fe23bf33319052733c00c7a09ea9128bf78aa14924fb5eacd123ed11eedb9b" args="" -->UCAL_SECOND</em>&nbsp;</td><td>
Field number indicating the second within the minute. 
<p>
E.g., at 10:04:15.250 PM the <code>UCAL_SECOND</code> is 15. <dl compact><dt><b><a class="el" href="stable.html#_stable002974">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="02fe23bf33319052733c00c7a09ea912bc240c53c10619668e22f5cc08dc9555"></a><!-- doxytag: member="UCAL_MILLISECOND" ref="02fe23bf33319052733c00c7a09ea912bc240c53c10619668e22f5cc08dc9555" args="" -->UCAL_MILLISECOND</em>&nbsp;</td><td>
Field number indicating the millisecond within the second. 
<p>
E.g., at 10:04:15.250 PM the <code>UCAL_MILLISECOND</code> is 250. <dl compact><dt><b><a class="el" href="stable.html#_stable002975">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="02fe23bf33319052733c00c7a09ea912956400c61f7ff988019c663580d4984c"></a><!-- doxytag: member="UCAL_ZONE_OFFSET" ref="02fe23bf33319052733c00c7a09ea912956400c61f7ff988019c663580d4984c" args="" -->UCAL_ZONE_OFFSET</em>&nbsp;</td><td>
Field number indicating the raw offset from GMT in milliseconds. 
<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable002976">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="02fe23bf33319052733c00c7a09ea912deaf79a310cfb7f9036a431b9ae0ff2a"></a><!-- doxytag: member="UCAL_DST_OFFSET" ref="02fe23bf33319052733c00c7a09ea912deaf79a310cfb7f9036a431b9ae0ff2a" args="" -->UCAL_DST_OFFSET</em>&nbsp;</td><td>
Field number indicating the daylight savings offset in milliseconds. 
<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable002977">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="02fe23bf33319052733c00c7a09ea912581404a7c0401eb1dbb5dc01f0f0ef8c"></a><!-- doxytag: member="UCAL_YEAR_WOY" ref="02fe23bf33319052733c00c7a09ea912581404a7c0401eb1dbb5dc01f0f0ef8c" args="" -->UCAL_YEAR_WOY</em>&nbsp;</td><td>
Field number indicating the extended year corresponding to the <code>UCAL_WEEK_OF_YEAR</code> field. 
<p>
This may be one greater or less than the value of <code>UCAL_EXTENDED_YEAR</code>. <dl compact><dt><b><a class="el" href="stable.html#_stable002978">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="02fe23bf33319052733c00c7a09ea912fdf3076e740fbe439f89dd3214f0704b"></a><!-- doxytag: member="UCAL_DOW_LOCAL" ref="02fe23bf33319052733c00c7a09ea912fdf3076e740fbe439f89dd3214f0704b" args="" -->UCAL_DOW_LOCAL</em>&nbsp;</td><td>
Field number indicating the localized day of week. 
<p>
This will be a value from 1 to 7 inclusive, with 1 being the localized first day of the week. <dl compact><dt><b><a class="el" href="stable.html#_stable002979">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="02fe23bf33319052733c00c7a09ea9120612bde412d2c2ca9d3210937cc01f07"></a><!-- doxytag: member="UCAL_EXTENDED_YEAR" ref="02fe23bf33319052733c00c7a09ea9120612bde412d2c2ca9d3210937cc01f07" args="" -->UCAL_EXTENDED_YEAR</em>&nbsp;</td><td>
Year of this calendar system, encompassing all supra-year fields. 
<p>
For example, in Gregorian/Julian calendars, positive Extended Year values indicate years AD, 1 BC = 0 extended, 2 BC = -1 extended, and so on. <dl compact><dt><b><a class="el" href="stable.html#_stable002980">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="02fe23bf33319052733c00c7a09ea912747a5a465beccf87a42a91f7948d5518"></a><!-- doxytag: member="UCAL_JULIAN_DAY" ref="02fe23bf33319052733c00c7a09ea912747a5a465beccf87a42a91f7948d5518" args="" -->UCAL_JULIAN_DAY</em>&nbsp;</td><td>
Field number indicating the modified Julian day number. 
<p>
This is different from the conventional Julian day number in two regards. First, it demarcates days at local zone midnight, rather than noon GMT. Second, it is a local number; that is, it depends on the local time zone. It can be thought of as a single number that encompasses all the date-related fields. <dl compact><dt><b><a class="el" href="stable.html#_stable002981">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="02fe23bf33319052733c00c7a09ea912fc6b7fa25f397758f03ad799ff057ca1"></a><!-- doxytag: member="UCAL_MILLISECONDS_IN_DAY" ref="02fe23bf33319052733c00c7a09ea912fc6b7fa25f397758f03ad799ff057ca1" args="" -->UCAL_MILLISECONDS_IN_DAY</em>&nbsp;</td><td>
Ranges from 0 to 23:59:59.999 (regardless of DST). 
<p>
This field behaves <em>exactly</em> like a composite of all time-related fields, not including the zone fields. As such, it also reflects discontinuities of those fields on DST transition days. On a day of DST onset, it will jump forward. On a day of DST cessation, it will jump backward. This reflects the fact that it must be combined with the DST_OFFSET field to obtain a unique local time value. <dl compact><dt><b><a class="el" href="stable.html#_stable002982">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="02fe23bf33319052733c00c7a09ea912dbfdd6e6b1bc1be830c7f1ba29f2c68c"></a><!-- doxytag: member="UCAL_FIELD_COUNT" ref="02fe23bf33319052733c00c7a09ea912dbfdd6e6b1bc1be830c7f1ba29f2c68c" args="" -->UCAL_FIELD_COUNT</em>&nbsp;</td><td>
Field count. 
<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable002983">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td valign="top"><em><a class="anchor" name="02fe23bf33319052733c00c7a09ea912cba35fb282eacc2434e3229a3f64ef7e"></a><!-- doxytag: member="UCAL_DAY_OF_MONTH" ref="02fe23bf33319052733c00c7a09ea912cba35fb282eacc2434e3229a3f64ef7e" args="" -->UCAL_DAY_OF_MONTH</em>&nbsp;</td><td>
Field number indicating the day of the month. 
<p>
This is a synonym for <code>UCAL_DATE</code>. The first day of the month has value 1. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea9128086caf60ea1b9ca1f3ce590da84869e">UCAL_DATE</a> Synonym for <a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea9128086caf60ea1b9ca1f3ce590da84869e">UCAL_DATE</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002984">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>
</td></tr>
</table>
</dl>

<p>
Definition at line <a class="el" href="ucal_8h-source.html#l00164">164</a> of file <a class="el" href="ucal_8h-source.html">ucal.h</a>.
</div>
</div><p>
<a class="anchor" name="62d9fe551bd48e4141fce52b917119a4"></a><!-- doxytag: member="ucal.h::UCalendarDaysOfWeek" ref="62d9fe551bd48e4141fce52b917119a4" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="ucal_8h.html#62d9fe551bd48e4141fce52b917119a4">UCalendarDaysOfWeek</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Possible days of the week in a UCalendar. 
<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable002918">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="62d9fe551bd48e4141fce52b917119a49db1e73b33252ffcd5d5a4197b68f805"></a><!-- doxytag: member="UCAL_SUNDAY" ref="62d9fe551bd48e4141fce52b917119a49db1e73b33252ffcd5d5a4197b68f805" args="" -->UCAL_SUNDAY</em>&nbsp;</td><td>
Sunday. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="62d9fe551bd48e4141fce52b917119a45b068ab70005ef07850e561b57d6bdd7"></a><!-- doxytag: member="UCAL_MONDAY" ref="62d9fe551bd48e4141fce52b917119a45b068ab70005ef07850e561b57d6bdd7" args="" -->UCAL_MONDAY</em>&nbsp;</td><td>
Monday. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="62d9fe551bd48e4141fce52b917119a4b64dd41ed18baeb2b150537abe744300"></a><!-- doxytag: member="UCAL_TUESDAY" ref="62d9fe551bd48e4141fce52b917119a4b64dd41ed18baeb2b150537abe744300" args="" -->UCAL_TUESDAY</em>&nbsp;</td><td>
Tuesday. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="62d9fe551bd48e4141fce52b917119a415a79079833f1119c2ed93edf6b02c99"></a><!-- doxytag: member="UCAL_WEDNESDAY" ref="62d9fe551bd48e4141fce52b917119a415a79079833f1119c2ed93edf6b02c99" args="" -->UCAL_WEDNESDAY</em>&nbsp;</td><td>
Wednesday. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="62d9fe551bd48e4141fce52b917119a458049393d8ffb9b243ab7dd46b0b605a"></a><!-- doxytag: member="UCAL_THURSDAY" ref="62d9fe551bd48e4141fce52b917119a458049393d8ffb9b243ab7dd46b0b605a" args="" -->UCAL_THURSDAY</em>&nbsp;</td><td>
Thursday. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="62d9fe551bd48e4141fce52b917119a49ee63f42c2e84d0b6c743ca021097374"></a><!-- doxytag: member="UCAL_FRIDAY" ref="62d9fe551bd48e4141fce52b917119a49ee63f42c2e84d0b6c743ca021097374" args="" -->UCAL_FRIDAY</em>&nbsp;</td><td>
Friday. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="62d9fe551bd48e4141fce52b917119a4358e7ba575ccb0ef2b531ac7945cff2f"></a><!-- doxytag: member="UCAL_SATURDAY" ref="62d9fe551bd48e4141fce52b917119a4358e7ba575ccb0ef2b531ac7945cff2f" args="" -->UCAL_SATURDAY</em>&nbsp;</td><td>
Saturday. </td></tr>
</table>
</dl>

<p>
Definition at line <a class="el" href="ucal_8h-source.html#l00428">428</a> of file <a class="el" href="ucal_8h-source.html">ucal.h</a>.
</div>
</div><p>
<a class="anchor" name="e9370947c6da3c8ee5ee034307ac5d03"></a><!-- doxytag: member="ucal.h::UCalendarDisplayNameType" ref="e9370947c6da3c8ee5ee034307ac5d03" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="ucal_8h.html#e9370947c6da3c8ee5ee034307ac5d03">UCalendarDisplayNameType</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Possible formats for a UCalendar's display name. 
<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable002933">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="e9370947c6da3c8ee5ee034307ac5d0336a8a634859870566e8b5cc464ce2341"></a><!-- doxytag: member="UCAL_STANDARD" ref="e9370947c6da3c8ee5ee034307ac5d0336a8a634859870566e8b5cc464ce2341" args="" -->UCAL_STANDARD</em>&nbsp;</td><td>
Standard display name. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="e9370947c6da3c8ee5ee034307ac5d03842b1349f0d44070af11a2eef0351785"></a><!-- doxytag: member="UCAL_SHORT_STANDARD" ref="e9370947c6da3c8ee5ee034307ac5d03842b1349f0d44070af11a2eef0351785" args="" -->UCAL_SHORT_STANDARD</em>&nbsp;</td><td>
Short standard display name. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="e9370947c6da3c8ee5ee034307ac5d0389cff48ba2493249328e43c6e93505de"></a><!-- doxytag: member="UCAL_DST" ref="e9370947c6da3c8ee5ee034307ac5d0389cff48ba2493249328e43c6e93505de" args="" -->UCAL_DST</em>&nbsp;</td><td>
Daylight savings display name. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="e9370947c6da3c8ee5ee034307ac5d0350794c17996d69d2666ce6704dab3a2f"></a><!-- doxytag: member="UCAL_SHORT_DST" ref="e9370947c6da3c8ee5ee034307ac5d0350794c17996d69d2666ce6704dab3a2f" args="" -->UCAL_SHORT_DST</em>&nbsp;</td><td>
Short daylight savings display name. </td></tr>
</table>
</dl>

<p>
Definition at line <a class="el" href="ucal_8h-source.html#l00638">638</a> of file <a class="el" href="ucal_8h-source.html">ucal.h</a>.
</div>
</div><p>
<a class="anchor" name="6e54e12f217d36570b70fafcbb557ca5"></a><!-- doxytag: member="ucal.h::UCalendarLimitType" ref="6e54e12f217d36570b70fafcbb557ca5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="ucal_8h.html#6e54e12f217d36570b70fafcbb557ca5">UCalendarLimitType</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Possible limit values for a UCalendar. 
<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable002957">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="6e54e12f217d36570b70fafcbb557ca5a274d987e6cb730dc6711a378faa654d"></a><!-- doxytag: member="UCAL_MINIMUM" ref="6e54e12f217d36570b70fafcbb557ca5a274d987e6cb730dc6711a378faa654d" args="" -->UCAL_MINIMUM</em>&nbsp;</td><td>
Minimum value. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="6e54e12f217d36570b70fafcbb557ca5b80ad3ad8e6242e0c605d853432e3679"></a><!-- doxytag: member="UCAL_MAXIMUM" ref="6e54e12f217d36570b70fafcbb557ca5b80ad3ad8e6242e0c605d853432e3679" args="" -->UCAL_MAXIMUM</em>&nbsp;</td><td>
Maximum value. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="6e54e12f217d36570b70fafcbb557ca53db8def982b824fa3603182a5c82f4b3"></a><!-- doxytag: member="UCAL_GREATEST_MINIMUM" ref="6e54e12f217d36570b70fafcbb557ca53db8def982b824fa3603182a5c82f4b3" args="" -->UCAL_GREATEST_MINIMUM</em>&nbsp;</td><td>
Greatest minimum value. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="6e54e12f217d36570b70fafcbb557ca5cb2cdcd3fdff6dbec96db2e2d626ad7e"></a><!-- doxytag: member="UCAL_LEAST_MAXIMUM" ref="6e54e12f217d36570b70fafcbb557ca5cb2cdcd3fdff6dbec96db2e2d626ad7e" args="" -->UCAL_LEAST_MAXIMUM</em>&nbsp;</td><td>
Leaest maximum value. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="6e54e12f217d36570b70fafcbb557ca5255825275dfe67f2cd05171c98a0b619"></a><!-- doxytag: member="UCAL_ACTUAL_MINIMUM" ref="6e54e12f217d36570b70fafcbb557ca5255825275dfe67f2cd05171c98a0b619" args="" -->UCAL_ACTUAL_MINIMUM</em>&nbsp;</td><td>
Actual minimum value. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="6e54e12f217d36570b70fafcbb557ca50d12baa240dc171eed50cd2148a289e7"></a><!-- doxytag: member="UCAL_ACTUAL_MAXIMUM" ref="6e54e12f217d36570b70fafcbb557ca50d12baa240dc171eed50cd2148a289e7" args="" -->UCAL_ACTUAL_MAXIMUM</em>&nbsp;</td><td>
Actual maximum value. </td></tr>
</table>
</dl>

<p>
Definition at line <a class="el" href="ucal_8h-source.html#l01030">1030</a> of file <a class="el" href="ucal_8h-source.html">ucal.h</a>.
</div>
</div><p>
<a class="anchor" name="f13a67d4d259962e1840471f3a8e6596"></a><!-- doxytag: member="ucal.h::UCalendarMonths" ref="f13a67d4d259962e1840471f3a8e6596" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="ucal_8h.html#f13a67d4d259962e1840471f3a8e6596">UCalendarMonths</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Possible months in a UCalendar. 
<p>
Note: <a class="el" href="classCalendar.html">Calendar</a> month is 0-based. <dl compact><dt><b><a class="el" href="stable.html#_stable002920">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="f13a67d4d259962e1840471f3a8e6596d2803ac4940572b4d1fc390861d9759c"></a><!-- doxytag: member="UCAL_JANUARY" ref="f13a67d4d259962e1840471f3a8e6596d2803ac4940572b4d1fc390861d9759c" args="" -->UCAL_JANUARY</em>&nbsp;</td><td>
January. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="f13a67d4d259962e1840471f3a8e6596d9122013c38c7d414c6428fd4d9d8ad0"></a><!-- doxytag: member="UCAL_FEBRUARY" ref="f13a67d4d259962e1840471f3a8e6596d9122013c38c7d414c6428fd4d9d8ad0" args="" -->UCAL_FEBRUARY</em>&nbsp;</td><td>
February. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="f13a67d4d259962e1840471f3a8e6596f65658af9cb3b9b829ae218318d8c11b"></a><!-- doxytag: member="UCAL_MARCH" ref="f13a67d4d259962e1840471f3a8e6596f65658af9cb3b9b829ae218318d8c11b" args="" -->UCAL_MARCH</em>&nbsp;</td><td>
March. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="f13a67d4d259962e1840471f3a8e65965053c7488e7a8b39af59408377d40ed6"></a><!-- doxytag: member="UCAL_APRIL" ref="f13a67d4d259962e1840471f3a8e65965053c7488e7a8b39af59408377d40ed6" args="" -->UCAL_APRIL</em>&nbsp;</td><td>
April. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="f13a67d4d259962e1840471f3a8e65962c0d943daf44e035240e215d9d52b463"></a><!-- doxytag: member="UCAL_MAY" ref="f13a67d4d259962e1840471f3a8e65962c0d943daf44e035240e215d9d52b463" args="" -->UCAL_MAY</em>&nbsp;</td><td>
May. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="f13a67d4d259962e1840471f3a8e659661e354d2e762e2f65cc2241f3860cff8"></a><!-- doxytag: member="UCAL_JUNE" ref="f13a67d4d259962e1840471f3a8e659661e354d2e762e2f65cc2241f3860cff8" args="" -->UCAL_JUNE</em>&nbsp;</td><td>
June. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="f13a67d4d259962e1840471f3a8e65968ca4ce198fa1ea4285d2a2198d418ba5"></a><!-- doxytag: member="UCAL_JULY" ref="f13a67d4d259962e1840471f3a8e65968ca4ce198fa1ea4285d2a2198d418ba5" args="" -->UCAL_JULY</em>&nbsp;</td><td>
July. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="f13a67d4d259962e1840471f3a8e6596892d007d133f3d5d07831fe621b0597b"></a><!-- doxytag: member="UCAL_AUGUST" ref="f13a67d4d259962e1840471f3a8e6596892d007d133f3d5d07831fe621b0597b" args="" -->UCAL_AUGUST</em>&nbsp;</td><td>
August. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="f13a67d4d259962e1840471f3a8e6596b0540bee00a697ff57961d1bd58f67da"></a><!-- doxytag: member="UCAL_SEPTEMBER" ref="f13a67d4d259962e1840471f3a8e6596b0540bee00a697ff57961d1bd58f67da" args="" -->UCAL_SEPTEMBER</em>&nbsp;</td><td>
September. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="f13a67d4d259962e1840471f3a8e6596fcc006296cc7b9b3b04c9a26c44181c5"></a><!-- doxytag: member="UCAL_OCTOBER" ref="f13a67d4d259962e1840471f3a8e6596fcc006296cc7b9b3b04c9a26c44181c5" args="" -->UCAL_OCTOBER</em>&nbsp;</td><td>
October. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="f13a67d4d259962e1840471f3a8e65965bf40eb18049fa52944f56f73a56d5a4"></a><!-- doxytag: member="UCAL_NOVEMBER" ref="f13a67d4d259962e1840471f3a8e65965bf40eb18049fa52944f56f73a56d5a4" args="" -->UCAL_NOVEMBER</em>&nbsp;</td><td>
November. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="f13a67d4d259962e1840471f3a8e65961f72a7edd4372272ab30f84670cd763b"></a><!-- doxytag: member="UCAL_DECEMBER" ref="f13a67d4d259962e1840471f3a8e65961f72a7edd4372272ab30f84670cd763b" args="" -->UCAL_DECEMBER</em>&nbsp;</td><td>
December. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="f13a67d4d259962e1840471f3a8e65962ee2afdd3972c479165f030634645ab6"></a><!-- doxytag: member="UCAL_UNDECIMBER" ref="f13a67d4d259962e1840471f3a8e65962ee2afdd3972c479165f030634645ab6" args="" -->UCAL_UNDECIMBER</em>&nbsp;</td><td>
Value of the <code>UCAL_MONTH</code> field indicating the thirteenth month of the year. 
<p>
Although the Gregorian calendar does not use this value, lunar calendars do. </td></tr>
</table>
</dl>

<p>
Definition at line <a class="el" href="ucal_8h-source.html#l00451">451</a> of file <a class="el" href="ucal_8h-source.html">ucal.h</a>.
</div>
</div><p>
<a class="anchor" name="80db55a10d0808a9f9b61e105b9d32fb"></a><!-- doxytag: member="ucal.h::UCalendarType" ref="80db55a10d0808a9f9b61e105b9d32fb" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="ucal_8h.html#80db55a10d0808a9f9b61e105b9d32fb">UCalendarType</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Possible types of UCalendars. 
<p>
<dl compact><dt><b><a class="el" href="stable.html#_stable002914">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
<dl compact><dt><b>Enumerator: </b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" name="80db55a10d0808a9f9b61e105b9d32fbf40f59ee818a37ecfa599e89eb0c334d"></a><!-- doxytag: member="UCAL_TRADITIONAL" ref="80db55a10d0808a9f9b61e105b9d32fbf40f59ee818a37ecfa599e89eb0c334d" args="" -->UCAL_TRADITIONAL</em>&nbsp;</td><td>
A traditional calendar for the locale. </td></tr>
<tr><td valign="top"><em><a class="anchor" name="80db55a10d0808a9f9b61e105b9d32fb164278e20451a4f30269beac1a7ee3f3"></a><!-- doxytag: member="UCAL_GREGORIAN" ref="80db55a10d0808a9f9b61e105b9d32fb164278e20451a4f30269beac1a7ee3f3" args="" -->UCAL_GREGORIAN</em>&nbsp;</td><td>
The Gregorian calendar. </td></tr>
</table>
</dl>

<p>
Definition at line <a class="el" href="ucal_8h-source.html#l00151">151</a> of file <a class="el" href="ucal_8h-source.html">ucal.h</a>.
</div>
</div><p>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="764bd099486548c088bfe3356a713e0f"></a><!-- doxytag: member="ucal.h::ucal_add" ref="764bd099486548c088bfe3356a713e0f" args="(UCalendar *cal, UCalendarDateFields field, int32_t amount, UErrorCode *status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ucal_add           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&nbsp;</td>
          <td class="paramname"> <em>cal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&nbsp;</td>
          <td class="paramname"> <em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>amount</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Add a specified signed amount to a particular field in a UCalendar. 
<p>
This can modify more significant fields in the calendar. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>cal</em>&nbsp;</td><td>The UCalendar to which to add. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>The field to which to add the signed value; one of UCAL_ERA, UCAL_YEAR, UCAL_MONTH, UCAL_WEEK_OF_YEAR, UCAL_WEEK_OF_MONTH, UCAL_DATE, UCAL_DAY_OF_YEAR, UCAL_DAY_OF_WEEK, UCAL_DAY_OF_WEEK_IN_MONTH, UCAL_AM_PM, UCAL_HOUR, UCAL_HOUR_OF_DAY, UCAL_MINUTE, UCAL_SECOND, UCAL_MILLISECOND, UCAL_ZONE_OFFSET, UCAL_DST_OFFSET. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>amount</em>&nbsp;</td><td>The signed amount to add to field. If the amount causes the value to exceed to maximum or minimum values for that field, other fields are modified to preserve the magnitude of the change. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>A pointer to an UErrorCode to receive any errors </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="ucal_8h.html#8b72b685f1c8d5decadaf32b22b51a2d">ucal_roll</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002950">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="434b8c72e2c22018caa3a04a328ad193"></a><!-- doxytag: member="ucal.h::ucal_clear" ref="434b8c72e2c22018caa3a04a328ad193" args="(UCalendar *calendar)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ucal_clear           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&nbsp;</td>
          <td class="paramname"> <em>calendar</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Clear all fields in a UCalendar. 
<p>
All fields are represented as 32-bit integers. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>calendar</em>&nbsp;</td><td>The UCalendar to clear. </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="ucal_8h.html#61fc6f963b0cc02d97a26317d1c363be">ucal_get</a> <p>
<a class="el" href="ucal_8h.html#e7652b5273a7de51cd6d2f24927a765a">ucal_set</a> <p>
<a class="el" href="ucal_8h.html#cfcbb957b9cea4531d541a8985ab63ce">ucal_isSet</a> <p>
<a class="el" href="ucal_8h.html#e76331aadf36b244b2ab1ad5e4929be7">ucal_clearField</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002956">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="e76331aadf36b244b2ab1ad5e4929be7"></a><!-- doxytag: member="ucal.h::ucal_clearField" ref="e76331aadf36b244b2ab1ad5e4929be7" args="(UCalendar *cal, UCalendarDateFields field)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ucal_clearField           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&nbsp;</td>
          <td class="paramname"> <em>cal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&nbsp;</td>
          <td class="paramname"> <em>field</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Clear a field in a UCalendar. 
<p>
All fields are represented as 32-bit integers. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>cal</em>&nbsp;</td><td>The UCalendar containing the field to clear. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>The field to clear; one of UCAL_ERA, UCAL_YEAR, UCAL_MONTH, UCAL_WEEK_OF_YEAR, UCAL_WEEK_OF_MONTH, UCAL_DATE, UCAL_DAY_OF_YEAR, UCAL_DAY_OF_WEEK, UCAL_DAY_OF_WEEK_IN_MONTH, UCAL_AM_PM, UCAL_HOUR, UCAL_HOUR_OF_DAY, UCAL_MINUTE, UCAL_SECOND, UCAL_MILLISECOND, UCAL_ZONE_OFFSET, UCAL_DST_OFFSET. </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="ucal_8h.html#61fc6f963b0cc02d97a26317d1c363be">ucal_get</a> <p>
<a class="el" href="ucal_8h.html#e7652b5273a7de51cd6d2f24927a765a">ucal_set</a> <p>
<a class="el" href="ucal_8h.html#cfcbb957b9cea4531d541a8985ab63ce">ucal_isSet</a> <p>
<a class="el" href="ucal_8h.html#434b8c72e2c22018caa3a04a328ad193">ucal_clear</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002955">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="e4402ac532c51fd6206f93fdc51b1dea"></a><!-- doxytag: member="ucal.h::ucal_close" ref="e4402ac532c51fd6206f93fdc51b1dea" args="(UCalendar *cal)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ucal_close           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&nbsp;</td>
          <td class="paramname"> <em>cal</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Close a UCalendar. 
<p>
Once closed, a UCalendar may no longer be used. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>cal</em>&nbsp;</td><td>The UCalendar to close. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002931">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="bb607b7866f13a0330e62ad86049275f"></a><!-- doxytag: member="ucal.h::ucal_countAvailable" ref="bb607b7866f13a0330e62ad86049275f" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> ucal_countAvailable           </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Determine how many locales have calendars available. 
<p>
This function is most useful as determining the loop ending condition for calls to <a class="el" href="ucal_8h.html#6ca83f70f0a49492ba3ec72db3d6e178">ucal_getAvailable</a>. <dl class="return" compact><dt><b>Returns:</b></dt><dd>The number of locales for which calendars are available. </dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="ucal_8h.html#6ca83f70f0a49492ba3ec72db3d6e178">ucal_getAvailable</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002944">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="4a978d3bd77eb69b173df4c0f07fb619"></a><!-- doxytag: member="ucal.h::ucal_equivalentTo" ref="4a978d3bd77eb69b173df4c0f07fb619" args="(const UCalendar *cal1, const UCalendar *cal2)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> ucal_equivalentTo           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&nbsp;</td>
          <td class="paramname"> <em>cal1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&nbsp;</td>
          <td class="paramname"> <em>cal2</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns TRUE if two UCalendars are equivalent. 
<p>
Equivalent UCalendars will behave identically, but they may be set to different times. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>cal1</em>&nbsp;</td><td>The first of the UCalendars to compare. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>cal2</em>&nbsp;</td><td>The second of the UCalendars to compare. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>TRUE if cal1 and cal2 are equivalent, FALSE otherwise. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002949">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="61fc6f963b0cc02d97a26317d1c363be"></a><!-- doxytag: member="ucal.h::ucal_get" ref="61fc6f963b0cc02d97a26317d1c363be" args="(const UCalendar *cal, UCalendarDateFields field, UErrorCode *status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> ucal_get           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&nbsp;</td>
          <td class="paramname"> <em>cal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&nbsp;</td>
          <td class="paramname"> <em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the current value of a field from a UCalendar. 
<p>
All fields are represented as 32-bit integers. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>cal</em>&nbsp;</td><td>The UCalendar to query. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>The desired field; one of UCAL_ERA, UCAL_YEAR, UCAL_MONTH, UCAL_WEEK_OF_YEAR, UCAL_WEEK_OF_MONTH, UCAL_DATE, UCAL_DAY_OF_YEAR, UCAL_DAY_OF_WEEK, UCAL_DAY_OF_WEEK_IN_MONTH, UCAL_AM_PM, UCAL_HOUR, UCAL_HOUR_OF_DAY, UCAL_MINUTE, UCAL_SECOND, UCAL_MILLISECOND, UCAL_ZONE_OFFSET, UCAL_DST_OFFSET. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>A pointer to an UErrorCode to receive any errors </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The value of the desired field. </dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="ucal_8h.html#e7652b5273a7de51cd6d2f24927a765a">ucal_set</a> <p>
<a class="el" href="ucal_8h.html#cfcbb957b9cea4531d541a8985ab63ce">ucal_isSet</a> <p>
<a class="el" href="ucal_8h.html#e76331aadf36b244b2ab1ad5e4929be7">ucal_clearField</a> <p>
<a class="el" href="ucal_8h.html#434b8c72e2c22018caa3a04a328ad193">ucal_clear</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002952">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="e38dffa3217680e56e30e5d1bca673ab"></a><!-- doxytag: member="ucal.h::ucal_getAttribute" ref="e38dffa3217680e56e30e5d1bca673ab" args="(const UCalendar *cal, UCalendarAttribute attr)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> ucal_getAttribute           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&nbsp;</td>
          <td class="paramname"> <em>cal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#27f00939dd2931f252c5bc6409b83227">UCalendarAttribute</a>&nbsp;</td>
          <td class="paramname"> <em>attr</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get a numeric attribute associated with a UCalendar. 
<p>
Numeric attributes include the first day of the week, or the minimal numbers of days in the first week of the month. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>cal</em>&nbsp;</td><td>The UCalendar to query. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>attr</em>&nbsp;</td><td>The desired attribute; one of UCAL_LENIENT, UCAL_FIRST_DAY_OF_WEEK, or UCAL_MINIMAL_DAYS_IN_FIRST_WEEK </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The value of attr. </dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="ucal_8h.html#b8e316b5587dc752a9f87ab7f1423af5">ucal_setAttribute</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002941">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="6ca83f70f0a49492ba3ec72db3d6e178"></a><!-- doxytag: member="ucal.h::ucal_getAvailable" ref="6ca83f70f0a49492ba3ec72db3d6e178" args="(int32_t index)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* ucal_getAvailable           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>index</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get a locale for which calendars are available. 
<p>
A UCalendar in a locale returned by this function will contain the correct day and month names for the locale. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>index</em>&nbsp;</td><td>The index of the desired locale. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A locale for which calendars are available, or 0 if none. </dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="ucal_8h.html#bb607b7866f13a0330e62ad86049275f">ucal_countAvailable</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002943">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="c5243211dec55651f308c34a011eb337"></a><!-- doxytag: member="ucal.h::ucal_getDefaultTimeZone" ref="c5243211dec55651f308c34a011eb337" args="(UChar *result, int32_t resultCapacity, UErrorCode *ec)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> ucal_getDefaultTimeZone           </td>
          <td>(</td>
          <td class="paramtype">UChar *&nbsp;</td>
          <td class="paramname"> <em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>resultCapacity</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&nbsp;</td>
          <td class="paramname"> <em>ec</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the default time zone. 
<p>
The default is determined initially by querying the host operating system. It may be changed with <a class="el" href="ucal_8h.html#2544550264fccc52c97b53a2febf29cb">ucal_setDefaultTimeZone()</a> or with the C++ <a class="el" href="classTimeZone.html">TimeZone</a> API.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>result</em>&nbsp;</td><td>A buffer to receive the result, or NULL</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>resultCapacity</em>&nbsp;</td><td>The capacity of the result buffer</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>ec</em>&nbsp;</td><td>input/output error code</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The result string length, not including the terminating null</dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002926">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

</div>
</div><p>
<a class="anchor" name="3907928a0963ad035a221f6feb4f62cd"></a><!-- doxytag: member="ucal.h::ucal_getDSTSavings" ref="3907928a0963ad035a221f6feb4f62cd" args="(const UChar *zoneID, UErrorCode *ec)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> ucal_getDSTSavings           </td>
          <td>(</td>
          <td class="paramtype">const UChar *&nbsp;</td>
          <td class="paramname"> <em>zoneID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&nbsp;</td>
          <td class="paramname"> <em>ec</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the amount of time in milliseconds that the clock is advanced during daylight savings time for the given time zone, or zero if the time zone does not observe daylight savings time. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>zoneID</em>&nbsp;</td><td>null-terminated time zone ID</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>ec</em>&nbsp;</td><td>input/output error code</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the number of milliseconds the time is advanced with respect to standard time when the daylight savings rules are in effect. This is always a non-negative number, most commonly either 3,600,000 (one hour) or zero.</dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002928">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

</div>
</div><p>
<a class="anchor" name="c6f9d60d827a403bb3d50accdd9027da"></a><!-- doxytag: member="ucal.h::ucal_getGregorianChange" ref="c6f9d60d827a403bb3d50accdd9027da" args="(const UCalendar *cal, UErrorCode *pErrorCode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a> ucal_getGregorianChange           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&nbsp;</td>
          <td class="paramname"> <em>cal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&nbsp;</td>
          <td class="paramname"> <em>pErrorCode</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Gets the Gregorian <a class="el" href="classCalendar.html">Calendar</a> change date. 
<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>
This function works only for Gregorian calendars. If the UCalendar is not an instance of a Gregorian calendar, then a U_UNSUPPORTED_ERROR error code is set.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>cal</em>&nbsp;</td><td>The calendar object. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pErrorCode</em>&nbsp;</td><td>Pointer to a standard ICU error code. Its input value must pass the <a class="el" href="utypes_8h.html#527f2c69e6b2e3b2c53ad8a99fb36711">U_SUCCESS()</a> test, or else the function returns immediately. Check for <a class="el" href="utypes_8h.html#4d202200b6aa6f3c965ea370e0c8155f">U_FAILURE()</a> on output or use with function chaining. (See User Guide for details.) </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The Gregorian cutover time for this calendar.</dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classGregorianCalendar.html#3e038439da10df6dec13fc500f2b54b5">GregorianCalendar::getGregorianChange</a> <p>
<a class="el" href="ucal_8h.html#8b0c9820b1d2ccc6fc499766f9867aad">ucal_setGregorianChange</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002938">Stable:</a></b></dt><dd>ICU 3.6 </dd></dl>

</div>
</div><p>
<a class="anchor" name="5f43bd7f846d9dbc94a9a46af26e7ab7"></a><!-- doxytag: member="ucal.h::ucal_getLimit" ref="5f43bd7f846d9dbc94a9a46af26e7ab7" args="(const UCalendar *cal, UCalendarDateFields field, UCalendarLimitType type, UErrorCode *status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> ucal_getLimit           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&nbsp;</td>
          <td class="paramname"> <em>cal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&nbsp;</td>
          <td class="paramname"> <em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#6e54e12f217d36570b70fafcbb557ca5">UCalendarLimitType</a>&nbsp;</td>
          <td class="paramname"> <em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Determine a limit for a field in a UCalendar. 
<p>
A limit is a maximum or minimum value for a field. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>cal</em>&nbsp;</td><td>The UCalendar to query. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>The desired field; one of UCAL_ERA, UCAL_YEAR, UCAL_MONTH, UCAL_WEEK_OF_YEAR, UCAL_WEEK_OF_MONTH, UCAL_DATE, UCAL_DAY_OF_YEAR, UCAL_DAY_OF_WEEK, UCAL_DAY_OF_WEEK_IN_MONTH, UCAL_AM_PM, UCAL_HOUR, UCAL_HOUR_OF_DAY, UCAL_MINUTE, UCAL_SECOND, UCAL_MILLISECOND, UCAL_ZONE_OFFSET, UCAL_DST_OFFSET. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>type</em>&nbsp;</td><td>The desired critical point; one of UCAL_MINIMUM, UCAL_MAXIMUM, UCAL_GREATEST_MINIMUM, UCAL_LEAST_MAXIMUM, UCAL_ACTUAL_MINIMUM, UCAL_ACTUAL_MAXIMUM </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>A pointer to an UErrorCode to receive any errors. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The requested value. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002959">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="d487ddaaac28a622ae2b3cf2383fd3ae"></a><!-- doxytag: member="ucal.h::ucal_getLocaleByType" ref="d487ddaaac28a622ae2b3cf2383fd3ae" args="(const UCalendar *cal, ULocDataLocaleType type, UErrorCode *status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* ucal_getLocaleByType           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&nbsp;</td>
          <td class="paramname"> <em>cal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="uloc_8h.html#df053345d343f8d82ae080f7a5871f34">ULocDataLocaleType</a>&nbsp;</td>
          <td class="paramname"> <em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

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

</div>
</div><p>
<a class="anchor" name="533d4cbb14bcea658867cc19dbf117e7"></a><!-- doxytag: member="ucal.h::ucal_getMillis" ref="533d4cbb14bcea658867cc19dbf117e7" args="(const UCalendar *cal, UErrorCode *status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a> ucal_getMillis           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&nbsp;</td>
          <td class="paramname"> <em>cal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get a UCalendar's current time in millis. 
<p>
The time is represented as milliseconds from the epoch. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>cal</em>&nbsp;</td><td>The UCalendar to query. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>A pointer to an UErrorCode to receive any errors </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The calendar's current time in millis. </dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="ucal_8h.html#54e866c1e202544059e92d1ce7cd8853">ucal_setMillis</a> <p>
<a class="el" href="ucal_8h.html#cca7f62f6e8eb75cabf2dd9f0778f7b4">ucal_setDate</a> <p>
<a class="el" href="ucal_8h.html#8810072e357d43f6d9d4a792ff0be93e">ucal_setDateTime</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002945">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

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

<p>
Get the current date and time. 
<p>
The value returned is represented as milliseconds from the epoch. <dl class="return" compact><dt><b>Returns:</b></dt><dd>The current date and time. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002929">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="ea22f4437959a297c21793281caea68a"></a><!-- doxytag: member="ucal.h::ucal_getTimeZoneDisplayName" ref="ea22f4437959a297c21793281caea68a" args="(const UCalendar *cal, UCalendarDisplayNameType type, const char *locale, UChar *result, int32_t resultLength, UErrorCode *status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a> ucal_getTimeZoneDisplayName           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&nbsp;</td>
          <td class="paramname"> <em>cal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#e9370947c6da3c8ee5ee034307ac5d03">UCalendarDisplayNameType</a>&nbsp;</td>
          <td class="paramname"> <em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>locale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UChar *&nbsp;</td>
          <td class="paramname"> <em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>resultLength</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get the display name for a UCalendar's <a class="el" href="classTimeZone.html">TimeZone</a>. 
<p>
A display name is suitable for presentation to a user. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>cal</em>&nbsp;</td><td>The UCalendar to query. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>type</em>&nbsp;</td><td>The desired display name format; one of UCAL_STANDARD, UCAL_SHORT_STANDARD, UCAL_DST, UCAL_SHORT_DST </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>locale</em>&nbsp;</td><td>The desired locale for the display name. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>result</em>&nbsp;</td><td>A pointer to a buffer to receive the formatted number. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>resultLength</em>&nbsp;</td><td>The maximum size of result. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>A pointer to an UErrorCode to receive any errors </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The total buffer size needed; if greater than resultLength, the output was truncated. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002935">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="0ad2dccc88f8b7017d039f1b68ba8996"></a><!-- doxytag: member="ucal.h::ucal_getTZDataVersion" ref="0ad2dccc88f8b7017d039f1b68ba8996" args="(UErrorCode *status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* ucal_getTZDataVersion           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the timezone data version currently used by ICU. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>error code for the operation </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>the version string, such as "2007f" </dd></dl>
<dl compact><dt><b><a class="el" href="draft.html#_draft000209">Draft:</a></b></dt><dd>This API may be changed in the future versions and was introduced in ICU 3.8 </dd></dl>

</div>
</div><p>
<a class="anchor" name="0894e66c0e54efaee7d7a74769ef7768"></a><!-- doxytag: member="ucal.h::ucal_inDaylightTime" ref="0894e66c0e54efaee7d7a74769ef7768" args="(const UCalendar *cal, UErrorCode *status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> ucal_inDaylightTime           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&nbsp;</td>
          <td class="paramname"> <em>cal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Determine if a UCalendar is currently in daylight savings time. 
<p>
Daylight savings time is not used in all parts of the world. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>cal</em>&nbsp;</td><td>The UCalendar to query. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>A pointer to an UErrorCode to receive any errors </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>TRUE if cal is currently in daylight savings time, FALSE otherwise </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002936">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="cfcbb957b9cea4531d541a8985ab63ce"></a><!-- doxytag: member="ucal.h::ucal_isSet" ref="cfcbb957b9cea4531d541a8985ab63ce" args="(const UCalendar *cal, UCalendarDateFields field)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#349ef00011f20ccd1d3b424445681aa5">UBool</a> ucal_isSet           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&nbsp;</td>
          <td class="paramname"> <em>cal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&nbsp;</td>
          <td class="paramname"> <em>field</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Determine if a field in a UCalendar is set. 
<p>
All fields are represented as 32-bit integers. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>cal</em>&nbsp;</td><td>The UCalendar to query. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>The desired field; one of UCAL_ERA, UCAL_YEAR, UCAL_MONTH, UCAL_WEEK_OF_YEAR, UCAL_WEEK_OF_MONTH, UCAL_DATE, UCAL_DAY_OF_YEAR, UCAL_DAY_OF_WEEK, UCAL_DAY_OF_WEEK_IN_MONTH, UCAL_AM_PM, UCAL_HOUR, UCAL_HOUR_OF_DAY, UCAL_MINUTE, UCAL_SECOND, UCAL_MILLISECOND, UCAL_ZONE_OFFSET, UCAL_DST_OFFSET. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>TRUE if field is set, FALSE otherwise. </dd></dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="ucal_8h.html#61fc6f963b0cc02d97a26317d1c363be">ucal_get</a> <p>
<a class="el" href="ucal_8h.html#e7652b5273a7de51cd6d2f24927a765a">ucal_set</a> <p>
<a class="el" href="ucal_8h.html#e76331aadf36b244b2ab1ad5e4929be7">ucal_clearField</a> <p>
<a class="el" href="ucal_8h.html#434b8c72e2c22018caa3a04a328ad193">ucal_clear</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002954">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="c9d3d4893f5b22a90edff24bedaf361c"></a><!-- doxytag: member="ucal.h::ucal_open" ref="c9d3d4893f5b22a90edff24bedaf361c" args="(const UChar *zoneID, int32_t len, const char *locale, UCalendarType type, UErrorCode *status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a>* ucal_open           </td>
          <td>(</td>
          <td class="paramtype">const UChar *&nbsp;</td>
          <td class="paramname"> <em>zoneID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>locale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#80db55a10d0808a9f9b61e105b9d32fb">UCalendarType</a>&nbsp;</td>
          <td class="paramname"> <em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Open a UCalendar. 
<p>
A UCalendar may be used to convert a millisecond value to a year, month, and day. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>zoneID</em>&nbsp;</td><td>The desired <a class="el" href="classTimeZone.html">TimeZone</a> ID. If 0, use the default time zone. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>len</em>&nbsp;</td><td>The length of zoneID, or -1 if null-terminated. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>locale</em>&nbsp;</td><td>The desired locale </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>type</em>&nbsp;</td><td>The type of UCalendar to open. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>A pointer to an UErrorCode to receive any errors </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A pointer to a UCalendar, or 0 if an error occurred. </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002930">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="cac88ce8fa1cfb5585d1db7d93566fea"></a><!-- doxytag: member="ucal.h::ucal_openCountryTimeZones" ref="cac88ce8fa1cfb5585d1db7d93566fea" args="(const char *country, UErrorCode *ec)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="uenum_8h.html#32b7253b2148022535be36a9fcdb5a8d">UEnumeration</a>* ucal_openCountryTimeZones           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>country</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&nbsp;</td>
          <td class="paramname"> <em>ec</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create an enumeration over all time zones associated with the given country. 
<p>
Some zones are affiliated with no country (e.g., "UTC"); these may also be retrieved, as a group.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>country</em>&nbsp;</td><td>the ISO 3166 two-letter country code, or NULL to retrieve zones not affiliated with any country</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>ec</em>&nbsp;</td><td>input/output error code</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>an enumeration object that the caller must dispose of using <a class="el" href="uenum_8h.html#f8bf1abcf3a486f07ee3384c7fce89df">uenum_close()</a>, or NULL upon failure. In case of failure *ec will indicate the error.</dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002925">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

</div>
</div><p>
<a class="anchor" name="bbc29eb77035c731c6c5d18b77733069"></a><!-- doxytag: member="ucal.h::ucal_openTimeZones" ref="bbc29eb77035c731c6c5d18b77733069" args="(UErrorCode *ec)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="uenum_8h.html#32b7253b2148022535be36a9fcdb5a8d">UEnumeration</a>* ucal_openTimeZones           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&nbsp;</td>
          <td class="paramname"> <em>ec</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create an enumeration over all time zones. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>ec</em>&nbsp;</td><td>input/output error code</td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>an enumeration object that the caller must dispose of using <a class="el" href="uenum_8h.html#f8bf1abcf3a486f07ee3384c7fce89df">uenum_close()</a>, or NULL upon failure. In case of failure *ec will indicate the error.</dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002924">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

</div>
</div><p>
<a class="anchor" name="8b72b685f1c8d5decadaf32b22b51a2d"></a><!-- doxytag: member="ucal.h::ucal_roll" ref="8b72b685f1c8d5decadaf32b22b51a2d" args="(UCalendar *cal, UCalendarDateFields field, int32_t amount, UErrorCode *status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ucal_roll           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&nbsp;</td>
          <td class="paramname"> <em>cal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&nbsp;</td>
          <td class="paramname"> <em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>amount</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Add a specified signed amount to a particular field in a UCalendar. 
<p>
This will not modify more significant fields in the calendar. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>cal</em>&nbsp;</td><td>The UCalendar to which to add. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>The field to which to add the signed value; one of UCAL_ERA, UCAL_YEAR, UCAL_MONTH, UCAL_WEEK_OF_YEAR, UCAL_WEEK_OF_MONTH, UCAL_DATE, UCAL_DAY_OF_YEAR, UCAL_DAY_OF_WEEK, UCAL_DAY_OF_WEEK_IN_MONTH, UCAL_AM_PM, UCAL_HOUR, UCAL_HOUR_OF_DAY, UCAL_MINUTE, UCAL_SECOND, UCAL_MILLISECOND, UCAL_ZONE_OFFSET, UCAL_DST_OFFSET. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>amount</em>&nbsp;</td><td>The signed amount to add to field. If the amount causes the value to exceed to maximum or minimum values for that field, the field is pinned to a permissible value. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>A pointer to an UErrorCode to receive any errors </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="ucal_8h.html#764bd099486548c088bfe3356a713e0f">ucal_add</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002951">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

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

<p>
Set the value of a field in a UCalendar. 
<p>
All fields are represented as 32-bit integers. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>cal</em>&nbsp;</td><td>The UCalendar to set. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>field</em>&nbsp;</td><td>The field to set; one of UCAL_ERA, UCAL_YEAR, UCAL_MONTH, UCAL_WEEK_OF_YEAR, UCAL_WEEK_OF_MONTH, UCAL_DATE, UCAL_DAY_OF_YEAR, UCAL_DAY_OF_WEEK, UCAL_DAY_OF_WEEK_IN_MONTH, UCAL_AM_PM, UCAL_HOUR, UCAL_HOUR_OF_DAY, UCAL_MINUTE, UCAL_SECOND, UCAL_MILLISECOND, UCAL_ZONE_OFFSET, UCAL_DST_OFFSET. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>value</em>&nbsp;</td><td>The desired value of field. </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="ucal_8h.html#61fc6f963b0cc02d97a26317d1c363be">ucal_get</a> <p>
<a class="el" href="ucal_8h.html#cfcbb957b9cea4531d541a8985ab63ce">ucal_isSet</a> <p>
<a class="el" href="ucal_8h.html#e76331aadf36b244b2ab1ad5e4929be7">ucal_clearField</a> <p>
<a class="el" href="ucal_8h.html#434b8c72e2c22018caa3a04a328ad193">ucal_clear</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002953">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="b8e316b5587dc752a9f87ab7f1423af5"></a><!-- doxytag: member="ucal.h::ucal_setAttribute" ref="b8e316b5587dc752a9f87ab7f1423af5" args="(UCalendar *cal, UCalendarAttribute attr, int32_t newValue)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ucal_setAttribute           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&nbsp;</td>
          <td class="paramname"> <em>cal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#27f00939dd2931f252c5bc6409b83227">UCalendarAttribute</a>&nbsp;</td>
          <td class="paramname"> <em>attr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>newValue</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set a numeric attribute associated with a UCalendar. 
<p>
Numeric attributes include the first day of the week, or the minimal numbers of days in the first week of the month. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>cal</em>&nbsp;</td><td>The UCalendar to set. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>attr</em>&nbsp;</td><td>The desired attribute; one of UCAL_LENIENT, UCAL_FIRST_DAY_OF_WEEK, or UCAL_MINIMAL_DAYS_IN_FIRST_WEEK </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>newValue</em>&nbsp;</td><td>The new value of attr. </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="ucal_8h.html#e38dffa3217680e56e30e5d1bca673ab">ucal_getAttribute</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002942">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="cca7f62f6e8eb75cabf2dd9f0778f7b4"></a><!-- doxytag: member="ucal.h::ucal_setDate" ref="cca7f62f6e8eb75cabf2dd9f0778f7b4" args="(UCalendar *cal, int32_t year, int32_t month, int32_t date, UErrorCode *status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ucal_setDate           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&nbsp;</td>
          <td class="paramname"> <em>cal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>year</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>month</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>date</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set a UCalendar's current date. 
<p>
The date is represented as a series of 32-bit integers. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>cal</em>&nbsp;</td><td>The UCalendar to set. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>year</em>&nbsp;</td><td>The desired year. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>month</em>&nbsp;</td><td>The desired month; one of UCAL_JANUARY, UCAL_FEBRUARY, UCAL_MARCH, UCAL_APRIL, UCAL_MAY, UCAL_JUNE, UCAL_JULY, UCAL_AUGUST, UCAL_SEPTEMBER, UCAL_OCTOBER, UCAL_NOVEMBER, UCAL_DECEMBER, UCAL_UNDECIMBER </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>date</em>&nbsp;</td><td>The desired day of the month. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>A pointer to an UErrorCode to receive any errors </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="ucal_8h.html#533d4cbb14bcea658867cc19dbf117e7">ucal_getMillis</a> <p>
<a class="el" href="ucal_8h.html#54e866c1e202544059e92d1ce7cd8853">ucal_setMillis</a> <p>
<a class="el" href="ucal_8h.html#8810072e357d43f6d9d4a792ff0be93e">ucal_setDateTime</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002947">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="8810072e357d43f6d9d4a792ff0be93e"></a><!-- doxytag: member="ucal.h::ucal_setDateTime" ref="8810072e357d43f6d9d4a792ff0be93e" args="(UCalendar *cal, int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute, int32_t second, UErrorCode *status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ucal_setDateTime           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&nbsp;</td>
          <td class="paramname"> <em>cal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>year</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>month</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>date</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>hour</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>minute</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>second</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set a UCalendar's current date. 
<p>
The date is represented as a series of 32-bit integers. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>cal</em>&nbsp;</td><td>The UCalendar to set. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>year</em>&nbsp;</td><td>The desired year. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>month</em>&nbsp;</td><td>The desired month; one of UCAL_JANUARY, UCAL_FEBRUARY, UCAL_MARCH, UCAL_APRIL, UCAL_MAY, UCAL_JUNE, UCAL_JULY, UCAL_AUGUST, UCAL_SEPTEMBER, UCAL_OCTOBER, UCAL_NOVEMBER, UCAL_DECEMBER, UCAL_UNDECIMBER </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>date</em>&nbsp;</td><td>The desired day of the month. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>hour</em>&nbsp;</td><td>The desired hour of day. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>minute</em>&nbsp;</td><td>The desired minute. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>second</em>&nbsp;</td><td>The desirec second. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>A pointer to an UErrorCode to receive any errors </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="ucal_8h.html#533d4cbb14bcea658867cc19dbf117e7">ucal_getMillis</a> <p>
<a class="el" href="ucal_8h.html#54e866c1e202544059e92d1ce7cd8853">ucal_setMillis</a> <p>
<a class="el" href="ucal_8h.html#cca7f62f6e8eb75cabf2dd9f0778f7b4">ucal_setDate</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002948">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="2544550264fccc52c97b53a2febf29cb"></a><!-- doxytag: member="ucal.h::ucal_setDefaultTimeZone" ref="2544550264fccc52c97b53a2febf29cb" args="(const UChar *zoneID, UErrorCode *ec)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ucal_setDefaultTimeZone           </td>
          <td>(</td>
          <td class="paramtype">const UChar *&nbsp;</td>
          <td class="paramname"> <em>zoneID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&nbsp;</td>
          <td class="paramname"> <em>ec</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the default time zone. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>zoneID</em>&nbsp;</td><td>null-terminated time zone ID</td></tr>
    <tr><td valign="top"></td><td valign="top"><em>ec</em>&nbsp;</td><td>input/output error code</td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002927">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

</div>
</div><p>
<a class="anchor" name="8b0c9820b1d2ccc6fc499766f9867aad"></a><!-- doxytag: member="ucal.h::ucal_setGregorianChange" ref="8b0c9820b1d2ccc6fc499766f9867aad" args="(UCalendar *cal, UDate date, UErrorCode *pErrorCode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ucal_setGregorianChange           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&nbsp;</td>
          <td class="paramname"> <em>cal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&nbsp;</td>
          <td class="paramname"> <em>date</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&nbsp;</td>
          <td class="paramname"> <em>pErrorCode</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the <a class="el" href="classGregorianCalendar.html">GregorianCalendar</a> change date. 
<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>
This function works only for Gregorian calendars. If the UCalendar is not an instance of a Gregorian calendar, then a U_UNSUPPORTED_ERROR error code is set.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>cal</em>&nbsp;</td><td>The calendar object. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>date</em>&nbsp;</td><td>The given Gregorian cutover date. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>pErrorCode</em>&nbsp;</td><td>Pointer to a standard ICU error code. Its input value must pass the <a class="el" href="utypes_8h.html#527f2c69e6b2e3b2c53ad8a99fb36711">U_SUCCESS()</a> test, or else the function returns immediately. Check for <a class="el" href="utypes_8h.html#4d202200b6aa6f3c965ea370e0c8155f">U_FAILURE()</a> on output or use with function chaining. (See User Guide for details.)</td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classGregorianCalendar.html#5e643d82a8dba031b54c97f057d804f6">GregorianCalendar::setGregorianChange</a> <p>
<a class="el" href="ucal_8h.html#c6f9d60d827a403bb3d50accdd9027da">ucal_getGregorianChange</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002937">Stable:</a></b></dt><dd>ICU 3.6 </dd></dl>

</div>
</div><p>
<a class="anchor" name="54e866c1e202544059e92d1ce7cd8853"></a><!-- doxytag: member="ucal.h::ucal_setMillis" ref="54e866c1e202544059e92d1ce7cd8853" args="(UCalendar *cal, UDate dateTime, UErrorCode *status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ucal_setMillis           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&nbsp;</td>
          <td class="paramname"> <em>cal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#ce1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&nbsp;</td>
          <td class="paramname"> <em>dateTime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set a UCalendar's current time in millis. 
<p>
The time is represented as milliseconds from the epoch. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>cal</em>&nbsp;</td><td>The UCalendar to set. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>dateTime</em>&nbsp;</td><td>The desired date and time. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>A pointer to an UErrorCode to receive any errors </td></tr>
  </table>
</dl>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="ucal_8h.html#533d4cbb14bcea658867cc19dbf117e7">ucal_getMillis</a> <p>
<a class="el" href="ucal_8h.html#cca7f62f6e8eb75cabf2dd9f0778f7b4">ucal_setDate</a> <p>
<a class="el" href="ucal_8h.html#8810072e357d43f6d9d4a792ff0be93e">ucal_setDateTime</a> </dd></dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002946">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<a class="anchor" name="e5612988cb9dc282ccda82fda38602b2"></a><!-- doxytag: member="ucal.h::ucal_setTimeZone" ref="e5612988cb9dc282ccda82fda38602b2" args="(UCalendar *cal, const UChar *zoneID, int32_t len, UErrorCode *status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ucal_setTimeZone           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#fb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&nbsp;</td>
          <td class="paramname"> <em>cal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const UChar *&nbsp;</td>
          <td class="paramname"> <em>zoneID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="pwin32_8h.html#b1967d8591af1a4e48c37fd2b0f184d0">int32_t</a>&nbsp;</td>
          <td class="paramname"> <em>len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Set the <a class="el" href="classTimeZone.html">TimeZone</a> used by a UCalendar. 
<p>
A UCalendar uses a timezone for converting from Greenwich time to local time. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>cal</em>&nbsp;</td><td>The UCalendar to set. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>zoneID</em>&nbsp;</td><td>The desired <a class="el" href="classTimeZone.html">TimeZone</a> ID. If 0, use the default time zone. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>len</em>&nbsp;</td><td>The length of zoneID, or -1 if null-terminated. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>status</em>&nbsp;</td><td>A pointer to an UErrorCode to receive any errors. </td></tr>
  </table>
</dl>
<dl compact><dt><b><a class="el" href="stable.html#_stable002932">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div><p>
<hr size="1"><address style="align: right;"><small>Generated on Fri Sep 14 12:59:24 2007 for ICU 3.8 by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>
</body>
</html>