Sophie

Sophie

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

icu-doc-58.2-3.mga6.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>ICU 58.2: ucal.h File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">ICU 58.2
   &#160;<span id="projectnumber">58.2</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_b2f33c71d4aa5e7af42a1ca61ff5af1b.html">source</a></li><li class="navelem"><a class="el" href="dir_3c42bef9a3e7804b3d74ebb2809ebf86.html">i18n</a></li><li class="navelem"><a class="el" href="dir_fa4147b4d9cbc9ae7619e21b25239322.html">unicode</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#namespaces">Namespaces</a> &#124;
<a href="#define-members">Macros</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#enum-members">Enumerations</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">ucal.h File Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>C API: Calendar.  
<a href="#details">More...</a></p>
<div class="textblock"><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 />
<code>#include &quot;<a class="el" href="localpointer_8h_source.html">unicode/localpointer.h</a>&quot;</code><br />
</div>
<p><a href="ucal_8h_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="namespaces"></a>
Namespaces</h2></td></tr>
<tr class="memitem:namespaceicu"><td class="memItemLeft" align="right" valign="top"> &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespaceicu.html">icu</a></td></tr>
<tr class="memdesc:namespaceicu"><td class="mdescLeft">&#160;</td><td class="mdescRight">File <a class="el" href="coll_8h.html" title="C++ API: Collation Service. ">coll.h</a>. <br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="define-members"></a>
Macros</h2></td></tr>
<tr class="memitem:a0682edd5dfe37d2abe4bb9fb5a9733d9"><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a0682edd5dfe37d2abe4bb9fb5a9733d9">UCAL_UNKNOWN_ZONE_ID</a>&#160;&#160;&#160;&quot;Etc/Unknown&quot;</td></tr>
<tr class="memdesc:a0682edd5dfe37d2abe4bb9fb5a9733d9"><td class="mdescLeft">&#160;</td><td class="mdescRight">The time zone ID reserved for unknown time zone.  <a href="#a0682edd5dfe37d2abe4bb9fb5a9733d9">More...</a><br /></td></tr>
<tr class="separator:a0682edd5dfe37d2abe4bb9fb5a9733d9"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:afb45437aa9182d9fdcd96a2119e1e144"><td class="memItemLeft" align="right" valign="top">typedef void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a></td></tr>
<tr class="memdesc:afb45437aa9182d9fdcd96a2119e1e144"><td class="mdescLeft">&#160;</td><td class="mdescRight">A calendar.  <a href="#afb45437aa9182d9fdcd96a2119e1e144">More...</a><br /></td></tr>
<tr class="separator:afb45437aa9182d9fdcd96a2119e1e144"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aeb82adf34aef02bbf8812623c2476060"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="ucal_8h.html#a80db55a10d0808a9f9b61e105b9d32fb">UCalendarType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#aeb82adf34aef02bbf8812623c2476060">UCalendarType</a></td></tr>
<tr class="separator:aeb82adf34aef02bbf8812623c2476060"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28411d3f471b1720fe688466983d2298"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a28411d3f471b1720fe688466983d2298">UCalendarDateFields</a></td></tr>
<tr class="separator:a28411d3f471b1720fe688466983d2298"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a550de202361f87c31be2c566ab0f8ed3"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="ucal_8h.html#a62d9fe551bd48e4141fce52b917119a4">UCalendarDaysOfWeek</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a550de202361f87c31be2c566ab0f8ed3">UCalendarDaysOfWeek</a></td></tr>
<tr class="separator:a550de202361f87c31be2c566ab0f8ed3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd7f7265f470ed43d9823ae80bb908b3"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="ucal_8h.html#af13a67d4d259962e1840471f3a8e6596">UCalendarMonths</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#abd7f7265f470ed43d9823ae80bb908b3">UCalendarMonths</a></td></tr>
<tr class="separator:abd7f7265f470ed43d9823ae80bb908b3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa43be2256b8b849142434d499a11250c"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="ucal_8h.html#a71d1396f68a0ccc8bd7e5e0fe006b6a7">UCalendarAMPMs</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#aa43be2256b8b849142434d499a11250c">UCalendarAMPMs</a></td></tr>
<tr class="separator:aa43be2256b8b849142434d499a11250c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2782d4c319d095ed86e4931f49e880a"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="ucal_8h.html#a246d867677ec1a02775072aa0b5b018a">USystemTimeZoneType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#ac2782d4c319d095ed86e4931f49e880a">USystemTimeZoneType</a></td></tr>
<tr class="separator:ac2782d4c319d095ed86e4931f49e880a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a56a25733a15ea9e894b43d9dcb2b44be"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="ucal_8h.html#ae9370947c6da3c8ee5ee034307ac5d03">UCalendarDisplayNameType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a56a25733a15ea9e894b43d9dcb2b44be">UCalendarDisplayNameType</a></td></tr>
<tr class="separator:a56a25733a15ea9e894b43d9dcb2b44be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd668c58b07e90db871679752528b341"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="ucal_8h.html#a27f00939dd2931f252c5bc6409b83227">UCalendarAttribute</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#afd668c58b07e90db871679752528b341">UCalendarAttribute</a></td></tr>
<tr class="separator:afd668c58b07e90db871679752528b341"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afddbaf64e77a06c2a3e55863864a4504"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="ucal_8h.html#a4868f5e191f75ed38b7ee0c3040317b8">UCalendarWallTimeOption</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#afddbaf64e77a06c2a3e55863864a4504">UCalendarWallTimeOption</a></td></tr>
<tr class="separator:afddbaf64e77a06c2a3e55863864a4504"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac122fc97b5e965a32c68d288b636caaf"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="ucal_8h.html#a6e54e12f217d36570b70fafcbb557ca5">UCalendarLimitType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#ac122fc97b5e965a32c68d288b636caaf">UCalendarLimitType</a></td></tr>
<tr class="separator:ac122fc97b5e965a32c68d288b636caaf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5465b37f73d5098a53e0e4b19d4f1ae4"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="ucal_8h.html#a5d1f042c84dc291891c208d4c7dcd933">UCalendarWeekdayType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a5465b37f73d5098a53e0e4b19d4f1ae4">UCalendarWeekdayType</a></td></tr>
<tr class="separator:a5465b37f73d5098a53e0e4b19d4f1ae4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5850f53c7316e46ee0e7a5e002a18a20"><td class="memItemLeft" align="right" valign="top">typedef enum <a class="el" href="ucal_8h.html#a7efe6a88e42a2f34185095f4b1769531">UTimeZoneTransitionType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a5850f53c7316e46ee0e7a5e002a18a20">UTimeZoneTransitionType</a></td></tr>
<tr class="separator:a5850f53c7316e46ee0e7a5e002a18a20"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="enum-members"></a>
Enumerations</h2></td></tr>
<tr class="memitem:a80db55a10d0808a9f9b61e105b9d32fb"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a80db55a10d0808a9f9b61e105b9d32fb">UCalendarType</a> { <a class="el" href="ucal_8h.html#a80db55a10d0808a9f9b61e105b9d32fbaf40f59ee818a37ecfa599e89eb0c334d">UCAL_TRADITIONAL</a>, 
<a class="el" href="ucal_8h.html#a80db55a10d0808a9f9b61e105b9d32fbab760bad9d085a7a294617c828ef08160">UCAL_DEFAULT</a> = UCAL_TRADITIONAL, 
<a class="el" href="ucal_8h.html#a80db55a10d0808a9f9b61e105b9d32fba164278e20451a4f30269beac1a7ee3f3">UCAL_GREGORIAN</a>
 }<tr class="memdesc:a80db55a10d0808a9f9b61e105b9d32fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Possible types of UCalendars.  <a href="ucal_8h.html#a80db55a10d0808a9f9b61e105b9d32fb">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a80db55a10d0808a9f9b61e105b9d32fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02fe23bf33319052733c00c7a09ea912"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> { <br />
&#160;&#160;<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912a0ddda11f9012d9b033adab7e5d99a8d7">UCAL_ERA</a>, 
<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912a3e2b44660e01084c8b4990f281554ae1">UCAL_YEAR</a>, 
<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912a9546c33a33caefb88822bd22d4667fe1">UCAL_MONTH</a>, 
<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912ab4fa05d61c729a269a6b6bad11387eea">UCAL_WEEK_OF_YEAR</a>, 
<br />
&#160;&#160;<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912a3585d4fa3f681dbda0e9ac8826e36d2f">UCAL_WEEK_OF_MONTH</a>, 
<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912a8086caf60ea1b9ca1f3ce590da84869e">UCAL_DATE</a>, 
<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912a4269b2063a9d820c4d6a81e573e72a33">UCAL_DAY_OF_YEAR</a>, 
<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912ad922feccd72ca5e2ef90bb74a61f8070">UCAL_DAY_OF_WEEK</a>, 
<br />
&#160;&#160;<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912a8ed09799953a8b540f50ae856be93fc2">UCAL_DAY_OF_WEEK_IN_MONTH</a>, 
<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912ad94a5edcb9a6dd1c2480f4da8151bf04">UCAL_AM_PM</a>, 
<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912ac878e7ce810cf85e33b5a2e53e26c590">UCAL_HOUR</a>, 
<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912a022b239bf42bff7814930817c7190b4f">UCAL_HOUR_OF_DAY</a>, 
<br />
&#160;&#160;<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912a581a19cc0c5ff9ba238088cdb062c861">UCAL_MINUTE</a>, 
<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912a8bf78aa14924fb5eacd123ed11eedb9b">UCAL_SECOND</a>, 
<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912abc240c53c10619668e22f5cc08dc9555">UCAL_MILLISECOND</a>, 
<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912a956400c61f7ff988019c663580d4984c">UCAL_ZONE_OFFSET</a>, 
<br />
&#160;&#160;<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912adeaf79a310cfb7f9036a431b9ae0ff2a">UCAL_DST_OFFSET</a>, 
<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912a581404a7c0401eb1dbb5dc01f0f0ef8c">UCAL_YEAR_WOY</a>, 
<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912afdf3076e740fbe439f89dd3214f0704b">UCAL_DOW_LOCAL</a>, 
<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912a0612bde412d2c2ca9d3210937cc01f07">UCAL_EXTENDED_YEAR</a>, 
<br />
&#160;&#160;<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912a747a5a465beccf87a42a91f7948d5518">UCAL_JULIAN_DAY</a>, 
<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912afc6b7fa25f397758f03ad799ff057ca1">UCAL_MILLISECONDS_IN_DAY</a>, 
<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912adc4087f0cb61ac13578cff55c6ad753e">UCAL_IS_LEAP_MONTH</a>, 
<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912adbfdd6e6b1bc1be830c7f1ba29f2c68c">UCAL_FIELD_COUNT</a>, 
<br />
&#160;&#160;<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912acba35fb282eacc2434e3229a3f64ef7e">UCAL_DAY_OF_MONTH</a> =UCAL_DATE
<br />
 }<tr class="memdesc:a02fe23bf33319052733c00c7a09ea912"><td class="mdescLeft">&#160;</td><td class="mdescRight">Possible fields in a UCalendar.  <a href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a02fe23bf33319052733c00c7a09ea912"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62d9fe551bd48e4141fce52b917119a4"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a62d9fe551bd48e4141fce52b917119a4">UCalendarDaysOfWeek</a> { <br />
&#160;&#160;<a class="el" href="ucal_8h.html#a62d9fe551bd48e4141fce52b917119a4a9db1e73b33252ffcd5d5a4197b68f805">UCAL_SUNDAY</a> = 1, 
<a class="el" href="ucal_8h.html#a62d9fe551bd48e4141fce52b917119a4a5b068ab70005ef07850e561b57d6bdd7">UCAL_MONDAY</a>, 
<a class="el" href="ucal_8h.html#a62d9fe551bd48e4141fce52b917119a4ab64dd41ed18baeb2b150537abe744300">UCAL_TUESDAY</a>, 
<a class="el" href="ucal_8h.html#a62d9fe551bd48e4141fce52b917119a4a15a79079833f1119c2ed93edf6b02c99">UCAL_WEDNESDAY</a>, 
<br />
&#160;&#160;<a class="el" href="ucal_8h.html#a62d9fe551bd48e4141fce52b917119a4a58049393d8ffb9b243ab7dd46b0b605a">UCAL_THURSDAY</a>, 
<a class="el" href="ucal_8h.html#a62d9fe551bd48e4141fce52b917119a4a9ee63f42c2e84d0b6c743ca021097374">UCAL_FRIDAY</a>, 
<a class="el" href="ucal_8h.html#a62d9fe551bd48e4141fce52b917119a4a358e7ba575ccb0ef2b531ac7945cff2f">UCAL_SATURDAY</a>
<br />
 }<tr class="memdesc:a62d9fe551bd48e4141fce52b917119a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Useful constant for days of week.  <a href="ucal_8h.html#a62d9fe551bd48e4141fce52b917119a4">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a62d9fe551bd48e4141fce52b917119a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af13a67d4d259962e1840471f3a8e6596"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#af13a67d4d259962e1840471f3a8e6596">UCalendarMonths</a> { <br />
&#160;&#160;<a class="el" href="ucal_8h.html#af13a67d4d259962e1840471f3a8e6596ad2803ac4940572b4d1fc390861d9759c">UCAL_JANUARY</a>, 
<a class="el" href="ucal_8h.html#af13a67d4d259962e1840471f3a8e6596ad9122013c38c7d414c6428fd4d9d8ad0">UCAL_FEBRUARY</a>, 
<a class="el" href="ucal_8h.html#af13a67d4d259962e1840471f3a8e6596af65658af9cb3b9b829ae218318d8c11b">UCAL_MARCH</a>, 
<a class="el" href="ucal_8h.html#af13a67d4d259962e1840471f3a8e6596a5053c7488e7a8b39af59408377d40ed6">UCAL_APRIL</a>, 
<br />
&#160;&#160;<a class="el" href="ucal_8h.html#af13a67d4d259962e1840471f3a8e6596a2c0d943daf44e035240e215d9d52b463">UCAL_MAY</a>, 
<a class="el" href="ucal_8h.html#af13a67d4d259962e1840471f3a8e6596a61e354d2e762e2f65cc2241f3860cff8">UCAL_JUNE</a>, 
<a class="el" href="ucal_8h.html#af13a67d4d259962e1840471f3a8e6596a8ca4ce198fa1ea4285d2a2198d418ba5">UCAL_JULY</a>, 
<a class="el" href="ucal_8h.html#af13a67d4d259962e1840471f3a8e6596a892d007d133f3d5d07831fe621b0597b">UCAL_AUGUST</a>, 
<br />
&#160;&#160;<a class="el" href="ucal_8h.html#af13a67d4d259962e1840471f3a8e6596ab0540bee00a697ff57961d1bd58f67da">UCAL_SEPTEMBER</a>, 
<a class="el" href="ucal_8h.html#af13a67d4d259962e1840471f3a8e6596afcc006296cc7b9b3b04c9a26c44181c5">UCAL_OCTOBER</a>, 
<a class="el" href="ucal_8h.html#af13a67d4d259962e1840471f3a8e6596a5bf40eb18049fa52944f56f73a56d5a4">UCAL_NOVEMBER</a>, 
<a class="el" href="ucal_8h.html#af13a67d4d259962e1840471f3a8e6596a1f72a7edd4372272ab30f84670cd763b">UCAL_DECEMBER</a>, 
<br />
&#160;&#160;<a class="el" href="ucal_8h.html#af13a67d4d259962e1840471f3a8e6596a2ee2afdd3972c479165f030634645ab6">UCAL_UNDECIMBER</a>
<br />
 }<tr class="memdesc:af13a67d4d259962e1840471f3a8e6596"><td class="mdescLeft">&#160;</td><td class="mdescRight">Possible months in a UCalendar.  <a href="ucal_8h.html#af13a67d4d259962e1840471f3a8e6596">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:af13a67d4d259962e1840471f3a8e6596"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71d1396f68a0ccc8bd7e5e0fe006b6a7"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a71d1396f68a0ccc8bd7e5e0fe006b6a7">UCalendarAMPMs</a> { <a class="el" href="ucal_8h.html#a71d1396f68a0ccc8bd7e5e0fe006b6a7a8e263e26565f79225bea76abe8c39633">UCAL_AM</a>, 
<a class="el" href="ucal_8h.html#a71d1396f68a0ccc8bd7e5e0fe006b6a7ae95c19de4c6f88c1a5ac28816c2a2c2d">UCAL_PM</a>
 }<tr class="memdesc:a71d1396f68a0ccc8bd7e5e0fe006b6a7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Possible AM/PM values in a UCalendar.  <a href="ucal_8h.html#a71d1396f68a0ccc8bd7e5e0fe006b6a7">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a71d1396f68a0ccc8bd7e5e0fe006b6a7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a246d867677ec1a02775072aa0b5b018a"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a246d867677ec1a02775072aa0b5b018a">USystemTimeZoneType</a> { <a class="el" href="ucal_8h.html#a246d867677ec1a02775072aa0b5b018aac426fea7a765899ccfe2f31165292bbd">UCAL_ZONE_TYPE_ANY</a>, 
<a class="el" href="ucal_8h.html#a246d867677ec1a02775072aa0b5b018aaba339e618d112c8ccbe6f333e9494d0f">UCAL_ZONE_TYPE_CANONICAL</a>, 
<a class="el" href="ucal_8h.html#a246d867677ec1a02775072aa0b5b018aaf7528bf8127f3e48076949c279be6c4e">UCAL_ZONE_TYPE_CANONICAL_LOCATION</a>
 }<tr class="memdesc:a246d867677ec1a02775072aa0b5b018a"><td class="mdescLeft">&#160;</td><td class="mdescRight">System time zone type constants used by filtering zones in ucal_openTimeZoneIDEnumeration.  <a href="ucal_8h.html#a246d867677ec1a02775072aa0b5b018a">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a246d867677ec1a02775072aa0b5b018a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae9370947c6da3c8ee5ee034307ac5d03"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#ae9370947c6da3c8ee5ee034307ac5d03">UCalendarDisplayNameType</a> { <a class="el" href="ucal_8h.html#ae9370947c6da3c8ee5ee034307ac5d03a36a8a634859870566e8b5cc464ce2341">UCAL_STANDARD</a>, 
<a class="el" href="ucal_8h.html#ae9370947c6da3c8ee5ee034307ac5d03a842b1349f0d44070af11a2eef0351785">UCAL_SHORT_STANDARD</a>, 
<a class="el" href="ucal_8h.html#ae9370947c6da3c8ee5ee034307ac5d03a89cff48ba2493249328e43c6e93505de">UCAL_DST</a>, 
<a class="el" href="ucal_8h.html#ae9370947c6da3c8ee5ee034307ac5d03a50794c17996d69d2666ce6704dab3a2f">UCAL_SHORT_DST</a>
 }<tr class="memdesc:ae9370947c6da3c8ee5ee034307ac5d03"><td class="mdescLeft">&#160;</td><td class="mdescRight">Possible formats for a UCalendar's display name.  <a href="ucal_8h.html#ae9370947c6da3c8ee5ee034307ac5d03">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:ae9370947c6da3c8ee5ee034307ac5d03"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27f00939dd2931f252c5bc6409b83227"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a27f00939dd2931f252c5bc6409b83227">UCalendarAttribute</a> { <br />
&#160;&#160;<a class="el" href="ucal_8h.html#a27f00939dd2931f252c5bc6409b83227aeea5fa7f20994cc894b5ba747c2332fd">UCAL_LENIENT</a>, 
<a class="el" href="ucal_8h.html#a27f00939dd2931f252c5bc6409b83227a72d3e8c1713ca82417133ff6eaf50a41">UCAL_FIRST_DAY_OF_WEEK</a>, 
<a class="el" href="ucal_8h.html#a27f00939dd2931f252c5bc6409b83227a4d1acaedb5fbcdf78f0ed0c15bf2d0bd">UCAL_MINIMAL_DAYS_IN_FIRST_WEEK</a>, 
<a class="el" href="ucal_8h.html#a27f00939dd2931f252c5bc6409b83227a5765dc992a69432f08ff7a3173899963">UCAL_REPEATED_WALL_TIME</a>, 
<br />
&#160;&#160;<a class="el" href="ucal_8h.html#a27f00939dd2931f252c5bc6409b83227aa0881bbd9455be17de3a7d16bd4a948f">UCAL_SKIPPED_WALL_TIME</a>
<br />
 }<tr class="memdesc:a27f00939dd2931f252c5bc6409b83227"><td class="mdescLeft">&#160;</td><td class="mdescRight">Types of UCalendar attributes.  <a href="ucal_8h.html#a27f00939dd2931f252c5bc6409b83227">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a27f00939dd2931f252c5bc6409b83227"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4868f5e191f75ed38b7ee0c3040317b8"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a4868f5e191f75ed38b7ee0c3040317b8">UCalendarWallTimeOption</a> { <a class="el" href="ucal_8h.html#a4868f5e191f75ed38b7ee0c3040317b8ac1c848e697f23677a729997e45257045">UCAL_WALLTIME_LAST</a>, 
<a class="el" href="ucal_8h.html#a4868f5e191f75ed38b7ee0c3040317b8aebf8f4b12bd50372de404404c9988519">UCAL_WALLTIME_FIRST</a>, 
<a class="el" href="ucal_8h.html#a4868f5e191f75ed38b7ee0c3040317b8a5f5928af0958c098d82867d4db2316f2">UCAL_WALLTIME_NEXT_VALID</a>
 }<tr class="memdesc:a4868f5e191f75ed38b7ee0c3040317b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Options for handling ambiguous wall time at time zone offset transitions.  <a href="ucal_8h.html#a4868f5e191f75ed38b7ee0c3040317b8">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a4868f5e191f75ed38b7ee0c3040317b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e54e12f217d36570b70fafcbb557ca5"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a6e54e12f217d36570b70fafcbb557ca5">UCalendarLimitType</a> { <br />
&#160;&#160;<a class="el" href="ucal_8h.html#a6e54e12f217d36570b70fafcbb557ca5aa274d987e6cb730dc6711a378faa654d">UCAL_MINIMUM</a>, 
<a class="el" href="ucal_8h.html#a6e54e12f217d36570b70fafcbb557ca5ab80ad3ad8e6242e0c605d853432e3679">UCAL_MAXIMUM</a>, 
<a class="el" href="ucal_8h.html#a6e54e12f217d36570b70fafcbb557ca5a3db8def982b824fa3603182a5c82f4b3">UCAL_GREATEST_MINIMUM</a>, 
<a class="el" href="ucal_8h.html#a6e54e12f217d36570b70fafcbb557ca5acb2cdcd3fdff6dbec96db2e2d626ad7e">UCAL_LEAST_MAXIMUM</a>, 
<br />
&#160;&#160;<a class="el" href="ucal_8h.html#a6e54e12f217d36570b70fafcbb557ca5a255825275dfe67f2cd05171c98a0b619">UCAL_ACTUAL_MINIMUM</a>, 
<a class="el" href="ucal_8h.html#a6e54e12f217d36570b70fafcbb557ca5a0d12baa240dc171eed50cd2148a289e7">UCAL_ACTUAL_MAXIMUM</a>
<br />
 }<tr class="memdesc:a6e54e12f217d36570b70fafcbb557ca5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Possible limit values for a UCalendar.  <a href="ucal_8h.html#a6e54e12f217d36570b70fafcbb557ca5">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a6e54e12f217d36570b70fafcbb557ca5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d1f042c84dc291891c208d4c7dcd933"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a5d1f042c84dc291891c208d4c7dcd933">UCalendarWeekdayType</a> { <a class="el" href="ucal_8h.html#a5d1f042c84dc291891c208d4c7dcd933a504468a7025689a67ae0929220cad567">UCAL_WEEKDAY</a>, 
<a class="el" href="ucal_8h.html#a5d1f042c84dc291891c208d4c7dcd933abce2190f0f34ede2ee3915021850d14c">UCAL_WEEKEND</a>, 
<a class="el" href="ucal_8h.html#a5d1f042c84dc291891c208d4c7dcd933abee3ccd0c66b3075f5c77681841aea3b">UCAL_WEEKEND_ONSET</a>, 
<a class="el" href="ucal_8h.html#a5d1f042c84dc291891c208d4c7dcd933ab60b882dfc55b2706aae4735d3b6e918">UCAL_WEEKEND_CEASE</a>
 }<tr class="memdesc:a5d1f042c84dc291891c208d4c7dcd933"><td class="mdescLeft">&#160;</td><td class="mdescRight">Weekday types, as returned by <a class="el" href="ucal_8h.html#a52650ccf4dae0f42dd82624a94087c61" title="Returns whether the given day of the week is a weekday, a weekend day, or a day that transitions from...">ucal_getDayOfWeekType()</a>.  <a href="ucal_8h.html#a5d1f042c84dc291891c208d4c7dcd933">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a5d1f042c84dc291891c208d4c7dcd933"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7efe6a88e42a2f34185095f4b1769531"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a7efe6a88e42a2f34185095f4b1769531">UTimeZoneTransitionType</a> { <a class="el" href="ucal_8h.html#a7efe6a88e42a2f34185095f4b1769531a7867186396df5cfc829309ba731328c7">UCAL_TZ_TRANSITION_NEXT</a>, 
<a class="el" href="ucal_8h.html#a7efe6a88e42a2f34185095f4b1769531ada59cf844ba62d155c4e7fca9173ed00">UCAL_TZ_TRANSITION_NEXT_INCLUSIVE</a>, 
<a class="el" href="ucal_8h.html#a7efe6a88e42a2f34185095f4b1769531a4e17abaad8d7f4079569192482b23975">UCAL_TZ_TRANSITION_PREVIOUS</a>, 
<a class="el" href="ucal_8h.html#a7efe6a88e42a2f34185095f4b1769531a5e861097e29e7d07b870c30f89ab2ddb">UCAL_TZ_TRANSITION_PREVIOUS_INCLUSIVE</a>
 }<tr class="memdesc:a7efe6a88e42a2f34185095f4b1769531"><td class="mdescLeft">&#160;</td><td class="mdescRight">Time zone transition types for ucal_getTimeZoneTransitionDate.  <a href="ucal_8h.html#a7efe6a88e42a2f34185095f4b1769531">More...</a><br /></td></tr>
</td></tr>
<tr class="separator:a7efe6a88e42a2f34185095f4b1769531"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:aa12068e8d91b210c95c3bfbf6ad46bb3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uenum_8h.html#a32b7253b2148022535be36a9fcdb5a8d">UEnumeration</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#aa12068e8d91b210c95c3bfbf6ad46bb3">ucal_openTimeZoneIDEnumeration</a> (<a class="el" href="ucal_8h.html#a246d867677ec1a02775072aa0b5b018a">USystemTimeZoneType</a> zoneType, const char *region, const int32_t *rawOffset, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *ec)</td></tr>
<tr class="memdesc:aa12068e8d91b210c95c3bfbf6ad46bb3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an enumeration over system time zone IDs with the given filter conditions.  <a href="#aa12068e8d91b210c95c3bfbf6ad46bb3">More...</a><br /></td></tr>
<tr class="separator:aa12068e8d91b210c95c3bfbf6ad46bb3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abbc29eb77035c731c6c5d18b77733069"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uenum_8h.html#a32b7253b2148022535be36a9fcdb5a8d">UEnumeration</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#abbc29eb77035c731c6c5d18b77733069">ucal_openTimeZones</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *ec)</td></tr>
<tr class="memdesc:abbc29eb77035c731c6c5d18b77733069"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an enumeration over all time zones.  <a href="#abbc29eb77035c731c6c5d18b77733069">More...</a><br /></td></tr>
<tr class="separator:abbc29eb77035c731c6c5d18b77733069"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acac88ce8fa1cfb5585d1db7d93566fea"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uenum_8h.html#a32b7253b2148022535be36a9fcdb5a8d">UEnumeration</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#acac88ce8fa1cfb5585d1db7d93566fea">ucal_openCountryTimeZones</a> (const char *country, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *ec)</td></tr>
<tr class="memdesc:acac88ce8fa1cfb5585d1db7d93566fea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create an enumeration over all time zones associated with the given country.  <a href="#acac88ce8fa1cfb5585d1db7d93566fea">More...</a><br /></td></tr>
<tr class="separator:acac88ce8fa1cfb5585d1db7d93566fea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac5243211dec55651f308c34a011eb337"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#ac5243211dec55651f308c34a011eb337">ucal_getDefaultTimeZone</a> (<a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *result, int32_t resultCapacity, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *ec)</td></tr>
<tr class="memdesc:ac5243211dec55651f308c34a011eb337"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the default time zone.  <a href="#ac5243211dec55651f308c34a011eb337">More...</a><br /></td></tr>
<tr class="separator:ac5243211dec55651f308c34a011eb337"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2544550264fccc52c97b53a2febf29cb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a2544550264fccc52c97b53a2febf29cb">ucal_setDefaultTimeZone</a> (const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *zoneID, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *ec)</td></tr>
<tr class="memdesc:a2544550264fccc52c97b53a2febf29cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the default time zone.  <a href="#a2544550264fccc52c97b53a2febf29cb">More...</a><br /></td></tr>
<tr class="separator:a2544550264fccc52c97b53a2febf29cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3907928a0963ad035a221f6feb4f62cd"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a3907928a0963ad035a221f6feb4f62cd">ucal_getDSTSavings</a> (const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *zoneID, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *ec)</td></tr>
<tr class="memdesc:a3907928a0963ad035a221f6feb4f62cd"><td class="mdescLeft">&#160;</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="#a3907928a0963ad035a221f6feb4f62cd">More...</a><br /></td></tr>
<tr class="separator:a3907928a0963ad035a221f6feb4f62cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb6d89737a72e1b1edf99d65f78b0040"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#adb6d89737a72e1b1edf99d65f78b0040">ucal_getNow</a> (void)</td></tr>
<tr class="memdesc:adb6d89737a72e1b1edf99d65f78b0040"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current date and time.  <a href="#adb6d89737a72e1b1edf99d65f78b0040">More...</a><br /></td></tr>
<tr class="separator:adb6d89737a72e1b1edf99d65f78b0040"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9d3d4893f5b22a90edff24bedaf361c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#ac9d3d4893f5b22a90edff24bedaf361c">ucal_open</a> (const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *zoneID, int32_t len, const char *locale, <a class="el" href="ucal_8h.html#a80db55a10d0808a9f9b61e105b9d32fb">UCalendarType</a> type, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:ac9d3d4893f5b22a90edff24bedaf361c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Open a UCalendar.  <a href="#ac9d3d4893f5b22a90edff24bedaf361c">More...</a><br /></td></tr>
<tr class="separator:ac9d3d4893f5b22a90edff24bedaf361c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae4402ac532c51fd6206f93fdc51b1dea"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#ae4402ac532c51fd6206f93fdc51b1dea">ucal_close</a> (<a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal)</td></tr>
<tr class="memdesc:ae4402ac532c51fd6206f93fdc51b1dea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Close a UCalendar.  <a href="#ae4402ac532c51fd6206f93fdc51b1dea">More...</a><br /></td></tr>
<tr class="separator:ae4402ac532c51fd6206f93fdc51b1dea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4febd3ddfcdace16e1c005bd7d17a10c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a4febd3ddfcdace16e1c005bd7d17a10c">ucal_clone</a> (const <a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:a4febd3ddfcdace16e1c005bd7d17a10c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Open a copy of a UCalendar.  <a href="#a4febd3ddfcdace16e1c005bd7d17a10c">More...</a><br /></td></tr>
<tr class="separator:a4febd3ddfcdace16e1c005bd7d17a10c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae5612988cb9dc282ccda82fda38602b2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#ae5612988cb9dc282ccda82fda38602b2">ucal_setTimeZone</a> (<a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *zoneID, int32_t len, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:ae5612988cb9dc282ccda82fda38602b2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the TimeZone used by a UCalendar.  <a href="#ae5612988cb9dc282ccda82fda38602b2">More...</a><br /></td></tr>
<tr class="separator:ae5612988cb9dc282ccda82fda38602b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a86a37d5947a5af32eda15bde94680c2b"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a86a37d5947a5af32eda15bde94680c2b">ucal_getTimeZoneID</a> (const <a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *result, int32_t resultLength, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:a86a37d5947a5af32eda15bde94680c2b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the ID of the UCalendar's time zone.  <a href="#a86a37d5947a5af32eda15bde94680c2b">More...</a><br /></td></tr>
<tr class="separator:a86a37d5947a5af32eda15bde94680c2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea22f4437959a297c21793281caea68a"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#aea22f4437959a297c21793281caea68a">ucal_getTimeZoneDisplayName</a> (const <a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="ucal_8h.html#ae9370947c6da3c8ee5ee034307ac5d03">UCalendarDisplayNameType</a> type, const char *locale, <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *result, int32_t resultLength, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:aea22f4437959a297c21793281caea68a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the display name for a UCalendar's TimeZone.  <a href="#aea22f4437959a297c21793281caea68a">More...</a><br /></td></tr>
<tr class="separator:aea22f4437959a297c21793281caea68a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0894e66c0e54efaee7d7a74769ef7768"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a0894e66c0e54efaee7d7a74769ef7768">ucal_inDaylightTime</a> (const <a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:a0894e66c0e54efaee7d7a74769ef7768"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determine if a UCalendar is currently in daylight savings time.  <a href="#a0894e66c0e54efaee7d7a74769ef7768">More...</a><br /></td></tr>
<tr class="separator:a0894e66c0e54efaee7d7a74769ef7768"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b0c9820b1d2ccc6fc499766f9867aad"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a8b0c9820b1d2ccc6fc499766f9867aad">ucal_setGregorianChange</a> (<a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> date, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *pErrorCode)</td></tr>
<tr class="memdesc:a8b0c9820b1d2ccc6fc499766f9867aad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the GregorianCalendar change date.  <a href="#a8b0c9820b1d2ccc6fc499766f9867aad">More...</a><br /></td></tr>
<tr class="separator:a8b0c9820b1d2ccc6fc499766f9867aad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac6f9d60d827a403bb3d50accdd9027da"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#ac6f9d60d827a403bb3d50accdd9027da">ucal_getGregorianChange</a> (const <a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *pErrorCode)</td></tr>
<tr class="memdesc:ac6f9d60d827a403bb3d50accdd9027da"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the Gregorian Calendar change date.  <a href="#ac6f9d60d827a403bb3d50accdd9027da">More...</a><br /></td></tr>
<tr class="separator:ac6f9d60d827a403bb3d50accdd9027da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae38dffa3217680e56e30e5d1bca673ab"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#ae38dffa3217680e56e30e5d1bca673ab">ucal_getAttribute</a> (const <a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="ucal_8h.html#a27f00939dd2931f252c5bc6409b83227">UCalendarAttribute</a> attr)</td></tr>
<tr class="memdesc:ae38dffa3217680e56e30e5d1bca673ab"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a numeric attribute associated with a UCalendar.  <a href="#ae38dffa3217680e56e30e5d1bca673ab">More...</a><br /></td></tr>
<tr class="separator:ae38dffa3217680e56e30e5d1bca673ab"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8e316b5587dc752a9f87ab7f1423af5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#ab8e316b5587dc752a9f87ab7f1423af5">ucal_setAttribute</a> (<a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="ucal_8h.html#a27f00939dd2931f252c5bc6409b83227">UCalendarAttribute</a> attr, int32_t newValue)</td></tr>
<tr class="memdesc:ab8e316b5587dc752a9f87ab7f1423af5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a numeric attribute associated with a UCalendar.  <a href="#ab8e316b5587dc752a9f87ab7f1423af5">More...</a><br /></td></tr>
<tr class="separator:ab8e316b5587dc752a9f87ab7f1423af5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a891876cc878c71f1938225622cf279f3"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a891876cc878c71f1938225622cf279f3">ucal_getAvailable</a> (int32_t localeIndex)</td></tr>
<tr class="memdesc:a891876cc878c71f1938225622cf279f3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a locale for which calendars are available.  <a href="#a891876cc878c71f1938225622cf279f3">More...</a><br /></td></tr>
<tr class="separator:a891876cc878c71f1938225622cf279f3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb607b7866f13a0330e62ad86049275f"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#abb607b7866f13a0330e62ad86049275f">ucal_countAvailable</a> (void)</td></tr>
<tr class="memdesc:abb607b7866f13a0330e62ad86049275f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determine how many locales have calendars available.  <a href="#abb607b7866f13a0330e62ad86049275f">More...</a><br /></td></tr>
<tr class="separator:abb607b7866f13a0330e62ad86049275f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a533d4cbb14bcea658867cc19dbf117e7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a533d4cbb14bcea658867cc19dbf117e7">ucal_getMillis</a> (const <a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:a533d4cbb14bcea658867cc19dbf117e7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a UCalendar's current time in millis.  <a href="#a533d4cbb14bcea658867cc19dbf117e7">More...</a><br /></td></tr>
<tr class="separator:a533d4cbb14bcea658867cc19dbf117e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a54e866c1e202544059e92d1ce7cd8853"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a54e866c1e202544059e92d1ce7cd8853">ucal_setMillis</a> (<a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> dateTime, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:a54e866c1e202544059e92d1ce7cd8853"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a UCalendar's current time in millis.  <a href="#a54e866c1e202544059e92d1ce7cd8853">More...</a><br /></td></tr>
<tr class="separator:a54e866c1e202544059e92d1ce7cd8853"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acca7f62f6e8eb75cabf2dd9f0778f7b4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#acca7f62f6e8eb75cabf2dd9f0778f7b4">ucal_setDate</a> (<a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, int32_t year, int32_t month, int32_t date, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:acca7f62f6e8eb75cabf2dd9f0778f7b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a UCalendar's current date.  <a href="#acca7f62f6e8eb75cabf2dd9f0778f7b4">More...</a><br /></td></tr>
<tr class="separator:acca7f62f6e8eb75cabf2dd9f0778f7b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8810072e357d43f6d9d4a792ff0be93e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a8810072e357d43f6d9d4a792ff0be93e">ucal_setDateTime</a> (<a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, int32_t year, int32_t month, int32_t date, int32_t hour, int32_t minute, int32_t second, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:a8810072e357d43f6d9d4a792ff0be93e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set a UCalendar's current date.  <a href="#a8810072e357d43f6d9d4a792ff0be93e">More...</a><br /></td></tr>
<tr class="separator:a8810072e357d43f6d9d4a792ff0be93e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4a978d3bd77eb69b173df4c0f07fb619"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a4a978d3bd77eb69b173df4c0f07fb619">ucal_equivalentTo</a> (const <a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal1, const <a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal2)</td></tr>
<tr class="memdesc:a4a978d3bd77eb69b173df4c0f07fb619"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns TRUE if two UCalendars are equivalent.  <a href="#a4a978d3bd77eb69b173df4c0f07fb619">More...</a><br /></td></tr>
<tr class="separator:a4a978d3bd77eb69b173df4c0f07fb619"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a764bd099486548c088bfe3356a713e0f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a764bd099486548c088bfe3356a713e0f">ucal_add</a> (<a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, int32_t amount, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:a764bd099486548c088bfe3356a713e0f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a specified signed amount to a particular field in a UCalendar.  <a href="#a764bd099486548c088bfe3356a713e0f">More...</a><br /></td></tr>
<tr class="separator:a764bd099486548c088bfe3356a713e0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b72b685f1c8d5decadaf32b22b51a2d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a8b72b685f1c8d5decadaf32b22b51a2d">ucal_roll</a> (<a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, int32_t amount, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:a8b72b685f1c8d5decadaf32b22b51a2d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Add a specified signed amount to a particular field in a UCalendar.  <a href="#a8b72b685f1c8d5decadaf32b22b51a2d">More...</a><br /></td></tr>
<tr class="separator:a8b72b685f1c8d5decadaf32b22b51a2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a61fc6f963b0cc02d97a26317d1c363be"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a61fc6f963b0cc02d97a26317d1c363be">ucal_get</a> (const <a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:a61fc6f963b0cc02d97a26317d1c363be"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current value of a field from a UCalendar.  <a href="#a61fc6f963b0cc02d97a26317d1c363be">More...</a><br /></td></tr>
<tr class="separator:a61fc6f963b0cc02d97a26317d1c363be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7652b5273a7de51cd6d2f24927a765a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#ae7652b5273a7de51cd6d2f24927a765a">ucal_set</a> (<a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, int32_t value)</td></tr>
<tr class="memdesc:ae7652b5273a7de51cd6d2f24927a765a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the value of a field in a UCalendar.  <a href="#ae7652b5273a7de51cd6d2f24927a765a">More...</a><br /></td></tr>
<tr class="separator:ae7652b5273a7de51cd6d2f24927a765a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acfcbb957b9cea4531d541a8985ab63ce"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#acfcbb957b9cea4531d541a8985ab63ce">ucal_isSet</a> (const <a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field)</td></tr>
<tr class="memdesc:acfcbb957b9cea4531d541a8985ab63ce"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determine if a field in a UCalendar is set.  <a href="#acfcbb957b9cea4531d541a8985ab63ce">More...</a><br /></td></tr>
<tr class="separator:acfcbb957b9cea4531d541a8985ab63ce"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae76331aadf36b244b2ab1ad5e4929be7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#ae76331aadf36b244b2ab1ad5e4929be7">ucal_clearField</a> (<a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field)</td></tr>
<tr class="memdesc:ae76331aadf36b244b2ab1ad5e4929be7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear a field in a UCalendar.  <a href="#ae76331aadf36b244b2ab1ad5e4929be7">More...</a><br /></td></tr>
<tr class="separator:ae76331aadf36b244b2ab1ad5e4929be7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a434b8c72e2c22018caa3a04a328ad193"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a434b8c72e2c22018caa3a04a328ad193">ucal_clear</a> (<a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *calendar)</td></tr>
<tr class="memdesc:a434b8c72e2c22018caa3a04a328ad193"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear all fields in a UCalendar.  <a href="#a434b8c72e2c22018caa3a04a328ad193">More...</a><br /></td></tr>
<tr class="separator:a434b8c72e2c22018caa3a04a328ad193"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5f43bd7f846d9dbc94a9a46af26e7ab7"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a5f43bd7f846d9dbc94a9a46af26e7ab7">ucal_getLimit</a> (const <a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="ucal_8h.html#a6e54e12f217d36570b70fafcbb557ca5">UCalendarLimitType</a> type, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:a5f43bd7f846d9dbc94a9a46af26e7ab7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Determine a limit for a field in a UCalendar.  <a href="#a5f43bd7f846d9dbc94a9a46af26e7ab7">More...</a><br /></td></tr>
<tr class="separator:a5f43bd7f846d9dbc94a9a46af26e7ab7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad487ddaaac28a622ae2b3cf2383fd3ae"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#ad487ddaaac28a622ae2b3cf2383fd3ae">ucal_getLocaleByType</a> (const <a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="uloc_8h.html#adf053345d343f8d82ae080f7a5871f34">ULocDataLocaleType</a> type, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:ad487ddaaac28a622ae2b3cf2383fd3ae"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the locale for this calendar object.  <a href="#ad487ddaaac28a622ae2b3cf2383fd3ae">More...</a><br /></td></tr>
<tr class="separator:ad487ddaaac28a622ae2b3cf2383fd3ae"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ad2dccc88f8b7017d039f1b68ba8996"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a0ad2dccc88f8b7017d039f1b68ba8996">ucal_getTZDataVersion</a> (<a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:a0ad2dccc88f8b7017d039f1b68ba8996"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the timezone data version currently used by ICU.  <a href="#a0ad2dccc88f8b7017d039f1b68ba8996">More...</a><br /></td></tr>
<tr class="separator:a0ad2dccc88f8b7017d039f1b68ba8996"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84f79f30804a091f5436ac4e29be0c37"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a84f79f30804a091f5436ac4e29be0c37">ucal_getCanonicalTimeZoneID</a> (const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *id, int32_t len, <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *result, int32_t resultCapacity, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> *isSystemID, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:a84f79f30804a091f5436ac4e29be0c37"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the canonical system timezone ID or the normalized custom time zone ID for the given time zone ID.  <a href="#a84f79f30804a091f5436ac4e29be0c37">More...</a><br /></td></tr>
<tr class="separator:a84f79f30804a091f5436ac4e29be0c37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac3da68a172e0dff2097004c811a49b13"><td class="memItemLeft" align="right" valign="top">const char *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#ac3da68a172e0dff2097004c811a49b13">ucal_getType</a> (const <a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:ac3da68a172e0dff2097004c811a49b13"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the resource keyword value string designating the calendar type for the UCalendar.  <a href="#ac3da68a172e0dff2097004c811a49b13">More...</a><br /></td></tr>
<tr class="separator:ac3da68a172e0dff2097004c811a49b13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac9f7339dd9f4fbd3463c14721bfee2b7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uenum_8h.html#a32b7253b2148022535be36a9fcdb5a8d">UEnumeration</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#ac9f7339dd9f4fbd3463c14721bfee2b7">ucal_getKeywordValuesForLocale</a> (const char *key, const char *locale, <a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> commonlyUsed, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:ac9f7339dd9f4fbd3463c14721bfee2b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Given a key and a locale, returns an array of string values in a preferred order that would make a difference.  <a href="#ac9f7339dd9f4fbd3463c14721bfee2b7">More...</a><br /></td></tr>
<tr class="separator:ac9f7339dd9f4fbd3463c14721bfee2b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a52650ccf4dae0f42dd82624a94087c61"><td class="memItemLeft" align="right" valign="top"><a class="el" href="ucal_8h.html#a5d1f042c84dc291891c208d4c7dcd933">UCalendarWeekdayType</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a52650ccf4dae0f42dd82624a94087c61">ucal_getDayOfWeekType</a> (const <a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="ucal_8h.html#a62d9fe551bd48e4141fce52b917119a4">UCalendarDaysOfWeek</a> dayOfWeek, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:a52650ccf4dae0f42dd82624a94087c61"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the given day of the week is a weekday, a weekend day, or a day that transitions from one to the other, for the locale and calendar system associated with this UCalendar (the locale's region is often the most determinant factor).  <a href="#a52650ccf4dae0f42dd82624a94087c61">More...</a><br /></td></tr>
<tr class="separator:a52650ccf4dae0f42dd82624a94087c61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a173b23a92aadc703aa33f85705af7a06"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a173b23a92aadc703aa33f85705af7a06">ucal_getWeekendTransition</a> (const <a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="ucal_8h.html#a62d9fe551bd48e4141fce52b917119a4">UCalendarDaysOfWeek</a> dayOfWeek, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:a173b23a92aadc703aa33f85705af7a06"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the time during the day at which the weekend begins or ends in this calendar system.  <a href="#a173b23a92aadc703aa33f85705af7a06">More...</a><br /></td></tr>
<tr class="separator:a173b23a92aadc703aa33f85705af7a06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adca13bcdf7e68c3e4dfad46e56e05f93"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#adca13bcdf7e68c3e4dfad46e56e05f93">ucal_isWeekend</a> (const <a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> date, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:adca13bcdf7e68c3e4dfad46e56e05f93"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns TRUE if the given UDate is in the weekend in this calendar system.  <a href="#adca13bcdf7e68c3e4dfad46e56e05f93">More...</a><br /></td></tr>
<tr class="separator:adca13bcdf7e68c3e4dfad46e56e05f93"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa329a125bf67670736446673dd03290"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#afa329a125bf67670736446673dd03290">ucal_getFieldDifference</a> (<a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> target, <a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> field, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:afa329a125bf67670736446673dd03290"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return the difference between the target time and the time this calendar object is currently set to.  <a href="#afa329a125bf67670736446673dd03290">More...</a><br /></td></tr>
<tr class="separator:afa329a125bf67670736446673dd03290"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0ac03d014ea4f701fc5f4d96952d8786"><td class="memItemLeft" align="right" valign="top"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a0ac03d014ea4f701fc5f4d96952d8786">ucal_getTimeZoneTransitionDate</a> (const <a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *cal, <a class="el" href="ucal_8h.html#a7efe6a88e42a2f34185095f4b1769531">UTimeZoneTransitionType</a> type, <a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> *transition, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:a0ac03d014ea4f701fc5f4d96952d8786"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the UDate for the next/previous time zone transition relative to the calendar's current date, in the time zone to which the calendar is currently set.  <a href="#a0ac03d014ea4f701fc5f4d96952d8786">More...</a><br /></td></tr>
<tr class="separator:a0ac03d014ea4f701fc5f4d96952d8786"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8197e52076c1d382bad9026780dd4bef"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#a8197e52076c1d382bad9026780dd4bef">ucal_getWindowsTimeZoneID</a> (const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *id, int32_t len, <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *winid, int32_t winidCapacity, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:a8197e52076c1d382bad9026780dd4bef"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts a system time zone ID to an equivalent Windows time zone ID.  <a href="#a8197e52076c1d382bad9026780dd4bef">More...</a><br /></td></tr>
<tr class="separator:a8197e52076c1d382bad9026780dd4bef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0d2a1688bec973a74b4f35fc5901dfd"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="ucal_8h.html#ab0d2a1688bec973a74b4f35fc5901dfd">ucal_getTimeZoneIDForWindowsID</a> (const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *winid, int32_t len, const char *region, <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *id, int32_t idCapacity, <a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *status)</td></tr>
<tr class="memdesc:ab0d2a1688bec973a74b4f35fc5901dfd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts a Windows time zone ID to an equivalent system time zone ID for a region.  <a href="#ab0d2a1688bec973a74b4f35fc5901dfd">More...</a><br /></td></tr>
<tr class="separator:ab0d2a1688bec973a74b4f35fc5901dfd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>C API: Calendar. </p>
<h2>Calendar 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>
<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>
<p>Like other locale-sensitive C API, calendar API provides a function, <code><a class="el" href="ucal_8h.html#ac9d3d4893f5b22a90edff24bedaf361c" title="Open a UCalendar. ">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> </p><pre>
<div class="fragment"><div class="line"><a class="code" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *caldef;</div><div class="line"><a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *tzId;</div><div class="line"><a class="code" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> status;</div><div class="line">tzId=(<a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a>*)malloc(<span class="keyword">sizeof</span>(<a class="code" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a>) * (strlen(<span class="stringliteral">&quot;PST&quot;</span>) +1) );</div><div class="line"><a class="code" href="ustring_8h.html#a0f2d5d46acef8e0eac711bef15e7531f">u_uastrcpy</a>(tzId, <span class="stringliteral">&quot;PST&quot;</span>);</div><div class="line">caldef=<a class="code" href="ucal_8h.html#ac9d3d4893f5b22a90edff24bedaf361c">ucal_open</a>(tzID, <a class="code" href="group__ustring__ustrlen.html#gac4d8a5581fc5bde71d62ebd0a7a84ec5">u_strlen</a>(tzID), <a class="code" href="utypes_8h.html#a070d2ce7b6bb7e5c05602aa8c308d0c4">NULL</a>, <a class="code" href="ucal_8h.html#a80db55a10d0808a9f9b61e105b9d32fbaf40f59ee818a37ecfa599e89eb0c334d">UCAL_TRADITIONAL</a>, &amp;status);</div></div><!-- fragment -->
</pre><p>  </blockquote></p>
<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>
<p>When computing a <code>UDate</code> from time fields, two special circumstances may arise: there may be insufficient information to compute the <code>UDate</code> (such as only year and month but no day in the month), or there may be inconsistent information (such as "Tuesday, July 15, 1996" &ndash; July 15, 1996 is actually a Monday).</p>
<p><b>Insufficient information.</b> The calendar will use default information to specify the missing fields. This may vary by calendar; for the Gregorian calendar, the default for a field is the same as that of the start of the epoch: i.e., UCAL_YEAR = 1970, UCAL_MONTH = JANUARY, UCAL_DATE = 1, etc.</p>
<p><b>Inconsistent information.</b> If fields conflict, the calendar will give preference to fields set more recently. For example, when determining the day, the calendar will look for one of the following combinations of fields. The most recent combination, as determined by the most recently set single field, will be used.</p>
<p> <blockquote> </p><pre>
<div class="fragment"><div class="line"><a class="code" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912a9546c33a33caefb88822bd22d4667fe1">UCAL_MONTH</a> + <a class="code" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912acba35fb282eacc2434e3229a3f64ef7e">UCAL_DAY_OF_MONTH</a></div><div class="line"><a class="code" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912a9546c33a33caefb88822bd22d4667fe1">UCAL_MONTH</a> + <a class="code" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912a3585d4fa3f681dbda0e9ac8826e36d2f">UCAL_WEEK_OF_MONTH</a> + <a class="code" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912ad922feccd72ca5e2ef90bb74a61f8070">UCAL_DAY_OF_WEEK</a></div><div class="line"><a class="code" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912a9546c33a33caefb88822bd22d4667fe1">UCAL_MONTH</a> + <a class="code" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912a8ed09799953a8b540f50ae856be93fc2">UCAL_DAY_OF_WEEK_IN_MONTH</a> + <a class="code" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912ad922feccd72ca5e2ef90bb74a61f8070">UCAL_DAY_OF_WEEK</a></div><div class="line"><a class="code" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912a4269b2063a9d820c4d6a81e573e72a33">UCAL_DAY_OF_YEAR</a></div><div class="line"><a class="code" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912ad922feccd72ca5e2ef90bb74a61f8070">UCAL_DAY_OF_WEEK</a> + <a class="code" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912ab4fa05d61c729a269a6b6bad11387eea">UCAL_WEEK_OF_YEAR</a></div></div><!-- fragment -->
</pre><p>  </blockquote></p>
<p>For the time of day:</p>
<p> <blockquote> </p><pre>
<div class="fragment"><div class="line"><a class="code" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912a022b239bf42bff7814930817c7190b4f">UCAL_HOUR_OF_DAY</a></div><div class="line"><a class="code" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912ad94a5edcb9a6dd1c2480f4da8151bf04">UCAL_AM_PM</a> + <a class="code" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912ac878e7ce810cf85e33b5a2e53e26c590">UCAL_HOUR</a></div></div><!-- fragment -->
</pre><p>  </blockquote></p>
<p><b>Note:</b> for some non-Gregorian calendars, different fields may be necessary for complete disambiguation. For example, a full specification of the historial Arabic astronomical calendar requires year, month, day-of-month <em>and</em> day-of-week in some cases.</p>
<p><b>Note:</b> There are certain possible ambiguities in interpretation of certain singular times, which are resolved in the following ways: </p><ol>
<li>
<p class="startli">24:00:00 "belongs" to the following day. That is, 23:59 on Dec 31, 1969 &lt; 24:00 on Jan 1, 1970 &lt; 24:01:00 on Jan 1, 1970</p>
<p class="endli"></p>
</li>
<li>
Although historically not precise, midnight also belongs to "am", and noon belongs to "pm", so on the same day, 12:00 am (midnight) &lt; 12:01 am, and 12:00 pm (noon) &lt; 12:01 pm </li>
</ol>
<p>The date or time format strings are not part of the definition of a calendar, as those must be modifiable or overridable by the user at runtime. Use <a class="el" href="classicu_1_1DateFormat.html">icu::DateFormat</a> to format dates.</p>
<p><code>Calendar</code> provides an API for field "rolling", where fields can be incremented or decremented, but wrap around. For example, rolling the month up in the date <code>December 12, <b>1996</b></code> results in <code>January 12, <b>1996</b></code>.</p>
<p><code>Calendar</code> also provides a date arithmetic function for adding the specified (signed) amount of time to a particular time field. For example, subtracting 5 days from the date <code>September 12, 1996</code> results in <code>September 7, 1996</code>.</p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004797">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>.</p>
</div><h2 class="groupheader">Macro Definition Documentation</h2>
<a class="anchor" id="a0682edd5dfe37d2abe4bb9fb5a9733d9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define UCAL_UNKNOWN_ZONE_ID&#160;&#160;&#160;&quot;Etc/Unknown&quot;</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>The time zone ID reserved for unknown time zone. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004798">Stable:</a></b></dt><dd>ICU 4.8 </dd></dl>

<p>Definition at line <a class="el" href="ucal_8h_source.html#l00149">149</a> of file <a class="el" href="ucal_8h_source.html">ucal.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Typedef Documentation</h2>
<a class="anchor" id="afb45437aa9182d9fdcd96a2119e1e144"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef void* <a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a></td>
        </tr>
      </table>
</div><div class="memdoc">

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

<p>Definition at line <a class="el" href="ucal_8h_source.html#l00155">155</a> of file <a class="el" href="ucal_8h_source.html">ucal.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa43be2256b8b849142434d499a11250c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef enum <a class="el" href="ucal_8h.html#a71d1396f68a0ccc8bd7e5e0fe006b6a7">UCalendarAMPMs</a> <a class="el" href="ucal_8h.html#a71d1396f68a0ccc8bd7e5e0fe006b6a7">UCalendarAMPMs</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004809">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="ucal_8h_source.html#l00526">526</a> of file <a class="el" href="ucal_8h_source.html">ucal.h</a>.</p>

</div>
</div>
<a class="anchor" id="afd668c58b07e90db871679752528b341"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef enum <a class="el" href="ucal_8h.html#a27f00939dd2931f252c5bc6409b83227">UCalendarAttribute</a> <a class="el" href="ucal_8h.html#a27f00939dd2931f252c5bc6409b83227">UCalendarAttribute</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004831">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="ucal_8h_source.html#l00900">900</a> of file <a class="el" href="ucal_8h_source.html">ucal.h</a>.</p>

</div>
</div>
<a class="anchor" id="a28411d3f471b1720fe688466983d2298"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef enum <a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a> <a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004803">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="ucal_8h_source.html#l00448">448</a> of file <a class="el" href="ucal_8h_source.html">ucal.h</a>.</p>

</div>
</div>
<a class="anchor" id="a550de202361f87c31be2c566ab0f8ed3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef enum <a class="el" href="ucal_8h.html#a62d9fe551bd48e4141fce52b917119a4">UCalendarDaysOfWeek</a> <a class="el" href="ucal_8h.html#a62d9fe551bd48e4141fce52b917119a4">UCalendarDaysOfWeek</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004805">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="ucal_8h_source.html#l00475">475</a> of file <a class="el" href="ucal_8h_source.html">ucal.h</a>.</p>

</div>
</div>
<a class="anchor" id="a56a25733a15ea9e894b43d9dcb2b44be"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef enum <a class="el" href="ucal_8h.html#ae9370947c6da3c8ee5ee034307ac5d03">UCalendarDisplayNameType</a> <a class="el" href="ucal_8h.html#ae9370947c6da3c8ee5ee034307ac5d03">UCalendarDisplayNameType</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004825">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="ucal_8h_source.html#l00784">784</a> of file <a class="el" href="ucal_8h_source.html">ucal.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac122fc97b5e965a32c68d288b636caaf"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef enum <a class="el" href="ucal_8h.html#a6e54e12f217d36570b70fafcbb557ca5">UCalendarLimitType</a> <a class="el" href="ucal_8h.html#a6e54e12f217d36570b70fafcbb557ca5">UCalendarLimitType</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004851">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="ucal_8h_source.html#l01243">1243</a> of file <a class="el" href="ucal_8h_source.html">ucal.h</a>.</p>

</div>
</div>
<a class="anchor" id="abd7f7265f470ed43d9823ae80bb908b3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef enum <a class="el" href="ucal_8h.html#af13a67d4d259962e1840471f3a8e6596">UCalendarMonths</a> <a class="el" href="ucal_8h.html#af13a67d4d259962e1840471f3a8e6596">UCalendarMonths</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004807">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="ucal_8h_source.html#l00513">513</a> of file <a class="el" href="ucal_8h_source.html">ucal.h</a>.</p>

</div>
</div>
<a class="anchor" id="aeb82adf34aef02bbf8812623c2476060"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef enum <a class="el" href="ucal_8h.html#a80db55a10d0808a9f9b61e105b9d32fb">UCalendarType</a> <a class="el" href="ucal_8h.html#a80db55a10d0808a9f9b61e105b9d32fb">UCalendarType</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004801">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

<p>Definition at line <a class="el" href="ucal_8h_source.html#l00180">180</a> of file <a class="el" href="ucal_8h_source.html">ucal.h</a>.</p>

</div>
</div>
<a class="anchor" id="afddbaf64e77a06c2a3e55863864a4504"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef enum <a class="el" href="ucal_8h.html#a4868f5e191f75ed38b7ee0c3040317b8">UCalendarWallTimeOption</a> <a class="el" href="ucal_8h.html#a4868f5e191f75ed38b7ee0c3040317b8">UCalendarWallTimeOption</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004833">Stable:</a></b></dt><dd>ICU 49 </dd></dl>

<p>Definition at line <a class="el" href="ucal_8h_source.html#l00930">930</a> of file <a class="el" href="ucal_8h_source.html">ucal.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5465b37f73d5098a53e0e4b19d4f1ae4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef enum <a class="el" href="ucal_8h.html#a5d1f042c84dc291891c208d4c7dcd933">UCalendarWeekdayType</a> <a class="el" href="ucal_8h.html#a5d1f042c84dc291891c208d4c7dcd933">UCalendarWeekdayType</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004859">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl>

<p>Definition at line <a class="el" href="ucal_8h_source.html#l01367">1367</a> of file <a class="el" href="ucal_8h_source.html">ucal.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac2782d4c319d095ed86e4931f49e880a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef enum <a class="el" href="ucal_8h.html#a246d867677ec1a02775072aa0b5b018a">USystemTimeZoneType</a> <a class="el" href="ucal_8h.html#a246d867677ec1a02775072aa0b5b018a">USystemTimeZoneType</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004811">Stable:</a></b></dt><dd>ICU 4.8 </dd></dl>

<p>Definition at line <a class="el" href="ucal_8h_source.html#l00553">553</a> of file <a class="el" href="ucal_8h_source.html">ucal.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5850f53c7316e46ee0e7a5e002a18a20"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef enum <a class="el" href="ucal_8h.html#a7efe6a88e42a2f34185095f4b1769531">UTimeZoneTransitionType</a> <a class="el" href="ucal_8h.html#a7efe6a88e42a2f34185095f4b1769531">UTimeZoneTransitionType</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004865">Stable:</a></b></dt><dd>ICU 50 </dd></dl>

<p>Definition at line <a class="el" href="ucal_8h_source.html#l01481">1481</a> of file <a class="el" href="ucal_8h_source.html">ucal.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Enumeration Type Documentation</h2>
<a class="anchor" id="a71d1396f68a0ccc8bd7e5e0fe006b6a7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="ucal_8h.html#a71d1396f68a0ccc8bd7e5e0fe006b6a7">UCalendarAMPMs</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Possible AM/PM values in a UCalendar. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004808">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a71d1396f68a0ccc8bd7e5e0fe006b6a7a8e263e26565f79225bea76abe8c39633"></a>UCAL_AM&#160;</td><td class="fielddoc">
<p>AM. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a71d1396f68a0ccc8bd7e5e0fe006b6a7ae95c19de4c6f88c1a5ac28816c2a2c2d"></a>UCAL_PM&#160;</td><td class="fielddoc">
<p>PM. </p>
</td></tr>
</table>

<p>Definition at line <a class="el" href="ucal_8h_source.html#l00518">518</a> of file <a class="el" href="ucal_8h_source.html">ucal.h</a>.</p>

</div>
</div>
<a class="anchor" id="a27f00939dd2931f252c5bc6409b83227"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="ucal_8h.html#a27f00939dd2931f252c5bc6409b83227">UCalendarAttribute</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Types of UCalendar attributes. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004830">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a27f00939dd2931f252c5bc6409b83227aeea5fa7f20994cc894b5ba747c2332fd"></a>UCAL_LENIENT&#160;</td><td class="fielddoc">
<p>Lenient parsing. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004899">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a27f00939dd2931f252c5bc6409b83227a72d3e8c1713ca82417133ff6eaf50a41"></a>UCAL_FIRST_DAY_OF_WEEK&#160;</td><td class="fielddoc">
<p>First day of week. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004900">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a27f00939dd2931f252c5bc6409b83227a4d1acaedb5fbcdf78f0ed0c15bf2d0bd"></a>UCAL_MINIMAL_DAYS_IN_FIRST_WEEK&#160;</td><td class="fielddoc">
<p>Minimum number of days in first week. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004901">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a27f00939dd2931f252c5bc6409b83227a5765dc992a69432f08ff7a3173899963"></a>UCAL_REPEATED_WALL_TIME&#160;</td><td class="fielddoc">
<p>The behavior for handling wall time repeating multiple times at negative time zone offset transitions. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004902">Stable:</a></b></dt><dd>ICU 49 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a27f00939dd2931f252c5bc6409b83227aa0881bbd9455be17de3a7d16bd4a948f"></a>UCAL_SKIPPED_WALL_TIME&#160;</td><td class="fielddoc">
<p>The behavior for handling skipped wall time at positive time zone offset transitions. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004903">Stable:</a></b></dt><dd>ICU 49 </dd></dl>
</td></tr>
</table>

<p>Definition at line <a class="el" href="ucal_8h_source.html#l00869">869</a> of file <a class="el" href="ucal_8h_source.html">ucal.h</a>.</p>

</div>
</div>
<a class="anchor" id="a02fe23bf33319052733c00c7a09ea912"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Possible fields in a UCalendar. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004802">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a02fe23bf33319052733c00c7a09ea912a0ddda11f9012d9b033adab7e5d99a8d7"></a>UCAL_ERA&#160;</td><td class="fielddoc">
<p>Field number indicating the era, e.g., AD or BC in the Gregorian (Julian) calendar. </p>
<p>This is a calendar-specific value. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable004872">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a02fe23bf33319052733c00c7a09ea912a3e2b44660e01084c8b4990f281554ae1"></a>UCAL_YEAR&#160;</td><td class="fielddoc">
<p>Field number indicating the year. </p>
<p>This is a calendar-specific value. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable004873">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a02fe23bf33319052733c00c7a09ea912a9546c33a33caefb88822bd22d4667fe1"></a>UCAL_MONTH&#160;</td><td class="fielddoc">
<p>Field number indicating the month. </p>
<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. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="ucal_8h.html#af13a67d4d259962e1840471f3a8e6596ad2803ac4940572b4d1fc390861d9759c" title="January. ">UCAL_JANUARY</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#af13a67d4d259962e1840471f3a8e6596ad9122013c38c7d414c6428fd4d9d8ad0" title="February. ">UCAL_FEBRUARY</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#af13a67d4d259962e1840471f3a8e6596af65658af9cb3b9b829ae218318d8c11b" title="March. ">UCAL_MARCH</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#af13a67d4d259962e1840471f3a8e6596a5053c7488e7a8b39af59408377d40ed6" title="April. ">UCAL_APRIL</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#af13a67d4d259962e1840471f3a8e6596a2c0d943daf44e035240e215d9d52b463" title="May. ">UCAL_MAY</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#af13a67d4d259962e1840471f3a8e6596a61e354d2e762e2f65cc2241f3860cff8" title="June. ">UCAL_JUNE</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#af13a67d4d259962e1840471f3a8e6596a8ca4ce198fa1ea4285d2a2198d418ba5" title="July. ">UCAL_JULY</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#af13a67d4d259962e1840471f3a8e6596a892d007d133f3d5d07831fe621b0597b" title="August. ">UCAL_AUGUST</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#af13a67d4d259962e1840471f3a8e6596ab0540bee00a697ff57961d1bd58f67da" title="September. ">UCAL_SEPTEMBER</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#af13a67d4d259962e1840471f3a8e6596afcc006296cc7b9b3b04c9a26c44181c5" title="October. ">UCAL_OCTOBER</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#af13a67d4d259962e1840471f3a8e6596a5bf40eb18049fa52944f56f73a56d5a4" title="November. ">UCAL_NOVEMBER</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#af13a67d4d259962e1840471f3a8e6596a1f72a7edd4372272ab30f84670cd763b" title="December. ">UCAL_DECEMBER</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#af13a67d4d259962e1840471f3a8e6596a2ee2afdd3972c479165f030634645ab6" title="Value of the UCAL_MONTH field indicating the thirteenth month of the year. ">UCAL_UNDECIMBER</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004874">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a02fe23bf33319052733c00c7a09ea912ab4fa05d61c729a269a6b6bad11387eea"></a>UCAL_WEEK_OF_YEAR&#160;</td><td class="fielddoc">
<p>Field number indicating the week number within the current year. </p>
<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. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="ucal_8h.html#ae38dffa3217680e56e30e5d1bca673ab" title="Get a numeric attribute associated with a UCalendar. ">ucal_getAttribute</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#ab8e316b5587dc752a9f87ab7f1423af5" title="Set a numeric attribute associated with a UCalendar. ">ucal_setAttribute</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004875">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a02fe23bf33319052733c00c7a09ea912a3585d4fa3f681dbda0e9ac8826e36d2f"></a>UCAL_WEEK_OF_MONTH&#160;</td><td class="fielddoc">
<p>Field number indicating the week number within the current month. </p>
<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. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="ucal_8h.html#ae38dffa3217680e56e30e5d1bca673ab" title="Get a numeric attribute associated with a UCalendar. ">ucal_getAttribute</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#ab8e316b5587dc752a9f87ab7f1423af5" title="Set a numeric attribute associated with a UCalendar. ">ucal_setAttribute</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#a27f00939dd2931f252c5bc6409b83227a72d3e8c1713ca82417133ff6eaf50a41" title="First day of week. ">UCAL_FIRST_DAY_OF_WEEK</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#a27f00939dd2931f252c5bc6409b83227a4d1acaedb5fbcdf78f0ed0c15bf2d0bd" title="Minimum number of days in first week. ">UCAL_MINIMAL_DAYS_IN_FIRST_WEEK</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004876">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a02fe23bf33319052733c00c7a09ea912a8086caf60ea1b9ca1f3ce590da84869e"></a>UCAL_DATE&#160;</td><td class="fielddoc">
<p>Field number indicating the day of the month. </p>
<p>This is a synonym for <code>DAY_OF_MONTH</code>. The first day of the month has value 1. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912acba35fb282eacc2434e3229a3f64ef7e" title="Field number indicating the day of the month. ">UCAL_DAY_OF_MONTH</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004877">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a02fe23bf33319052733c00c7a09ea912a4269b2063a9d820c4d6a81e573e72a33"></a>UCAL_DAY_OF_YEAR&#160;</td><td class="fielddoc">
<p>Field number indicating the day number within the current year. </p>
<p>The first day of the year has value 1. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable004878">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a02fe23bf33319052733c00c7a09ea912ad922feccd72ca5e2ef90bb74a61f8070"></a>UCAL_DAY_OF_WEEK&#160;</td><td class="fielddoc">
<p>Field number indicating the day of the week. </p>
<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>. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="ucal_8h.html#a62d9fe551bd48e4141fce52b917119a4a9db1e73b33252ffcd5d5a4197b68f805" title="Sunday. ">UCAL_SUNDAY</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#a62d9fe551bd48e4141fce52b917119a4a5b068ab70005ef07850e561b57d6bdd7" title="Monday. ">UCAL_MONDAY</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#a62d9fe551bd48e4141fce52b917119a4ab64dd41ed18baeb2b150537abe744300" title="Tuesday. ">UCAL_TUESDAY</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#a62d9fe551bd48e4141fce52b917119a4a15a79079833f1119c2ed93edf6b02c99" title="Wednesday. ">UCAL_WEDNESDAY</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#a62d9fe551bd48e4141fce52b917119a4a58049393d8ffb9b243ab7dd46b0b605a" title="Thursday. ">UCAL_THURSDAY</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#a62d9fe551bd48e4141fce52b917119a4a9ee63f42c2e84d0b6c743ca021097374" title="Friday. ">UCAL_FRIDAY</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#a62d9fe551bd48e4141fce52b917119a4a358e7ba575ccb0ef2b531ac7945cff2f" title="Saturday. ">UCAL_SATURDAY</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004879">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a02fe23bf33319052733c00c7a09ea912a8ed09799953a8b540f50ae856be93fc2"></a>UCAL_DAY_OF_WEEK_IN_MONTH&#160;</td><td class="fielddoc">
<p>Field number indicating the ordinal number of the day of the week within the current month. </p>
<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>. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912ad922feccd72ca5e2ef90bb74a61f8070" title="Field number indicating the day of the week. ">UCAL_DAY_OF_WEEK</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912a3585d4fa3f681dbda0e9ac8826e36d2f" title="Field number indicating the week number within the current month. ">UCAL_WEEK_OF_MONTH</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004880">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a02fe23bf33319052733c00c7a09ea912ad94a5edcb9a6dd1c2480f4da8151bf04"></a>UCAL_AM_PM&#160;</td><td class="fielddoc">
<p>Field number indicating whether the <code>HOUR</code> is before or after noon. </p>
<p>E.g., at 10:04:15.250 PM the <code>AM_PM</code> is <code>PM</code>. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="ucal_8h.html#a71d1396f68a0ccc8bd7e5e0fe006b6a7a8e263e26565f79225bea76abe8c39633" title="AM. ">UCAL_AM</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#a71d1396f68a0ccc8bd7e5e0fe006b6a7ae95c19de4c6f88c1a5ac28816c2a2c2d" title="PM. ">UCAL_PM</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912ac878e7ce810cf85e33b5a2e53e26c590" title="Field number indicating the hour of the morning or afternoon. ">UCAL_HOUR</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004881">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a02fe23bf33319052733c00c7a09ea912ac878e7ce810cf85e33b5a2e53e26c590"></a>UCAL_HOUR&#160;</td><td class="fielddoc">
<p>Field number indicating the hour of the morning or afternoon. </p>
<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. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912ad94a5edcb9a6dd1c2480f4da8151bf04" title="Field number indicating whether the HOUR is before or after noon. ">UCAL_AM_PM</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912a022b239bf42bff7814930817c7190b4f" title="Field number indicating the hour of the day. ">UCAL_HOUR_OF_DAY</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004882">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a02fe23bf33319052733c00c7a09ea912a022b239bf42bff7814930817c7190b4f"></a>UCAL_HOUR_OF_DAY&#160;</td><td class="fielddoc">
<p>Field number indicating the hour of the day. </p>
<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. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912ac878e7ce810cf85e33b5a2e53e26c590" title="Field number indicating the hour of the morning or afternoon. ">UCAL_HOUR</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004883">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a02fe23bf33319052733c00c7a09ea912a581a19cc0c5ff9ba238088cdb062c861"></a>UCAL_MINUTE&#160;</td><td class="fielddoc">
<p>Field number indicating the minute within the hour. </p>
<p>E.g., at 10:04:15.250 PM the <code>UCAL_MINUTE</code> is 4. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable004884">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a02fe23bf33319052733c00c7a09ea912a8bf78aa14924fb5eacd123ed11eedb9b"></a>UCAL_SECOND&#160;</td><td class="fielddoc">
<p>Field number indicating the second within the minute. </p>
<p>E.g., at 10:04:15.250 PM the <code>UCAL_SECOND</code> is 15. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable004885">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a02fe23bf33319052733c00c7a09ea912abc240c53c10619668e22f5cc08dc9555"></a>UCAL_MILLISECOND&#160;</td><td class="fielddoc">
<p>Field number indicating the millisecond within the second. </p>
<p>E.g., at 10:04:15.250 PM the <code>UCAL_MILLISECOND</code> is 250. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable004886">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a02fe23bf33319052733c00c7a09ea912a956400c61f7ff988019c663580d4984c"></a>UCAL_ZONE_OFFSET&#160;</td><td class="fielddoc">
<p>Field number indicating the raw offset from GMT in milliseconds. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004887">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a02fe23bf33319052733c00c7a09ea912adeaf79a310cfb7f9036a431b9ae0ff2a"></a>UCAL_DST_OFFSET&#160;</td><td class="fielddoc">
<p>Field number indicating the daylight savings offset in milliseconds. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004888">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a02fe23bf33319052733c00c7a09ea912a581404a7c0401eb1dbb5dc01f0f0ef8c"></a>UCAL_YEAR_WOY&#160;</td><td class="fielddoc">
<p>Field number indicating the extended year corresponding to the <code>UCAL_WEEK_OF_YEAR</code> field. </p>
<p>This may be one greater or less than the value of <code>UCAL_EXTENDED_YEAR</code>. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable004889">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a02fe23bf33319052733c00c7a09ea912afdf3076e740fbe439f89dd3214f0704b"></a>UCAL_DOW_LOCAL&#160;</td><td class="fielddoc">
<p>Field number indicating the localized day of week. </p>
<p>This will be a value from 1 to 7 inclusive, with 1 being the localized first day of the week. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable004890">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a02fe23bf33319052733c00c7a09ea912a0612bde412d2c2ca9d3210937cc01f07"></a>UCAL_EXTENDED_YEAR&#160;</td><td class="fielddoc">
<p>Year of this calendar system, encompassing all supra-year fields. </p>
<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. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable004891">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a02fe23bf33319052733c00c7a09ea912a747a5a465beccf87a42a91f7948d5518"></a>UCAL_JULIAN_DAY&#160;</td><td class="fielddoc">
<p>Field number indicating the modified Julian day number. </p>
<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. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable004892">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a02fe23bf33319052733c00c7a09ea912afc6b7fa25f397758f03ad799ff057ca1"></a>UCAL_MILLISECONDS_IN_DAY&#160;</td><td class="fielddoc">
<p>Ranges from 0 to 23:59:59.999 (regardless of DST). </p>
<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. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable004893">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a02fe23bf33319052733c00c7a09ea912adc4087f0cb61ac13578cff55c6ad753e"></a>UCAL_IS_LEAP_MONTH&#160;</td><td class="fielddoc">
<p>Whether or not the current month is a leap month (0 or 1). </p>
<p>See the Chinese calendar for an example of this. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a02fe23bf33319052733c00c7a09ea912adbfdd6e6b1bc1be830c7f1ba29f2c68c"></a>UCAL_FIELD_COUNT&#160;</td><td class="fielddoc">
<p>One more than the highest normal UCalendarDateFields value. </p>
<dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000395">Deprecated:</a></b></dt><dd>ICU 58 The numeric value may change over time, see ICU ticket #12420. </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a02fe23bf33319052733c00c7a09ea912acba35fb282eacc2434e3229a3f64ef7e"></a>UCAL_DAY_OF_MONTH&#160;</td><td class="fielddoc">
<p>Field number indicating the day of the month. </p>
<p>This is a synonym for <code>UCAL_DATE</code>. The first day of the month has value 1. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912a8086caf60ea1b9ca1f3ce590da84869e" title="Field number indicating the day of the month. ">UCAL_DATE</a> Synonym for <a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912a8086caf60ea1b9ca1f3ce590da84869e" title="Field number indicating the day of the month. ">UCAL_DATE</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004894">Stable:</a></b></dt><dd>ICU 2.8 </dd></dl>
</td></tr>
</table>

<p>Definition at line <a class="el" href="ucal_8h_source.html#l00185">185</a> of file <a class="el" href="ucal_8h_source.html">ucal.h</a>.</p>

</div>
</div>
<a class="anchor" id="a62d9fe551bd48e4141fce52b917119a4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="ucal_8h.html#a62d9fe551bd48e4141fce52b917119a4">UCalendarDaysOfWeek</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Useful constant for days of week. </p>
<p>Note: Calendar day-of-week is 1-based. Clients who create locale resources for the field of first-day-of-week should be aware of this. For instance, in US locale, first-day-of-week is set to 1, i.e., UCAL_SUNDAY. Possible days of the week in a UCalendar </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable004804">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a62d9fe551bd48e4141fce52b917119a4a9db1e73b33252ffcd5d5a4197b68f805"></a>UCAL_SUNDAY&#160;</td><td class="fielddoc">
<p>Sunday. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a62d9fe551bd48e4141fce52b917119a4a5b068ab70005ef07850e561b57d6bdd7"></a>UCAL_MONDAY&#160;</td><td class="fielddoc">
<p>Monday. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a62d9fe551bd48e4141fce52b917119a4ab64dd41ed18baeb2b150537abe744300"></a>UCAL_TUESDAY&#160;</td><td class="fielddoc">
<p>Tuesday. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a62d9fe551bd48e4141fce52b917119a4a15a79079833f1119c2ed93edf6b02c99"></a>UCAL_WEDNESDAY&#160;</td><td class="fielddoc">
<p>Wednesday. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a62d9fe551bd48e4141fce52b917119a4a58049393d8ffb9b243ab7dd46b0b605a"></a>UCAL_THURSDAY&#160;</td><td class="fielddoc">
<p>Thursday. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a62d9fe551bd48e4141fce52b917119a4a9ee63f42c2e84d0b6c743ca021097374"></a>UCAL_FRIDAY&#160;</td><td class="fielddoc">
<p>Friday. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a62d9fe551bd48e4141fce52b917119a4a358e7ba575ccb0ef2b531ac7945cff2f"></a>UCAL_SATURDAY&#160;</td><td class="fielddoc">
<p>Saturday. </p>
</td></tr>
</table>

<p>Definition at line <a class="el" href="ucal_8h_source.html#l00457">457</a> of file <a class="el" href="ucal_8h_source.html">ucal.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae9370947c6da3c8ee5ee034307ac5d03"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="ucal_8h.html#ae9370947c6da3c8ee5ee034307ac5d03">UCalendarDisplayNameType</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Possible formats for a UCalendar's display name. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004824">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="ae9370947c6da3c8ee5ee034307ac5d03a36a8a634859870566e8b5cc464ce2341"></a>UCAL_STANDARD&#160;</td><td class="fielddoc">
<p>Standard display name. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ae9370947c6da3c8ee5ee034307ac5d03a842b1349f0d44070af11a2eef0351785"></a>UCAL_SHORT_STANDARD&#160;</td><td class="fielddoc">
<p>Short standard display name. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ae9370947c6da3c8ee5ee034307ac5d03a89cff48ba2493249328e43c6e93505de"></a>UCAL_DST&#160;</td><td class="fielddoc">
<p>Daylight savings display name. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="ae9370947c6da3c8ee5ee034307ac5d03a50794c17996d69d2666ce6704dab3a2f"></a>UCAL_SHORT_DST&#160;</td><td class="fielddoc">
<p>Short daylight savings display name. </p>
</td></tr>
</table>

<p>Definition at line <a class="el" href="ucal_8h_source.html#l00772">772</a> of file <a class="el" href="ucal_8h_source.html">ucal.h</a>.</p>

</div>
</div>
<a class="anchor" id="a6e54e12f217d36570b70fafcbb557ca5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="ucal_8h.html#a6e54e12f217d36570b70fafcbb557ca5">UCalendarLimitType</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Possible limit values for a UCalendar. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004850">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a6e54e12f217d36570b70fafcbb557ca5aa274d987e6cb730dc6711a378faa654d"></a>UCAL_MINIMUM&#160;</td><td class="fielddoc">
<p>Minimum value. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a6e54e12f217d36570b70fafcbb557ca5ab80ad3ad8e6242e0c605d853432e3679"></a>UCAL_MAXIMUM&#160;</td><td class="fielddoc">
<p>Maximum value. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a6e54e12f217d36570b70fafcbb557ca5a3db8def982b824fa3603182a5c82f4b3"></a>UCAL_GREATEST_MINIMUM&#160;</td><td class="fielddoc">
<p>Greatest minimum value. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a6e54e12f217d36570b70fafcbb557ca5acb2cdcd3fdff6dbec96db2e2d626ad7e"></a>UCAL_LEAST_MAXIMUM&#160;</td><td class="fielddoc">
<p>Leaest maximum value. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a6e54e12f217d36570b70fafcbb557ca5a255825275dfe67f2cd05171c98a0b619"></a>UCAL_ACTUAL_MINIMUM&#160;</td><td class="fielddoc">
<p>Actual minimum value. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a6e54e12f217d36570b70fafcbb557ca5a0d12baa240dc171eed50cd2148a289e7"></a>UCAL_ACTUAL_MAXIMUM&#160;</td><td class="fielddoc">
<p>Actual maximum value. </p>
</td></tr>
</table>

<p>Definition at line <a class="el" href="ucal_8h_source.html#l01227">1227</a> of file <a class="el" href="ucal_8h_source.html">ucal.h</a>.</p>

</div>
</div>
<a class="anchor" id="af13a67d4d259962e1840471f3a8e6596"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="ucal_8h.html#af13a67d4d259962e1840471f3a8e6596">UCalendarMonths</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Possible months in a UCalendar. </p>
<p>Note: Calendar month is 0-based. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable004806">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="af13a67d4d259962e1840471f3a8e6596ad2803ac4940572b4d1fc390861d9759c"></a>UCAL_JANUARY&#160;</td><td class="fielddoc">
<p>January. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="af13a67d4d259962e1840471f3a8e6596ad9122013c38c7d414c6428fd4d9d8ad0"></a>UCAL_FEBRUARY&#160;</td><td class="fielddoc">
<p>February. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="af13a67d4d259962e1840471f3a8e6596af65658af9cb3b9b829ae218318d8c11b"></a>UCAL_MARCH&#160;</td><td class="fielddoc">
<p>March. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="af13a67d4d259962e1840471f3a8e6596a5053c7488e7a8b39af59408377d40ed6"></a>UCAL_APRIL&#160;</td><td class="fielddoc">
<p>April. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="af13a67d4d259962e1840471f3a8e6596a2c0d943daf44e035240e215d9d52b463"></a>UCAL_MAY&#160;</td><td class="fielddoc">
<p>May. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="af13a67d4d259962e1840471f3a8e6596a61e354d2e762e2f65cc2241f3860cff8"></a>UCAL_JUNE&#160;</td><td class="fielddoc">
<p>June. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="af13a67d4d259962e1840471f3a8e6596a8ca4ce198fa1ea4285d2a2198d418ba5"></a>UCAL_JULY&#160;</td><td class="fielddoc">
<p>July. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="af13a67d4d259962e1840471f3a8e6596a892d007d133f3d5d07831fe621b0597b"></a>UCAL_AUGUST&#160;</td><td class="fielddoc">
<p>August. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="af13a67d4d259962e1840471f3a8e6596ab0540bee00a697ff57961d1bd58f67da"></a>UCAL_SEPTEMBER&#160;</td><td class="fielddoc">
<p>September. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="af13a67d4d259962e1840471f3a8e6596afcc006296cc7b9b3b04c9a26c44181c5"></a>UCAL_OCTOBER&#160;</td><td class="fielddoc">
<p>October. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="af13a67d4d259962e1840471f3a8e6596a5bf40eb18049fa52944f56f73a56d5a4"></a>UCAL_NOVEMBER&#160;</td><td class="fielddoc">
<p>November. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="af13a67d4d259962e1840471f3a8e6596a1f72a7edd4372272ab30f84670cd763b"></a>UCAL_DECEMBER&#160;</td><td class="fielddoc">
<p>December. </p>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="af13a67d4d259962e1840471f3a8e6596a2ee2afdd3972c479165f030634645ab6"></a>UCAL_UNDECIMBER&#160;</td><td class="fielddoc">
<p>Value of the <code>UCAL_MONTH</code> field indicating the thirteenth month of the year. </p>
<p>Although the Gregorian calendar does not use this value, lunar calendars do. </p>
</td></tr>
</table>

<p>Definition at line <a class="el" href="ucal_8h_source.html#l00480">480</a> of file <a class="el" href="ucal_8h_source.html">ucal.h</a>.</p>

</div>
</div>
<a class="anchor" id="a80db55a10d0808a9f9b61e105b9d32fb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="ucal_8h.html#a80db55a10d0808a9f9b61e105b9d32fb">UCalendarType</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Possible types of UCalendars. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004800">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a80db55a10d0808a9f9b61e105b9d32fbaf40f59ee818a37ecfa599e89eb0c334d"></a>UCAL_TRADITIONAL&#160;</td><td class="fielddoc">
<p>Despite the name, UCAL_TRADITIONAL designates the locale's default calendar, which may be the Gregorian calendar or some other calendar. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004869">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a80db55a10d0808a9f9b61e105b9d32fbab760bad9d085a7a294617c828ef08160"></a>UCAL_DEFAULT&#160;</td><td class="fielddoc">
<p>A better name for UCAL_TRADITIONAL. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004870">Stable:</a></b></dt><dd>ICU 4.2 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a80db55a10d0808a9f9b61e105b9d32fba164278e20451a4f30269beac1a7ee3f3"></a>UCAL_GREGORIAN&#160;</td><td class="fielddoc">
<p>Unambiguously designates the Gregorian calendar for the locale. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004871">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>
</td></tr>
</table>

<p>Definition at line <a class="el" href="ucal_8h_source.html#l00160">160</a> of file <a class="el" href="ucal_8h_source.html">ucal.h</a>.</p>

</div>
</div>
<a class="anchor" id="a4868f5e191f75ed38b7ee0c3040317b8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="ucal_8h.html#a4868f5e191f75ed38b7ee0c3040317b8">UCalendarWallTimeOption</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Options for handling ambiguous wall time at time zone offset transitions. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004832">Stable:</a></b></dt><dd>ICU 49 </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a4868f5e191f75ed38b7ee0c3040317b8ac1c848e697f23677a729997e45257045"></a>UCAL_WALLTIME_LAST&#160;</td><td class="fielddoc">
<p>An ambiguous wall time to be interpreted as the latest. </p>
<p>This option is valid for UCAL_REPEATED_WALL_TIME and UCAL_SKIPPED_WALL_TIME. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable004904">Stable:</a></b></dt><dd>ICU 49 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a4868f5e191f75ed38b7ee0c3040317b8aebf8f4b12bd50372de404404c9988519"></a>UCAL_WALLTIME_FIRST&#160;</td><td class="fielddoc">
<p>An ambiguous wall time to be interpreted as the earliest. </p>
<p>This option is valid for UCAL_REPEATED_WALL_TIME and UCAL_SKIPPED_WALL_TIME. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable004905">Stable:</a></b></dt><dd>ICU 49 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a4868f5e191f75ed38b7ee0c3040317b8a5f5928af0958c098d82867d4db2316f2"></a>UCAL_WALLTIME_NEXT_VALID&#160;</td><td class="fielddoc">
<p>An ambiguous wall time to be interpreted as the next valid wall time. </p>
<p>This option is valid for UCAL_SKIPPED_WALL_TIME. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable004906">Stable:</a></b></dt><dd>ICU 49 </dd></dl>
</td></tr>
</table>

<p>Definition at line <a class="el" href="ucal_8h_source.html#l00907">907</a> of file <a class="el" href="ucal_8h_source.html">ucal.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5d1f042c84dc291891c208d4c7dcd933"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="ucal_8h.html#a5d1f042c84dc291891c208d4c7dcd933">UCalendarWeekdayType</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Weekday types, as returned by <a class="el" href="ucal_8h.html#a52650ccf4dae0f42dd82624a94087c61" title="Returns whether the given day of the week is a weekday, a weekend day, or a day that transitions from...">ucal_getDayOfWeekType()</a>. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004858">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a5d1f042c84dc291891c208d4c7dcd933a504468a7025689a67ae0929220cad567"></a>UCAL_WEEKDAY&#160;</td><td class="fielddoc">
<p>Designates a full weekday (no part of the day is included in the weekend). </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004907">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a5d1f042c84dc291891c208d4c7dcd933abce2190f0f34ede2ee3915021850d14c"></a>UCAL_WEEKEND&#160;</td><td class="fielddoc">
<p>Designates a full weekend day (the entire day is included in the weekend). </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004908">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a5d1f042c84dc291891c208d4c7dcd933abee3ccd0c66b3075f5c77681841aea3b"></a>UCAL_WEEKEND_ONSET&#160;</td><td class="fielddoc">
<p>Designates a day that starts as a weekday and transitions to the weekend. </p>
<p>Call <a class="el" href="ucal_8h.html#a173b23a92aadc703aa33f85705af7a06" title="Returns the time during the day at which the weekend begins or ends in this calendar system...">ucal_getWeekendTransition()</a> to get the time of transition. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable004909">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a5d1f042c84dc291891c208d4c7dcd933ab60b882dfc55b2706aae4735d3b6e918"></a>UCAL_WEEKEND_CEASE&#160;</td><td class="fielddoc">
<p>Designates a day that starts as the weekend and transitions to a weekday. </p>
<p>Call <a class="el" href="ucal_8h.html#a173b23a92aadc703aa33f85705af7a06" title="Returns the time during the day at which the weekend begins or ends in this calendar system...">ucal_getWeekendTransition()</a> to get the time of transition. </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable004910">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl>
</td></tr>
</table>

<p>Definition at line <a class="el" href="ucal_8h_source.html#l01341">1341</a> of file <a class="el" href="ucal_8h_source.html">ucal.h</a>.</p>

</div>
</div>
<a class="anchor" id="a246d867677ec1a02775072aa0b5b018a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="ucal_8h.html#a246d867677ec1a02775072aa0b5b018a">USystemTimeZoneType</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>System time zone type constants used by filtering zones in ucal_openTimeZoneIDEnumeration. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ucal_8h.html#aa12068e8d91b210c95c3bfbf6ad46bb3" title="Create an enumeration over system time zone IDs with the given filter conditions. ...">ucal_openTimeZoneIDEnumeration</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004810">Stable:</a></b></dt><dd>ICU 4.8 </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a246d867677ec1a02775072aa0b5b018aac426fea7a765899ccfe2f31165292bbd"></a>UCAL_ZONE_TYPE_ANY&#160;</td><td class="fielddoc">
<p>Any system zones. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004895">Stable:</a></b></dt><dd>ICU 4.8 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a246d867677ec1a02775072aa0b5b018aaba339e618d112c8ccbe6f333e9494d0f"></a>UCAL_ZONE_TYPE_CANONICAL&#160;</td><td class="fielddoc">
<p>Canonical system zones. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004896">Stable:</a></b></dt><dd>ICU 4.8 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a246d867677ec1a02775072aa0b5b018aaf7528bf8127f3e48076949c279be6c4e"></a>UCAL_ZONE_TYPE_CANONICAL_LOCATION&#160;</td><td class="fielddoc">
<p>Canonical system zones associated with actual locations. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004897">Stable:</a></b></dt><dd>ICU 4.8 </dd></dl>
</td></tr>
</table>

<p>Definition at line <a class="el" href="ucal_8h_source.html#l00534">534</a> of file <a class="el" href="ucal_8h_source.html">ucal.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7efe6a88e42a2f34185095f4b1769531"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="ucal_8h.html#a7efe6a88e42a2f34185095f4b1769531">UTimeZoneTransitionType</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Time zone transition types for ucal_getTimeZoneTransitionDate. </p>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004864">Stable:</a></b></dt><dd>ICU 50 </dd></dl>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a class="anchor" id="a7efe6a88e42a2f34185095f4b1769531a7867186396df5cfc829309ba731328c7"></a>UCAL_TZ_TRANSITION_NEXT&#160;</td><td class="fielddoc">
<p>Get the next transition after the current date, i.e. </p>
<p>excludes the current date </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable004911">Stable:</a></b></dt><dd>ICU 50 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a7efe6a88e42a2f34185095f4b1769531ada59cf844ba62d155c4e7fca9173ed00"></a>UCAL_TZ_TRANSITION_NEXT_INCLUSIVE&#160;</td><td class="fielddoc">
<p>Get the next transition on or after the current date, i.e. </p>
<p>may include the current date </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable004912">Stable:</a></b></dt><dd>ICU 50 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a7efe6a88e42a2f34185095f4b1769531a4e17abaad8d7f4079569192482b23975"></a>UCAL_TZ_TRANSITION_PREVIOUS&#160;</td><td class="fielddoc">
<p>Get the previous transition before the current date, i.e. </p>
<p>excludes the current date </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable004913">Stable:</a></b></dt><dd>ICU 50 </dd></dl>
</td></tr>
<tr><td class="fieldname"><a class="anchor" id="a7efe6a88e42a2f34185095f4b1769531a5e861097e29e7d07b870c30f89ab2ddb"></a>UCAL_TZ_TRANSITION_PREVIOUS_INCLUSIVE&#160;</td><td class="fielddoc">
<p>Get the previous transition on or before the current date, i.e. </p>
<p>may include the current date </p><dl class="stable"><dt><b><a class="el" href="stable.html#_stable004914">Stable:</a></b></dt><dd>ICU 50 </dd></dl>
</td></tr>
</table>

<p>Definition at line <a class="el" href="ucal_8h_source.html#l01454">1454</a> of file <a class="el" href="ucal_8h_source.html">ucal.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a764bd099486548c088bfe3356a713e0f"></a>
<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#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&#160;</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#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>amount</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Add a specified signed amount to a particular field in a UCalendar. </p>
<p>This can modify more significant fields in the calendar. Adding a positive value always means moving forward in time, so for the Gregorian calendar, starting with 100 BC and adding +1 to year results in 99 BC (even though this actually reduces the numeric value of the field itself). </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cal</td><td>The UCalendar to which to add. </td></tr>
    <tr><td class="paramname">field</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 class="paramname">amount</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 class="paramname">status</td><td>A pointer to an UErrorCode to receive any errors </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ucal_8h.html#a8b72b685f1c8d5decadaf32b22b51a2d" title="Add a specified signed amount to a particular field in a UCalendar. ">ucal_roll</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004843">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a434b8c72e2c22018caa3a04a328ad193"></a>
<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#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&#160;</td>
          <td class="paramname"><em>calendar</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clear all fields in a UCalendar. </p>
<p>All fields are represented as 32-bit integers. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">calendar</td><td>The UCalendar to clear. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ucal_8h.html#a61fc6f963b0cc02d97a26317d1c363be" title="Get the current value of a field from a UCalendar. ">ucal_get</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#ae7652b5273a7de51cd6d2f24927a765a" title="Set the value of a field in a UCalendar. ">ucal_set</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#acfcbb957b9cea4531d541a8985ab63ce" title="Determine if a field in a UCalendar is set. ">ucal_isSet</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#ae76331aadf36b244b2ab1ad5e4929be7" title="Clear a field in a UCalendar. ">ucal_clearField</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004849">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ae76331aadf36b244b2ab1ad5e4929be7"></a>
<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#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&#160;</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#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clear a field in a UCalendar. </p>
<p>All fields are represented as 32-bit integers. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cal</td><td>The UCalendar containing the field to clear. </td></tr>
    <tr><td class="paramname">field</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>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ucal_8h.html#a61fc6f963b0cc02d97a26317d1c363be" title="Get the current value of a field from a UCalendar. ">ucal_get</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#ae7652b5273a7de51cd6d2f24927a765a" title="Set the value of a field in a UCalendar. ">ucal_set</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#acfcbb957b9cea4531d541a8985ab63ce" title="Determine if a field in a UCalendar is set. ">ucal_isSet</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#a434b8c72e2c22018caa3a04a328ad193" title="Clear all fields in a UCalendar. ">ucal_clear</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004848">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a4febd3ddfcdace16e1c005bd7d17a10c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a>* ucal_clone </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&#160;</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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Open a copy of a UCalendar. </p>
<p>This function performs a deep copy. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cal</td><td>The calendar to copy </td></tr>
    <tr><td class="paramname">status</td><td>A pointer to an UErrorCode to receive any errors. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A pointer to a UCalendar identical to cal. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004821">Stable:</a></b></dt><dd>ICU 4.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ae4402ac532c51fd6206f93fdc51b1dea"></a>
<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#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&#160;</td>
          <td class="paramname"><em>cal</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Close a UCalendar. </p>
<p>Once closed, a UCalendar may no longer be used. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cal</td><td>The UCalendar to close. </td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004820">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="abb607b7866f13a0330e62ad86049275f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t ucal_countAvailable </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

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

</div>
</div>
<a class="anchor" id="a4a978d3bd77eb69b173df4c0f07fb619"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> ucal_equivalentTo </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&#160;</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#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&#160;</td>
          <td class="paramname"><em>cal2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns TRUE if two UCalendars are equivalent. </p>
<p>Equivalent UCalendars will behave identically, but they may be set to different times. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cal1</td><td>The first of the UCalendars to compare. </td></tr>
    <tr><td class="paramname">cal2</td><td>The second of the UCalendars to compare. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if cal1 and cal2 are equivalent, FALSE otherwise. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004842">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a61fc6f963b0cc02d97a26317d1c363be"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t ucal_get </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&#160;</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#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the current value of a field from a UCalendar. </p>
<p>All fields are represented as 32-bit integers. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cal</td><td>The UCalendar to query. </td></tr>
    <tr><td class="paramname">field</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 class="paramname">status</td><td>A pointer to an UErrorCode to receive any errors </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The value of the desired field. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ucal_8h.html#ae7652b5273a7de51cd6d2f24927a765a" title="Set the value of a field in a UCalendar. ">ucal_set</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#acfcbb957b9cea4531d541a8985ab63ce" title="Determine if a field in a UCalendar is set. ">ucal_isSet</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#ae76331aadf36b244b2ab1ad5e4929be7" title="Clear a field in a UCalendar. ">ucal_clearField</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#a434b8c72e2c22018caa3a04a328ad193" title="Clear all fields in a UCalendar. ">ucal_clear</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004845">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ae38dffa3217680e56e30e5d1bca673ab"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t ucal_getAttribute </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&#160;</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#a27f00939dd2931f252c5bc6409b83227">UCalendarAttribute</a>&#160;</td>
          <td class="paramname"><em>attr</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get a numeric attribute associated with a UCalendar. </p>
<p>Numeric attributes include the first day of the week, or the minimal numbers of days in the first week of the month. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cal</td><td>The UCalendar to query. </td></tr>
    <tr><td class="paramname">attr</td><td>The desired attribute; one of UCAL_LENIENT, UCAL_FIRST_DAY_OF_WEEK, UCAL_MINIMAL_DAYS_IN_FIRST_WEEK, UCAL_REPEATED_WALL_TIME or UCAL_SKIPPED_WALL_TIME </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The value of attr. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ucal_8h.html#ab8e316b5587dc752a9f87ab7f1423af5" title="Set a numeric attribute associated with a UCalendar. ">ucal_setAttribute</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004834">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a891876cc878c71f1938225622cf279f3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* ucal_getAvailable </td>
          <td>(</td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>localeIndex</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get a locale for which calendars are available. </p>
<p>A UCalendar in a locale returned by this function will contain the correct day and month names for the locale. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">localeIndex</td><td>The index of the desired locale. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A locale for which calendars are available, or 0 if none. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ucal_8h.html#abb607b7866f13a0330e62ad86049275f" title="Determine how many locales have calendars available. ">ucal_countAvailable</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004836">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a84f79f30804a091f5436ac4e29be0c37"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t ucal_getCanonicalTimeZoneID </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>resultCapacity</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> *&#160;</td>
          <td class="paramname"><em>isSystemID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the canonical system timezone ID or the normalized custom time zone ID for the given time zone ID. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>The input timezone ID to be canonicalized. </td></tr>
    <tr><td class="paramname">len</td><td>The length of id, or -1 if null-terminated. </td></tr>
    <tr><td class="paramname">result</td><td>The buffer receives the canonical system timezone ID or the custom timezone ID in normalized format. </td></tr>
    <tr><td class="paramname">resultCapacity</td><td>The capacity of the result buffer. </td></tr>
    <tr><td class="paramname">isSystemID</td><td>Receives if the given ID is a known system timezone ID. </td></tr>
    <tr><td class="paramname">status</td><td>Receives the status. When the given timezone ID is neither a known system time zone ID nor a valid custom timezone ID, U_ILLEGAL_ARGUMENT_ERROR is set. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The result string length, not including the terminating null. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004855">Stable:</a></b></dt><dd>ICU 4.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a52650ccf4dae0f42dd82624a94087c61"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ucal_8h.html#a5d1f042c84dc291891c208d4c7dcd933">UCalendarWeekdayType</a> ucal_getDayOfWeekType </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&#160;</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#a62d9fe551bd48e4141fce52b917119a4">UCalendarDaysOfWeek</a>&#160;</td>
          <td class="paramname"><em>dayOfWeek</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns whether the given day of the week is a weekday, a weekend day, or a day that transitions from one to the other, for the locale and calendar system associated with this UCalendar (the locale's region is often the most determinant factor). </p>
<p>If a transition occurs at midnight, then the days before and after the transition will have the type UCAL_WEEKDAY or UCAL_WEEKEND. If a transition occurs at a time other than midnight, then the day of the transition will have the type UCAL_WEEKEND_ONSET or UCAL_WEEKEND_CEASE. In this case, the function <a class="el" href="ucal_8h.html#a173b23a92aadc703aa33f85705af7a06" title="Returns the time during the day at which the weekend begins or ends in this calendar system...">ucal_getWeekendTransition()</a> will return the point of transition. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cal</td><td>The UCalendar to query. </td></tr>
    <tr><td class="paramname">dayOfWeek</td><td>The day of the week whose type is desired (UCAL_SUNDAY..UCAL_SATURDAY). </td></tr>
    <tr><td class="paramname">status</td><td>The error code for the operation. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The UCalendarWeekdayType for the day of the week. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004860">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl>

</div>
</div>
<a class="anchor" id="ac5243211dec55651f308c34a011eb337"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t ucal_getDefaultTimeZone </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>ec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return the default time zone. </p>
<p>The default is determined initially by querying the host operating system. It may be changed with <a class="el" href="ucal_8h.html#a2544550264fccc52c97b53a2febf29cb" title="Set the default time zone. ">ucal_setDefaultTimeZone()</a> or with the C++ TimeZone API.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">result</td><td>A buffer to receive the result, or NULL</td></tr>
    <tr><td class="paramname">resultCapacity</td><td>The capacity of the result buffer</td></tr>
    <tr><td class="paramname">ec</td><td>input/output error code</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The result string length, not including the terminating null</dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004815">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

</div>
</div>
<a class="anchor" id="a3907928a0963ad035a221f6feb4f62cd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t ucal_getDSTSavings </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>ec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></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 class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">zoneID</td><td>null-terminated time zone ID</td></tr>
    <tr><td class="paramname">ec</td><td>input/output error code</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</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 class="stable"><dt><b><a class="el" href="stable.html#_stable004817">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

</div>
</div>
<a class="anchor" id="afa329a125bf67670736446673dd03290"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t ucal_getFieldDifference </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&#160;</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#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</td>
          <td class="paramname"><em>target</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Return the difference between the target time and the time this calendar object is currently set to. </p>
<p>If the target time is after the current calendar setting, the the returned value will be positive. The field parameter specifies the units of the return value. For example, if field is UCAL_MONTH and ucal_getFieldDifference returns 3, then the target time is 3 to less than 4 months after the current calendar setting.</p>
<p>As a side effect of this call, this calendar is advanced toward target by the given amount. That is, calling this function has the side effect of calling ucal_add on this calendar with the specified field and an amount equal to the return value from this function.</p>
<p>A typical way of using this function is to call it first with the largest field of interest, then with progressively smaller fields.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cal</td><td>The UCalendar to compare and update. </td></tr>
    <tr><td class="paramname">target</td><td>The target date to compare to the current calendar setting. </td></tr>
    <tr><td class="paramname">field</td><td>The field to compare; 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 class="paramname">status</td><td>A pointer to an UErrorCode to receive any errors </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The date difference for the specified field. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004863">Stable:</a></b></dt><dd>ICU 4.8 </dd></dl>

</div>
</div>
<a class="anchor" id="ac6f9d60d827a403bb3d50accdd9027da"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> ucal_getGregorianChange </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&#160;</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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>pErrorCode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the Gregorian Calendar change date. </p>
<p>This is the point when the switch from Julian dates to Gregorian dates occurred. Default is 00:00:00 local time, October 15, 1582. Previous to this time and date will be Julian dates.</p>
<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 class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cal</td><td>The calendar object. </td></tr>
    <tr><td class="paramname">pErrorCode</td><td>Pointer to a standard ICU error code. Its input value must pass the <a class="el" href="utypes_8h.html#a527f2c69e6b2e3b2c53ad8a99fb36711" title="Does the error code indicate success? ">U_SUCCESS()</a> test, or else the function returns immediately. Check for <a class="el" href="utypes_8h.html#a4d202200b6aa6f3c965ea370e0c8155f" title="Does the error code indicate a failure? ">U_FAILURE()</a> on output or use with function chaining. (See User Guide for details.) </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The Gregorian cutover time for this calendar.</dd></dl>
<dl class="section see"><dt>See also</dt><dd>GregorianCalendar::getGregorianChange </dd>
<dd>
<a class="el" href="ucal_8h.html#a8b0c9820b1d2ccc6fc499766f9867aad" title="Sets the GregorianCalendar change date. ">ucal_setGregorianChange</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004829">Stable:</a></b></dt><dd>ICU 3.6 </dd></dl>

</div>
</div>
<a class="anchor" id="ac9f7339dd9f4fbd3463c14721bfee2b7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="uenum_8h.html#a32b7253b2148022535be36a9fcdb5a8d">UEnumeration</a>* ucal_getKeywordValuesForLocale </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>locale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a>&#160;</td>
          <td class="paramname"><em>commonlyUsed</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Given a key and a locale, returns an array of string values in a preferred order that would make a difference. </p>
<p>These are all and only those values where the open (creation) of the service with the locale formed from the input locale plus input keyword and that value has different behavior than creation with the input locale alone. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">key</td><td>one of the keys supported by this service. For now, only "calendar" is supported. </td></tr>
    <tr><td class="paramname">locale</td><td>the locale </td></tr>
    <tr><td class="paramname">commonlyUsed</td><td>if set to true it will return only commonly used values with the given locale in preferred order. Otherwise, it will return all the available values for the locale. </td></tr>
    <tr><td class="paramname">status</td><td>error status </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a string enumeration over keyword values for the given key and the locale. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004857">Stable:</a></b></dt><dd>ICU 4.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a5f43bd7f846d9dbc94a9a46af26e7ab7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t ucal_getLimit </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&#160;</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#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#a6e54e12f217d36570b70fafcbb557ca5">UCalendarLimitType</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determine a limit for a field in a UCalendar. </p>
<p>A limit is a maximum or minimum value for a field. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cal</td><td>The UCalendar to query. </td></tr>
    <tr><td class="paramname">field</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 class="paramname">type</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 class="paramname">status</td><td>A pointer to an UErrorCode to receive any errors. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The requested value. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004852">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

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

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

</div>
</div>
<a class="anchor" id="a533d4cbb14bcea658867cc19dbf117e7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> ucal_getMillis </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&#160;</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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get a UCalendar's current time in millis. </p>
<p>The time is represented as milliseconds from the epoch. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cal</td><td>The UCalendar to query. </td></tr>
    <tr><td class="paramname">status</td><td>A pointer to an UErrorCode to receive any errors </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The calendar's current time in millis. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ucal_8h.html#a54e866c1e202544059e92d1ce7cd8853" title="Set a UCalendar&#39;s current time in millis. ">ucal_setMillis</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#acca7f62f6e8eb75cabf2dd9f0778f7b4" title="Set a UCalendar&#39;s current date. ">ucal_setDate</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#a8810072e357d43f6d9d4a792ff0be93e" title="Set a UCalendar&#39;s current date. ">ucal_setDateTime</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004838">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="adb6d89737a72e1b1edf99d65f78b0040"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> ucal_getNow </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

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

</div>
</div>
<a class="anchor" id="aea22f4437959a297c21793281caea68a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t ucal_getTimeZoneDisplayName </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&#160;</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#ae9370947c6da3c8ee5ee034307ac5d03">UCalendarDisplayNameType</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>locale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

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

</div>
</div>
<a class="anchor" id="a86a37d5947a5af32eda15bde94680c2b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t ucal_getTimeZoneID </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&#160;</td>
          <td class="paramname"><em>cal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>result</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the ID of the UCalendar's time zone. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cal</td><td>The UCalendar to query. </td></tr>
    <tr><td class="paramname">result</td><td>Receives the UCalendar's time zone ID. </td></tr>
    <tr><td class="paramname">resultLength</td><td>The maximum size of result. </td></tr>
    <tr><td class="paramname">status</td><td>Receives the status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The total buffer size needed; if greater than resultLength, the output was truncated. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004823">Stable:</a></b></dt><dd>ICU 51 </dd></dl>

</div>
</div>
<a class="anchor" id="ab0d2a1688bec973a74b4f35fc5901dfd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t ucal_getTimeZoneIDForWindowsID </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>winid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>region</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>idCapacity</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Converts a Windows time zone ID to an equivalent system time zone ID for a region. </p>
<p>For example, system time zone ID "America/Los_Angeles" is returned for input Windows ID "Pacific Standard Time" and region "US" (or <code>null</code>), "America/Vancouver" is returned for the same Windows ID "Pacific Standard Time" and region "CA".</p>
<p>Not all Windows time zones can be mapped to system time zones. When the input Windows time zone ID is unknown or unmappable to a system time zone, then this function returns 0 as the result length, but the operation itself remains successful (no error status set on return).</p>
<p>This implementation utilizes <a href="http://unicode.org/cldr/charts/supplemental/zone_tzid.html">Zone-Tzid mapping data</a>. The mapping data is updated time to time. To get the latest changes, please read the ICU user guide section <a href="http://userguide.icu-project.org/datetime/timezone#TOC-Updating-the-Time-Zone-Data">Updating the Time Zone Data</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">winid</td><td>A Windows time zone ID. </td></tr>
    <tr><td class="paramname">len</td><td>The length of <code>winid</code>, or -1 if null-terminated. </td></tr>
    <tr><td class="paramname">region</td><td>A null-terminated region code, or <code>NULL</code> if no regional preference. </td></tr>
    <tr><td class="paramname">id</td><td>A buffer to receive a system time zone ID. </td></tr>
    <tr><td class="paramname">idCapacity</td><td>The capacity of the result buffer <code>id</code>. </td></tr>
    <tr><td class="paramname">status</td><td>Receives the status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The result string length, not including the terminating null. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ucal_8h.html#a8197e52076c1d382bad9026780dd4bef" title="Converts a system time zone ID to an equivalent Windows time zone ID. ">ucal_getWindowsTimeZoneID</a></dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004868">Stable:</a></b></dt><dd>ICU 52 </dd></dl>

</div>
</div>
<a class="anchor" id="a0ac03d014ea4f701fc5f4d96952d8786"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> ucal_getTimeZoneTransitionDate </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&#160;</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#a7efe6a88e42a2f34185095f4b1769531">UTimeZoneTransitionType</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a> *&#160;</td>
          <td class="paramname"><em>transition</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the UDate for the next/previous time zone transition relative to the calendar's current date, in the time zone to which the calendar is currently set. </p>
<p>If there is no known time zone transition of the requested type relative to the calendar's date, the function returns FALSE. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cal</td><td>The UCalendar to query. </td></tr>
    <tr><td class="paramname">type</td><td>The type of transition desired. </td></tr>
    <tr><td class="paramname">transition</td><td>A pointer to a UDate to be set to the transition time. If the function returns FALSE, the value set is unspecified. </td></tr>
    <tr><td class="paramname">status</td><td>A pointer to a UErrorCode to receive any errors. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if a valid transition time is set in *transition, FALSE otherwise. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004866">Stable:</a></b></dt><dd>ICU 50 </dd></dl>

</div>
</div>
<a class="anchor" id="ac3da68a172e0dff2097004c811a49b13"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const char* ucal_getType </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&#160;</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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get the resource keyword value string designating the calendar type for the UCalendar. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cal</td><td>The UCalendar to query. </td></tr>
    <tr><td class="paramname">status</td><td>The error code for the operation. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The resource keyword value string. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004856">Stable:</a></b></dt><dd>ICU 4.2 </dd></dl>

</div>
</div>
<a class="anchor" id="a0ad2dccc88f8b7017d039f1b68ba8996"></a>
<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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the timezone data version currently used by ICU. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">status</td><td>error code for the operation </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>the version string, such as "2007f" </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004854">Stable:</a></b></dt><dd>ICU 3.8 </dd></dl>

</div>
</div>
<a class="anchor" id="a173b23a92aadc703aa33f85705af7a06"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t ucal_getWeekendTransition </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&#160;</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#a62d9fe551bd48e4141fce52b917119a4">UCalendarDaysOfWeek</a>&#160;</td>
          <td class="paramname"><em>dayOfWeek</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the time during the day at which the weekend begins or ends in this calendar system. </p>
<p>If <a class="el" href="ucal_8h.html#a52650ccf4dae0f42dd82624a94087c61" title="Returns whether the given day of the week is a weekday, a weekend day, or a day that transitions from...">ucal_getDayOfWeekType()</a> returns UCAL_WEEKEND_ONSET for the specified dayOfWeek, return the time at which the weekend begins. If <a class="el" href="ucal_8h.html#a52650ccf4dae0f42dd82624a94087c61" title="Returns whether the given day of the week is a weekday, a weekend day, or a day that transitions from...">ucal_getDayOfWeekType()</a> returns UCAL_WEEKEND_CEASE for the specified dayOfWeek, return the time at which the weekend ends. If <a class="el" href="ucal_8h.html#a52650ccf4dae0f42dd82624a94087c61" title="Returns whether the given day of the week is a weekday, a weekend day, or a day that transitions from...">ucal_getDayOfWeekType()</a> returns some other UCalendarWeekdayType for the specified dayOfWeek, is it an error condition (U_ILLEGAL_ARGUMENT_ERROR). </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cal</td><td>The UCalendar to query. </td></tr>
    <tr><td class="paramname">dayOfWeek</td><td>The day of the week for which the weekend transition time is desired (UCAL_SUNDAY..UCAL_SATURDAY). </td></tr>
    <tr><td class="paramname">status</td><td>The error code for the operation. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The milliseconds after midnight at which the weekend begins or ends. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004861">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl>

</div>
</div>
<a class="anchor" id="a8197e52076c1d382bad9026780dd4bef"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t ucal_getWindowsTimeZoneID </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>winid</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>winidCapacity</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Converts a system time zone ID to an equivalent Windows time zone ID. </p>
<p>For example, Windows time zone ID "Pacific Standard Time" is returned for input "America/Los_Angeles".</p>
<p>There are system time zones that cannot be mapped to Windows zones. When the input system time zone ID is unknown or unmappable to a Windows time zone, then this function returns 0 as the result length, but the operation itself remains successful (no error status set on return).</p>
<p>This implementation utilizes <a href="http://unicode.org/cldr/charts/supplemental/zone_tzid.html">Zone-Tzid mapping data</a>. The mapping data is updated time to time. To get the latest changes, please read the ICU user guide section <a href="http://userguide.icu-project.org/datetime/timezone#TOC-Updating-the-Time-Zone-Data">Updating the Time Zone Data</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">id</td><td>A system time zone ID. </td></tr>
    <tr><td class="paramname">len</td><td>The length of <code>id</code>, or -1 if null-terminated. </td></tr>
    <tr><td class="paramname">winid</td><td>A buffer to receive a Windows time zone ID. </td></tr>
    <tr><td class="paramname">winidCapacity</td><td>The capacity of the result buffer <code>winid</code>. </td></tr>
    <tr><td class="paramname">status</td><td>Receives the status. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The result string length, not including the terminating null. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ucal_8h.html#ab0d2a1688bec973a74b4f35fc5901dfd" title="Converts a Windows time zone ID to an equivalent system time zone ID for a region. ">ucal_getTimeZoneIDForWindowsID</a></dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004867">Stable:</a></b></dt><dd>ICU 52 </dd></dl>

</div>
</div>
<a class="anchor" id="a0894e66c0e54efaee7d7a74769ef7768"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> ucal_inDaylightTime </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&#160;</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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determine if a UCalendar is currently in daylight savings time. </p>
<p>Daylight savings time is not used in all parts of the world. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cal</td><td>The UCalendar to query. </td></tr>
    <tr><td class="paramname">status</td><td>A pointer to an UErrorCode to receive any errors </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if cal is currently in daylight savings time, FALSE otherwise </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004827">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="acfcbb957b9cea4531d541a8985ab63ce"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> ucal_isSet </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&#160;</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#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Determine if a field in a UCalendar is set. </p>
<p>All fields are represented as 32-bit integers. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cal</td><td>The UCalendar to query. </td></tr>
    <tr><td class="paramname">field</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>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if field is set, FALSE otherwise. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ucal_8h.html#a61fc6f963b0cc02d97a26317d1c363be" title="Get the current value of a field from a UCalendar. ">ucal_get</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#ae7652b5273a7de51cd6d2f24927a765a" title="Set the value of a field in a UCalendar. ">ucal_set</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#ae76331aadf36b244b2ab1ad5e4929be7" title="Clear a field in a UCalendar. ">ucal_clearField</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#a434b8c72e2c22018caa3a04a328ad193" title="Clear all fields in a UCalendar. ">ucal_clear</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004847">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="adca13bcdf7e68c3e4dfad46e56e05f93"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="umachine_8h.html#a349ef00011f20ccd1d3b424445681aa5">UBool</a> ucal_isWeekend </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&#160;</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#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</td>
          <td class="paramname"><em>date</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns TRUE if the given UDate is in the weekend in this calendar system. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cal</td><td>The UCalendar to query. </td></tr>
    <tr><td class="paramname">date</td><td>The UDate in question. </td></tr>
    <tr><td class="paramname">status</td><td>The error code for the operation. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>TRUE if the given UDate is in the weekend in this calendar system, FALSE otherwise. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004862">Stable:</a></b></dt><dd>ICU 4.4 </dd></dl>

</div>
</div>
<a class="anchor" id="ac9d3d4893f5b22a90edff24bedaf361c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="ucal_8h.html#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a>* ucal_open </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>zoneID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>len</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</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#a80db55a10d0808a9f9b61e105b9d32fb">UCalendarType</a>&#160;</td>
          <td class="paramname"><em>type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Open a UCalendar. </p>
<p>A UCalendar may be used to convert a millisecond value to a year, month, and day. </p>
<p>Note: When unknown TimeZone ID is specified or if the TimeZone ID specified is "Etc/Unknown", the UCalendar returned by the function is initialized with GMT zone with TimeZone ID <code>UCAL_UNKNOWN_ZONE_ID</code> ("Etc/Unknown") without any errors/warnings. If you want to check if a TimeZone ID is valid prior to this function, use <code>ucal_getCanonicalTimeZoneID</code>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">zoneID</td><td>The desired TimeZone ID. If 0, use the default time zone. </td></tr>
    <tr><td class="paramname">len</td><td>The length of zoneID, or -1 if null-terminated. </td></tr>
    <tr><td class="paramname">locale</td><td>The desired locale </td></tr>
    <tr><td class="paramname">type</td><td>The type of UCalendar to open. This can be UCAL_GREGORIAN to open the Gregorian calendar for the locale, or UCAL_DEFAULT to open the default calendar for the locale (the default calendar may also be Gregorian). To open a specific non-Gregorian calendar for the locale, use uloc_setKeywordValue to set the value of the calendar keyword for the locale and then pass the locale to ucal_open with UCAL_DEFAULT as the type. </td></tr>
    <tr><td class="paramname">status</td><td>A pointer to an UErrorCode to receive any errors </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A pointer to a UCalendar, or 0 if an error occurred. </dd></dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ucal_8h.html#a0682edd5dfe37d2abe4bb9fb5a9733d9" title="The time zone ID reserved for unknown time zone. ">UCAL_UNKNOWN_ZONE_ID</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004819">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="acac88ce8fa1cfb5585d1db7d93566fea"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="uenum_8h.html#a32b7253b2148022535be36a9fcdb5a8d">UEnumeration</a>* ucal_openCountryTimeZones </td>
          <td>(</td>
          <td class="paramtype">const char *&#160;</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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>ec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create an enumeration over all time zones associated with the given country. </p>
<p>Some zones are affiliated with no country (e.g., "UTC"); these may also be retrieved, as a group.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">country</td><td>the ISO 3166 two-letter country code, or NULL to retrieve zones not affiliated with any country</td></tr>
    <tr><td class="paramname">ec</td><td>input/output error code</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>an enumeration object that the caller must dispose of using <a class="el" href="uenum_8h.html#af8bf1abcf3a486f07ee3384c7fce89df" title="Disposes of resources in use by the iterator. ">uenum_close()</a>, or NULL upon failure. In case of failure *ec will indicate the error.</dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004814">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

</div>
</div>
<a class="anchor" id="aa12068e8d91b210c95c3bfbf6ad46bb3"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="uenum_8h.html#a32b7253b2148022535be36a9fcdb5a8d">UEnumeration</a>* ucal_openTimeZoneIDEnumeration </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="ucal_8h.html#a246d867677ec1a02775072aa0b5b018a">USystemTimeZoneType</a>&#160;</td>
          <td class="paramname"><em>zoneType</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>region</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int32_t *&#160;</td>
          <td class="paramname"><em>rawOffset</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>ec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create an enumeration over system time zone IDs with the given filter conditions. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">zoneType</td><td>The system time zone type. </td></tr>
    <tr><td class="paramname">region</td><td>The ISO 3166 two-letter country code or UN M.49 three-digit area code. When NULL, no filtering done by region. </td></tr>
    <tr><td class="paramname">rawOffset</td><td>An offset from GMT in milliseconds, ignoring the effect of daylight savings time, if any. When NULL, no filtering done by zone offset. </td></tr>
    <tr><td class="paramname">ec</td><td>A pointer to an UErrorCode to receive any errors </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>an enumeration object that the caller must dispose of using enum_close(), or NULL upon failure. In case of failure, *ec will indicate the error. </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004812">Stable:</a></b></dt><dd>ICU 4.8 </dd></dl>

</div>
</div>
<a class="anchor" id="abbc29eb77035c731c6c5d18b77733069"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="uenum_8h.html#a32b7253b2148022535be36a9fcdb5a8d">UEnumeration</a>* ucal_openTimeZones </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>ec</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create an enumeration over all time zones. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ec</td><td>input/output error code</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>an enumeration object that the caller must dispose of using <a class="el" href="uenum_8h.html#af8bf1abcf3a486f07ee3384c7fce89df" title="Disposes of resources in use by the iterator. ">uenum_close()</a>, or NULL upon failure. In case of failure *ec will indicate the error.</dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004813">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

</div>
</div>
<a class="anchor" id="a8b72b685f1c8d5decadaf32b22b51a2d"></a>
<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#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&#160;</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#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>amount</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Add a specified signed amount to a particular field in a UCalendar. </p>
<p>This will not modify more significant fields in the calendar. Rolling by a positive value always means moving forward in time (unless the limit of the field is reached, in which case it may pin or wrap), so for Gregorian calendar, starting with 100 BC and rolling the year by +1 results in 99 BC. When eras have a definite beginning and end (as in the Chinese calendar, or as in most eras in the Japanese calendar) then rolling the year past either limit of the era will cause the year to wrap around. When eras only have a limit at one end, then attempting to roll the year past that limit will result in pinning the year at that limit. Note that for most calendars in which era 0 years move forward in time (such as Buddhist, Hebrew, or Islamic), it is possible for add or roll to result in negative years for era 0 (that is the only way to represent years before the calendar epoch). </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cal</td><td>The UCalendar to which to add. </td></tr>
    <tr><td class="paramname">field</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 class="paramname">amount</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 class="paramname">status</td><td>A pointer to an UErrorCode to receive any errors </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ucal_8h.html#a764bd099486548c088bfe3356a713e0f" title="Add a specified signed amount to a particular field in a UCalendar. ">ucal_add</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004844">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ae7652b5273a7de51cd6d2f24927a765a"></a>
<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#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&#160;</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#a02fe23bf33319052733c00c7a09ea912">UCalendarDateFields</a>&#160;</td>
          <td class="paramname"><em>field</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the value of a field in a UCalendar. </p>
<p>All fields are represented as 32-bit integers. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cal</td><td>The UCalendar to set. </td></tr>
    <tr><td class="paramname">field</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 class="paramname">value</td><td>The desired value of field. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ucal_8h.html#a61fc6f963b0cc02d97a26317d1c363be" title="Get the current value of a field from a UCalendar. ">ucal_get</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#acfcbb957b9cea4531d541a8985ab63ce" title="Determine if a field in a UCalendar is set. ">ucal_isSet</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#ae76331aadf36b244b2ab1ad5e4929be7" title="Clear a field in a UCalendar. ">ucal_clearField</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#a434b8c72e2c22018caa3a04a328ad193" title="Clear all fields in a UCalendar. ">ucal_clear</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004846">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ab8e316b5587dc752a9f87ab7f1423af5"></a>
<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#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&#160;</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#a27f00939dd2931f252c5bc6409b83227">UCalendarAttribute</a>&#160;</td>
          <td class="paramname"><em>attr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>newValue</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set a numeric attribute associated with a UCalendar. </p>
<p>Numeric attributes include the first day of the week, or the minimal numbers of days in the first week of the month. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cal</td><td>The UCalendar to set. </td></tr>
    <tr><td class="paramname">attr</td><td>The desired attribute; one of UCAL_LENIENT, UCAL_FIRST_DAY_OF_WEEK, UCAL_MINIMAL_DAYS_IN_FIRST_WEEK, UCAL_REPEATED_WALL_TIME or UCAL_SKIPPED_WALL_TIME </td></tr>
    <tr><td class="paramname">newValue</td><td>The new value of attr. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ucal_8h.html#ae38dffa3217680e56e30e5d1bca673ab" title="Get a numeric attribute associated with a UCalendar. ">ucal_getAttribute</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004835">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="acca7f62f6e8eb75cabf2dd9f0778f7b4"></a>
<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#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&#160;</td>
          <td class="paramname"><em>cal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>year</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>month</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>date</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set a UCalendar's current date. </p>
<p>The date is represented as a series of 32-bit integers. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cal</td><td>The UCalendar to set. </td></tr>
    <tr><td class="paramname">year</td><td>The desired year. </td></tr>
    <tr><td class="paramname">month</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 class="paramname">date</td><td>The desired day of the month. </td></tr>
    <tr><td class="paramname">status</td><td>A pointer to an UErrorCode to receive any errors </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ucal_8h.html#a533d4cbb14bcea658867cc19dbf117e7" title="Get a UCalendar&#39;s current time in millis. ">ucal_getMillis</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#a54e866c1e202544059e92d1ce7cd8853" title="Set a UCalendar&#39;s current time in millis. ">ucal_setMillis</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#a8810072e357d43f6d9d4a792ff0be93e" title="Set a UCalendar&#39;s current date. ">ucal_setDateTime</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004840">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a8810072e357d43f6d9d4a792ff0be93e"></a>
<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#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&#160;</td>
          <td class="paramname"><em>cal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>year</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>month</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>date</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>hour</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>minute</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</td>
          <td class="paramname"><em>second</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set a UCalendar's current date. </p>
<p>The date is represented as a series of 32-bit integers. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cal</td><td>The UCalendar to set. </td></tr>
    <tr><td class="paramname">year</td><td>The desired year. </td></tr>
    <tr><td class="paramname">month</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 class="paramname">date</td><td>The desired day of the month. </td></tr>
    <tr><td class="paramname">hour</td><td>The desired hour of day. </td></tr>
    <tr><td class="paramname">minute</td><td>The desired minute. </td></tr>
    <tr><td class="paramname">second</td><td>The desirec second. </td></tr>
    <tr><td class="paramname">status</td><td>A pointer to an UErrorCode to receive any errors </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ucal_8h.html#a533d4cbb14bcea658867cc19dbf117e7" title="Get a UCalendar&#39;s current time in millis. ">ucal_getMillis</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#a54e866c1e202544059e92d1ce7cd8853" title="Set a UCalendar&#39;s current time in millis. ">ucal_setMillis</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#acca7f62f6e8eb75cabf2dd9f0778f7b4" title="Set a UCalendar&#39;s current date. ">ucal_setDate</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004841">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="a2544550264fccc52c97b53a2febf29cb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ucal_setDefaultTimeZone </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>ec</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set the default time zone. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">zoneID</td><td>null-terminated time zone ID</td></tr>
    <tr><td class="paramname">ec</td><td>input/output error code</td></tr>
  </table>
  </dd>
</dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004816">Stable:</a></b></dt><dd>ICU 2.6 </dd></dl>

</div>
</div>
<a class="anchor" id="a8b0c9820b1d2ccc6fc499766f9867aad"></a>
<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#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&#160;</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#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</td>
          <td class="paramname"><em>date</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="utypes_8h.html#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>pErrorCode</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the GregorianCalendar change date. </p>
<p>This is the point when the switch from Julian dates to Gregorian dates occurred. Default is 00:00:00 local time, October 15, 1582. Previous to this time and date will be Julian dates.</p>
<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 class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cal</td><td>The calendar object. </td></tr>
    <tr><td class="paramname">date</td><td>The given Gregorian cutover date. </td></tr>
    <tr><td class="paramname">pErrorCode</td><td>Pointer to a standard ICU error code. Its input value must pass the <a class="el" href="utypes_8h.html#a527f2c69e6b2e3b2c53ad8a99fb36711" title="Does the error code indicate success? ">U_SUCCESS()</a> test, or else the function returns immediately. Check for <a class="el" href="utypes_8h.html#a4d202200b6aa6f3c965ea370e0c8155f" title="Does the error code indicate a failure? ">U_FAILURE()</a> on output or use with function chaining. (See User Guide for details.)</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd>GregorianCalendar::setGregorianChange </dd>
<dd>
<a class="el" href="ucal_8h.html#ac6f9d60d827a403bb3d50accdd9027da" title="Gets the Gregorian Calendar change date. ">ucal_getGregorianChange</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004828">Stable:</a></b></dt><dd>ICU 3.6 </dd></dl>

</div>
</div>
<a class="anchor" id="a54e866c1e202544059e92d1ce7cd8853"></a>
<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#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&#160;</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#ace1704e9e77d407d1eaaa2e73ec0c039">UDate</a>&#160;</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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Set a UCalendar's current time in millis. </p>
<p>The time is represented as milliseconds from the epoch. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cal</td><td>The UCalendar to set. </td></tr>
    <tr><td class="paramname">dateTime</td><td>The desired date and time. </td></tr>
    <tr><td class="paramname">status</td><td>A pointer to an UErrorCode to receive any errors </td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="ucal_8h.html#a533d4cbb14bcea658867cc19dbf117e7" title="Get a UCalendar&#39;s current time in millis. ">ucal_getMillis</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#acca7f62f6e8eb75cabf2dd9f0778f7b4" title="Set a UCalendar&#39;s current date. ">ucal_setDate</a> </dd>
<dd>
<a class="el" href="ucal_8h.html#a8810072e357d43f6d9d4a792ff0be93e" title="Set a UCalendar&#39;s current date. ">ucal_setDateTime</a> </dd></dl>
<dl class="stable"><dt><b><a class="el" href="stable.html#_stable004839">Stable:</a></b></dt><dd>ICU 2.0 </dd></dl>

</div>
</div>
<a class="anchor" id="ae5612988cb9dc282ccda82fda38602b2"></a>
<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#afb45437aa9182d9fdcd96a2119e1e144">UCalendar</a> *&#160;</td>
          <td class="paramname"><em>cal</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="umachine_8h.html#a6bb9fad572d65b305324ef288165e2ac">UChar</a> *&#160;</td>
          <td class="paramname"><em>zoneID</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int32_t&#160;</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#a3343c1c8a8377277046774691c98d78c">UErrorCode</a> *&#160;</td>
          <td class="paramname"><em>status</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

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

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.11
</small></address>
</body>
</html>