<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.intl.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'it',
  ),
  'this' => 
  array (
    0 => 'class.intlcalendar.php',
    1 => 'IntlCalendar',
    2 => 'The IntlCalendar class',
  ),
  'up' => 
  array (
    0 => 'book.intl.php',
    1 => 'intl',
  ),
  'prev' => 
  array (
    0 => 'messageformatter.setpattern.php',
    1 => 'MessageFormatter::setPattern',
  ),
  'next' => 
  array (
    0 => 'intlcalendar.add.php',
    1 => 'IntlCalendar::add',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/intl/intlcalendar.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/class.intlcalendar.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="class.intlcalendar" class="reference">

 <h1 class="title">The IntlCalendar class</h1>
 

 <div class="partintro"><p class="verinfo">(PHP 5 &gt;= 5.5.0, PHP 7, PHP 8, PECL &gt;= 3.0.0a1)</p>


  <div class="section" id="intlcalendar.intro">
   <h2 class="title">Introduzione</h2>
   <p class="para">

   </p>
  </div>


  <div class="section" id="intlcalendar.synopsis">
   <h2 class="title">Sommario della classe</h2>


   <div class="classsynopsis"><div class="classsynopsisinfo">
    
     <span class="modifier">class</span> <strong class="classname"><strong class="classname">IntlCalendar</strong></strong>
     {</div>

    <div class="classsynopsisinfo classsynopsisinfo_comment">/* Costanti */</div>
    <div class="fieldsynopsis">
     <span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.field-era"><var class="varname">FIELD_ERA</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.field-year"><var class="varname">FIELD_YEAR</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.field-month"><var class="varname">FIELD_MONTH</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.field-week-of-year"><var class="varname">FIELD_WEEK_OF_YEAR</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.field-week-of-month"><var class="varname">FIELD_WEEK_OF_MONTH</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.field-date"><var class="varname">FIELD_DATE</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.field-day-of-year"><var class="varname">FIELD_DAY_OF_YEAR</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.field-day-of-week"><var class="varname">FIELD_DAY_OF_WEEK</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.field-day-of-week-in-month"><var class="varname">FIELD_DAY_OF_WEEK_IN_MONTH</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.field-am-pm"><var class="varname">FIELD_AM_PM</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.field-hour"><var class="varname">FIELD_HOUR</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.field-hour-of-day"><var class="varname">FIELD_HOUR_OF_DAY</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.field-minute"><var class="varname">FIELD_MINUTE</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.field-second"><var class="varname">FIELD_SECOND</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.field-millisecond"><var class="varname">FIELD_MILLISECOND</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.field-zone-offset"><var class="varname">FIELD_ZONE_OFFSET</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.field-dst-offset"><var class="varname">FIELD_DST_OFFSET</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.field-year-woy"><var class="varname">FIELD_YEAR_WOY</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.field-dow-local"><var class="varname">FIELD_DOW_LOCAL</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.field-extended-year"><var class="varname">FIELD_EXTENDED_YEAR</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.field-julian-day"><var class="varname">FIELD_JULIAN_DAY</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.field-milliseconds-in-day"><var class="varname">FIELD_MILLISECONDS_IN_DAY</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.field-is-leap-month"><var class="varname">FIELD_IS_LEAP_MONTH</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.field-field-count"><var class="varname">FIELD_FIELD_COUNT</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.field-day-of-month"><var class="varname">FIELD_DAY_OF_MONTH</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.dow-sunday"><var class="varname">DOW_SUNDAY</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.dow-monday"><var class="varname">DOW_MONDAY</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.dow-tuesday"><var class="varname">DOW_TUESDAY</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.dow-wednesday"><var class="varname">DOW_WEDNESDAY</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.dow-thursday"><var class="varname">DOW_THURSDAY</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.dow-friday"><var class="varname">DOW_FRIDAY</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.dow-saturday"><var class="varname">DOW_SATURDAY</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.dow-type-weekday"><var class="varname">DOW_TYPE_WEEKDAY</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.dow-type-weekend"><var class="varname">DOW_TYPE_WEEKEND</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.dow-type-weekend-offset"><var class="varname">DOW_TYPE_WEEKEND_OFFSET</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.dow-type-weekend-cease"><var class="varname">DOW_TYPE_WEEKEND_CEASE</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.walltime-first"><var class="varname">WALLTIME_FIRST</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.walltime-last"><var class="varname">WALLTIME_LAST</var></a></var>;</div>

    <div class="fieldsynopsis"><span class="modifier">public</span>
     <span class="modifier">const</span>
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
      <var class="fieldsynopsis_varname"><a href="class.intlcalendar.php#intlcalendar.constants.walltime-next-valid"><var class="varname">WALLTIME_NEXT_VALID</var></a></var>;</div>


    <div class="classsynopsisinfo classsynopsisinfo_comment">/* Metodi */</div>
    <div class="constructorsynopsis dc-description">
   <span class="modifier">private</span> <span class="methodname"><a href="intlcalendar.construct.php" class="methodname">__construct</a></span>()</div>

    <div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.add.php" class="methodname">add</a></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$field</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$value</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.after.php" class="methodname">after</a></span>(<span class="methodparam"><span class="type"><a href="class.intlcalendar.php" class="type IntlCalendar">IntlCalendar</a></span> <code class="parameter">$other</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.before.php" class="methodname">before</a></span>(<span class="methodparam"><span class="type"><a href="class.intlcalendar.php" class="type IntlCalendar">IntlCalendar</a></span> <code class="parameter">$other</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.clear.php" class="methodname">clear</a></span>(<span class="methodparam"><span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="language.types.integer.php" class="type int">int</a></span></span> <code class="parameter">$field</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span>): <span class="type"><a href="language.types.singleton.php" class="type true">true</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="modifier">static</span> <span class="methodname"><a href="intlcalendar.createinstance.php" class="methodname">createInstance</a></span>(<span class="methodparam"><span class="type"><span class="type"><a href="class.intltimezone.php" class="type IntlTimeZone">IntlTimeZone</a></span>|<span class="type"><a href="class.datetimezone.php" class="type DateTimeZone">DateTimeZone</a></span>|<span class="type"><a href="language.types.string.php" class="type string">string</a></span>|<span class="type"><a href="language.types.null.php" class="type null">null</a></span></span> <code class="parameter">$timezone</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span>, <span class="methodparam"><span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="language.types.string.php" class="type string">string</a></span></span> <code class="parameter">$locale</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span>): <span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="class.intlcalendar.php" class="type IntlCalendar">IntlCalendar</a></span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.equals.php" class="methodname">equals</a></span>(<span class="methodparam"><span class="type"><a href="class.intlcalendar.php" class="type IntlCalendar">IntlCalendar</a></span> <code class="parameter">$other</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.fielddifference.php" class="methodname">fieldDifference</a></span>(<span class="methodparam"><span class="type"><a href="language.types.float.php" class="type float">float</a></span> <code class="parameter">$timestamp</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$field</code></span>): <span class="type"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="modifier">static</span> <span class="methodname"><a href="intlcalendar.fromdatetime.php" class="methodname">fromDateTime</a></span>(<span class="methodparam"><span class="type"><span class="type"><a href="class.datetime.php" class="type DateTime">DateTime</a></span>|<span class="type"><a href="language.types.string.php" class="type string">string</a></span></span> <code class="parameter">$datetime</code></span>, <span class="methodparam"><span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="language.types.string.php" class="type string">string</a></span></span> <code class="parameter">$locale</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span>): <span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="class.intlcalendar.php" class="type IntlCalendar">IntlCalendar</a></span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.get.php" class="methodname">get</a></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$field</code></span>): <span class="type"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.getactualmaximum.php" class="methodname">getActualMaximum</a></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$field</code></span>): <span class="type"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.getactualminimum.php" class="methodname">getActualMinimum</a></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$field</code></span>): <span class="type"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="modifier">static</span> <span class="methodname"><a href="intlcalendar.getavailablelocales.php" class="methodname">getAvailableLocales</a></span>(): <span class="type"><a href="language.types.array.php" class="type array">array</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.getdayofweektype.php" class="methodname">getDayOfWeekType</a></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$dayOfWeek</code></span>): <span class="type"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.geterrorcode.php" class="methodname">getErrorCode</a></span>(): <span class="type"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.geterrormessage.php" class="methodname">getErrorMessage</a></span>(): <span class="type"><span class="type"><a href="language.types.string.php" class="type string">string</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.getfirstdayofweek.php" class="methodname">getFirstDayOfWeek</a></span>(): <span class="type"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.getgreatestminimum.php" class="methodname">getGreatestMinimum</a></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$field</code></span>): <span class="type"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="modifier">static</span> <span class="methodname"><a href="intlcalendar.getkeywordvaluesforlocale.php" class="methodname">getKeywordValuesForLocale</a></span>(<span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$keyword</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$locale</code></span>, <span class="methodparam"><span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span> <code class="parameter">$onlyCommon</code></span>): <span class="type"><span class="type"><a href="class.intliterator.php" class="type IntlIterator">IntlIterator</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.getleastmaximum.php" class="methodname">getLeastMaximum</a></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$field</code></span>): <span class="type"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.getlocale.php" class="methodname">getLocale</a></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$type</code></span>): <span class="type"><span class="type"><a href="language.types.string.php" class="type string">string</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.getmaximum.php" class="methodname">getMaximum</a></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$field</code></span>): <span class="type"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.getminimaldaysinfirstweek.php" class="methodname">getMinimalDaysInFirstWeek</a></span>(): <span class="type"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.getminimum.php" class="methodname">getMinimum</a></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$field</code></span>): <span class="type"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="modifier">static</span> <span class="methodname"><a href="intlcalendar.getnow.php" class="methodname">getNow</a></span>(): <span class="type"><a href="language.types.float.php" class="type float">float</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.getrepeatedwalltimeoption.php" class="methodname">getRepeatedWallTimeOption</a></span>(): <span class="type"><a href="language.types.integer.php" class="type int">int</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.getskippedwalltimeoption.php" class="methodname">getSkippedWallTimeOption</a></span>(): <span class="type"><a href="language.types.integer.php" class="type int">int</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.gettime.php" class="methodname">getTime</a></span>(): <span class="type"><span class="type"><a href="language.types.float.php" class="type float">float</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.gettimezone.php" class="methodname">getTimeZone</a></span>(): <span class="type"><span class="type"><a href="class.intltimezone.php" class="type IntlTimeZone">IntlTimeZone</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.gettype.php" class="methodname">getType</a></span>(): <span class="type"><a href="language.types.string.php" class="type string">string</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.getweekendtransition.php" class="methodname">getWeekendTransition</a></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$dayOfWeek</code></span>): <span class="type"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.indaylighttime.php" class="methodname">inDaylightTime</a></span>(): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.isequivalentto.php" class="methodname">isEquivalentTo</a></span>(<span class="methodparam"><span class="type"><a href="class.intlcalendar.php" class="type IntlCalendar">IntlCalendar</a></span> <code class="parameter">$other</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.islenient.php" class="methodname">isLenient</a></span>(): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.isset.php" class="methodname">isSet</a></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$field</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.isweekend.php" class="methodname">isWeekend</a></span>(<span class="methodparam"><span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="language.types.float.php" class="type float">float</a></span></span> <code class="parameter">$timestamp</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.roll.php" class="methodname">roll</a></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$field</code></span>, <span class="methodparam"><span class="type"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span>|<span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></span> <code class="parameter">$value</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.set.php" class="methodname">set</a></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$field</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$value</code></span>): <span class="type"><a href="language.types.singleton.php" class="type true">true</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.set.php" class="methodname">set</a></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$year</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$month</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$dayOfMonth</code><span class="initializer"> = NULL</span></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$hour</code><span class="initializer"> = NULL</span></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$minute</code><span class="initializer"> = NULL</span></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$second</code><span class="initializer"> = NULL</span></span><br>): <span class="type"><a href="language.types.singleton.php" class="type true">true</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.setdate.php" class="methodname">setDate</a></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$year</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$month</code></span>, <span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$dayOfMonth</code></span>): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.setdatetime.php" class="methodname">setDateTime</a></span>(<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$year</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$month</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$dayOfMonth</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$hour</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$minute</code></span>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<span class="methodparam"><span class="type"><span class="type"><a href="language.types.null.php" class="type null">?</a></span><span class="type"><a href="language.types.integer.php" class="type int">int</a></span></span> <code class="parameter">$second</code><span class="initializer"> = <strong><code><a href="reserved.constants.php#constant.null">null</a></code></strong></span></span><br>): <span class="type"><a href="language.types.void.php" class="type void">void</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.setfirstdayofweek.php" class="methodname">setFirstDayOfWeek</a></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$dayOfWeek</code></span>): <span class="type"><a href="language.types.singleton.php" class="type true">true</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.setlenient.php" class="methodname">setLenient</a></span>(<span class="methodparam"><span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span> <code class="parameter">$lenient</code></span>): <span class="type"><a href="language.types.singleton.php" class="type true">true</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.setminimaldaysinfirstweek.php" class="methodname">setMinimalDaysInFirstWeek</a></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$days</code></span>): <span class="type"><a href="language.types.singleton.php" class="type true">true</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.setrepeatedwalltimeoption.php" class="methodname">setRepeatedWallTimeOption</a></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$option</code></span>): <span class="type"><a href="language.types.singleton.php" class="type true">true</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.setskippedwalltimeoption.php" class="methodname">setSkippedWallTimeOption</a></span>(<span class="methodparam"><span class="type"><a href="language.types.integer.php" class="type int">int</a></span> <code class="parameter">$option</code></span>): <span class="type"><a href="language.types.singleton.php" class="type true">true</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.settime.php" class="methodname">setTime</a></span>(<span class="methodparam"><span class="type"><a href="language.types.float.php" class="type float">float</a></span> <code class="parameter">$timestamp</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.settimezone.php" class="methodname">setTimeZone</a></span>(<span class="methodparam"><span class="type"><span class="type"><a href="class.intltimezone.php" class="type IntlTimeZone">IntlTimeZone</a></span>|<span class="type"><a href="class.datetimezone.php" class="type DateTimeZone">DateTimeZone</a></span>|<span class="type"><a href="language.types.string.php" class="type string">string</a></span>|<span class="type"><a href="language.types.null.php" class="type null">null</a></span></span> <code class="parameter">$timezone</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">public</span> <span class="methodname"><a href="intlcalendar.todatetime.php" class="methodname">toDateTime</a></span>(): <span class="type"><span class="type"><a href="class.datetime.php" class="type DateTime">DateTime</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>

   }</div>


  </div>
  

  <div class="section" id="intlcalendar.constants">
   <h2 class="title">Costanti predefinite</h2>
   <dl>

    
     <dt id="intlcalendar.constants.field-era">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.field-era">IntlCalendar::FIELD_ERA</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">
       Calendar field numerically representing an era, for instance
       <code class="literal">1</code> for AD and <code class="literal">0</code> for BC in the
       Gregorian/Julian calendars and <code class="literal">235</code> for the Heisei
       (平成) era in the Japanese calendar. Not all calendars have more than
       one era.
      </p>
     </dd>
    

    
     <dt id="intlcalendar.constants.field-year">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.field-year">IntlCalendar::FIELD_YEAR</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">
       Calendar field for the year. This is not unique across eras.  If the
       calendar type has more than one era, generally the minimum value for
       this field will be <code class="literal">1</code>.
      </p>
     </dd>
    

    
     <dt id="intlcalendar.constants.field-month">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.field-month">IntlCalendar::FIELD_MONTH</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">
       Calendar field for the month. The month sequence is zero-based, so
       January (here used to signify the first month of the calendar; this
       may be called another name, such as Muharram in the Islamic calendar)
       is represented by <code class="literal">0</code>, February by
       <code class="literal">1</code>, …, December by <code class="literal">11</code> and, for
       calendars that have it, the 13th or leap month by
       <code class="literal">12</code>.
      </p>
     </dd>
    

    
     <dt id="intlcalendar.constants.field-week-of-year">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.field-week-of-year">IntlCalendar::FIELD_WEEK_OF_YEAR</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">
       Calendar field for the number of the week of the year. This depends on
       which day of the week is <a href="intlcalendar.getfirstdayofweek.php" class="link">deemed to start the
       week</a> and the <a href="intlcalendar.getminimaldaysinfirstweek.php" class="link">minimal number of days
       in a week</a>.
      </p>
     </dd>
    

    
     <dt id="intlcalendar.constants.field-week-of-month">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.field-week-of-month">IntlCalendar::FIELD_WEEK_OF_MONTH</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">
       Calendar field for the number of the week of the month. This depends on
       which day of the week is <a href="intlcalendar.getfirstdayofweek.php" class="link">deemed to start the
       week</a> and the <a href="intlcalendar.getminimaldaysinfirstweek.php" class="link">minimal number of days
       in a week</a>.
      </p>
     </dd>
    

    
     <dt id="intlcalendar.constants.field-date">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.field-date">IntlCalendar::FIELD_DATE</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">
       Calendar field for the day of the month. The same as
       <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.field-day-of-month">IntlCalendar::FIELD_DAY_OF_MONTH</a></code></strong>, which has a
       clearer name.
      </p>
     </dd>
    

    
     <dt id="intlcalendar.constants.field-day-of-year">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.field-day-of-year">IntlCalendar::FIELD_DAY_OF_YEAR</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">
       Calendar field for the day of the year. For the Gregorian calendar,
       starts with <code class="literal">1</code> and ends with
       <code class="literal">365</code> or <code class="literal">366</code>.
      </p>
     </dd>
    

    
     <dt id="intlcalendar.constants.field-day-of-week">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.field-day-of-week">IntlCalendar::FIELD_DAY_OF_WEEK</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">
       Calendar field for the day of the week. Its values start with
       <code class="literal">1</code> (Sunday, see <a href="class.intlcalendar.php#intlcalendar.constants.dow-sunday" class="link"><strong><code><a href="class.intlcalendar.php#intlcalendar.constants.dow-sunday">IntlCalendar::DOW_SUNDAY</a></code></strong></a>
       and subsequent constants) and the last valid value is 7 (Saturday).
      </p>
     </dd>
    

    
     <dt id="intlcalendar.constants.field-day-of-week-in-month">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.field-day-of-week-in-month">IntlCalendar::FIELD_DAY_OF_WEEK_IN_MONTH</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">
       Given a day of the week (Sunday, Monday, …), this calendar
       field assigns an ordinal to such a day of the week in a specific month.
       Thus, if the value of this field is <code class="literal">1</code> and the value of the day of the
       week is <code class="literal">2</code> (Monday), then the set day of the month is the 1st Monday of the
       month; the maximum value is <code class="literal">5</code>.
      </p>
      <p class="para">
       Additionally, the value <code class="literal">0</code> and negative values are
       also allowed. The value <code class="literal">0</code> encompasses the seven days
       that occur immediately before the first seven days of a month (which
       therefore have a ‘day of week in month’ with value
       <code class="literal">1</code>). Negative values starts counting from the end of
       the month – <code class="literal">-1</code> points to the last occurrence of a
       day of the week in a month, <code class="literal">-2</code> to the second last,
       and so on.
      </p>
      <p class="para">
       Unlike <a href="class.intlcalendar.php#intlcalendar.constants.field-week-of-month" class="link"><strong><code><a href="class.intlcalendar.php#intlcalendar.constants.field-week-of-month">IntlCalendar::FIELD_WEEK_OF_MONTH</a></code></strong></a>
       and  <a href="class.intlcalendar.php#intlcalendar.constants.field-week-of-year" class="link"><strong><code><a href="class.intlcalendar.php#intlcalendar.constants.field-week-of-year">IntlCalendar::FIELD_WEEK_OF_YEAR</a></code></strong></a>,
       this value does not depend on
       <span class="function"><a href="intlcalendar.getfirstdayofweek.php" class="function">IntlCalendar::getFirstDayOfWeek()</a></span> or on
       <span class="function"><a href="intlcalendar.getminimaldaysinfirstweek.php" class="function">IntlCalendar::getMinimalDaysInFirstWeek()</a></span>. The first
       Monday is the first Monday, even if it occurs in a week that belongs to
       the previous month.
      </p>
     </dd>
    

    
     <dt id="intlcalendar.constants.field-am-pm">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.field-am-pm">IntlCalendar::FIELD_AM_PM</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">
       Calendar field indicating whether a time is before noon (value
       <code class="literal">0</code>, AM) or after (<code class="literal">1</code>). Midnight is
       AM, noon is PM.
      </p>
     </dd>
    

    
     <dt id="intlcalendar.constants.field-hour">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.field-hour">IntlCalendar::FIELD_HOUR</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">
       Calendar field for the hour, without specifying whether itʼs in the
       morning or in the afternoon. Valid values are <code class="literal">0</code> to
       <code class="literal">11</code>.
      </p>
     </dd>
    

    
     <dt id="intlcalendar.constants.field-hour-of-day">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.field-hour-of-day">IntlCalendar::FIELD_HOUR_OF_DAY</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">
       Calendar field for the full (24h) hour of the day. Valid values are
       <code class="literal">0</code> to <code class="literal">23</code>.
      </p>
     </dd>
    

    
     <dt id="intlcalendar.constants.field-minute">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.field-minute">IntlCalendar::FIELD_MINUTE</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">
       Calendar field for the minutes component of the time.
      </p>
     </dd>
    

    
     <dt id="intlcalendar.constants.field-second">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.field-second">IntlCalendar::FIELD_SECOND</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">
       Calendar field for the seconds component of the time.
      </p>
     </dd>
    

    
     <dt id="intlcalendar.constants.field-millisecond">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.field-millisecond">IntlCalendar::FIELD_MILLISECOND</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">
       Calendar field the milliseconds component of the time.
      </p>
     </dd>
    

    
     <dt id="intlcalendar.constants.field-zone-offset">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.field-zone-offset">IntlCalendar::FIELD_ZONE_OFFSET</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">
       Calendar field indicating the raw offset of the timezone, in
       milliseconds. The raw offset is the timezone offset, excluding any
       offset due to daylight saving time.
      </p>
     </dd>
    

    
     <dt id="intlcalendar.constants.field-dst-offset">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.field-dst-offset">IntlCalendar::FIELD_DST_OFFSET</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">
       Calendar field for the daylight saving time offset of the calendarʼs
       timezone, in milliseconds, if active for calendarʼs time.
      </p>
     </dd>
    

    
     <dt id="intlcalendar.constants.field-year-woy">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.field-year-woy">IntlCalendar::FIELD_YEAR_WOY</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">
       Calendar field representing the year for <a href="class.intlcalendar.php#intlcalendar.constants.field-week-of-year" class="link">week of year</a>
       purposes.
      </p>
     </dd>
    

    
     <dt id="intlcalendar.constants.field-dow-local">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.field-dow-local">IntlCalendar::FIELD_DOW_LOCAL</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">
       Calendar field for the localized day of the week. This is a value
       between <code class="literal">1</code> and <code class="literal">7</code>,
       <code class="literal">1</code> being used for the day of the week that matches
       the value returned by
       <span class="function"><a href="intlcalendar.getfirstdayofweek.php" class="function">IntlCalendar::getFirstDayOfWeek()</a></span>.
      </p>
     </dd>
    

    
     <dt id="intlcalendar.constants.field-extended-year">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.field-extended-year">IntlCalendar::FIELD_EXTENDED_YEAR</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">
       Calendar field for a year number representation that is continuous
       across eras. For the Gregorian calendar, the value of this field
       matches that of <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.field-year">IntlCalendar::FIELD_YEAR</a></code></strong> for AD
       years; a BC year <code class="literal">y</code> is represented by <code class="literal">-y +
       1</code>.
      </p>
     </dd>
    

    
     <dt id="intlcalendar.constants.field-julian-day">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.field-julian-day">IntlCalendar::FIELD_JULIAN_DAY</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">
       Calendar field for a modified Julian day number. It is different from a
       conventional Julian day number in that its transitions occur at local
       zone midnight rather than at noon UTC. It uniquely identifies a date.
      </p>
     </dd>
    

    
     <dt id="intlcalendar.constants.field-milliseconds-in-day">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.field-milliseconds-in-day">IntlCalendar::FIELD_MILLISECONDS_IN_DAY</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">
       Calendar field encompassing the information in
       <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.field-hour-of-day">IntlCalendar::FIELD_HOUR_OF_DAY</a></code></strong>,
       <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.field-minute">IntlCalendar::FIELD_MINUTE</a></code></strong>,
       <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.field-second">IntlCalendar::FIELD_SECOND</a></code></strong> and
       <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.field-millisecond">IntlCalendar::FIELD_MILLISECOND</a></code></strong>. Range is from the
       <code class="literal">0</code> to <code class="literal">24 * 3600 * 1000 - 1</code>. It is
       not the amount of milliseconds elapsed in the day since on DST
       transitions it will have discontinuities analog to those of the wall
       time.
      </p>
     </dd>
    

    
     <dt id="intlcalendar.constants.field-is-leap-month">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.field-is-leap-month">IntlCalendar::FIELD_IS_LEAP_MONTH</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">
       Calendar field whose value is <code class="literal">1</code> for indicating a
       leap month and <code class="literal">0</code> otherwise.
      </p>
     </dd>
    

    
     <dt id="intlcalendar.constants.field-field-count">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.field-field-count">IntlCalendar::FIELD_FIELD_COUNT</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">
       The total number of fields.
      </p>
     </dd>
    

    
     <dt id="intlcalendar.constants.field-day-of-month">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.field-day-of-month">IntlCalendar::FIELD_DAY_OF_MONTH</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">
       Alias for <a href="class.intlcalendar.php#intlcalendar.constants.field-date" class="link"><strong><code><a href="class.intlcalendar.php#intlcalendar.constants.field-date">IntlCalendar::FIELD_DATE</a></code></strong></a>.
      </p>
     </dd>
    

    
     <dt id="intlcalendar.constants.dow-sunday">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.dow-sunday">IntlCalendar::DOW_SUNDAY</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">Sunday.</p>
     </dd>
    

    
     <dt id="intlcalendar.constants.dow-monday">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.dow-monday">IntlCalendar::DOW_MONDAY</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">Monday.</p>
     </dd>
    

    
     <dt id="intlcalendar.constants.dow-tuesday">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.dow-tuesday">IntlCalendar::DOW_TUESDAY</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">Tuesday.</p>
     </dd>
    

    
     <dt id="intlcalendar.constants.dow-wednesday">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.dow-wednesday">IntlCalendar::DOW_WEDNESDAY</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">Wednesday.</p>
     </dd>
    

    
     <dt id="intlcalendar.constants.dow-thursday">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.dow-thursday">IntlCalendar::DOW_THURSDAY</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">Thursday.</p>
     </dd>
    

    
     <dt id="intlcalendar.constants.dow-friday">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.dow-friday">IntlCalendar::DOW_FRIDAY</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">Friday.</p>
     </dd>
    

    
     <dt id="intlcalendar.constants.dow-saturday">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.dow-saturday">IntlCalendar::DOW_SATURDAY</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">Saturday.</p>
     </dd>
    

    
     <dt id="intlcalendar.constants.dow-type-weekday">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.dow-type-weekday">IntlCalendar::DOW_TYPE_WEEKDAY</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">
       Output of <span class="function"><a href="intlcalendar.getdayofweektype.php" class="function">IntlCalendar::getDayOfWeekType()</a></span>
       indicating a day of week is a weekday.
      </p>
     </dd>
    

    
     <dt id="intlcalendar.constants.dow-type-weekend">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.dow-type-weekend">IntlCalendar::DOW_TYPE_WEEKEND</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">
       Output of <span class="function"><a href="intlcalendar.getdayofweektype.php" class="function">IntlCalendar::getDayOfWeekType()</a></span>
       indicating a day of week belongs to the weekend.
      </p>
     </dd>
    

    
     <dt id="intlcalendar.constants.dow-type-weekend-offset">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.dow-type-weekend-offset">IntlCalendar::DOW_TYPE_WEEKEND_OFFSET</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">
       Output of <span class="function"><a href="intlcalendar.getdayofweektype.php" class="function">IntlCalendar::getDayOfWeekType()</a></span>
       indicating the weekend begins during the given day of week.
      </p>
     </dd>
    

    
     <dt id="intlcalendar.constants.dow-type-weekend-cease">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.dow-type-weekend-cease">IntlCalendar::DOW_TYPE_WEEKEND_CEASE</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">
       Output of <span class="function"><a href="intlcalendar.getdayofweektype.php" class="function">IntlCalendar::getDayOfWeekType()</a></span>
       indicating the weekend ends during the given day of week.
      </p>
     </dd>
    

    
     <dt id="intlcalendar.constants.walltime-first">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.walltime-first">IntlCalendar::WALLTIME_FIRST</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">
       Output of <span class="function"><a href="intlcalendar.getskippedwalltimeoption.php" class="function">IntlCalendar::getSkippedWallTimeOption()</a></span>
       indicating that wall times in the skipped range should refer to the
       same instant as wall times with one hour less and of
       <span class="function"><a href="intlcalendar.getrepeatedwalltimeoption.php" class="function">IntlCalendar::getRepeatedWallTimeOption()</a></span>
       indicating the wall times in the repeated range should refer to the
       instant of the first occurrence of such wall time.
      </p>
     </dd>
    

    
     <dt id="intlcalendar.constants.walltime-last">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.walltime-last">IntlCalendar::WALLTIME_LAST</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">
       Output of <span class="function"><a href="intlcalendar.getskippedwalltimeoption.php" class="function">IntlCalendar::getSkippedWallTimeOption()</a></span>
       indicating that wall times in the skipped range should refer to the
       same instant as wall times with one hour after and of
       <span class="function"><a href="intlcalendar.getrepeatedwalltimeoption.php" class="function">IntlCalendar::getRepeatedWallTimeOption()</a></span>
       indicating the wall times in the repeated range should refer to the
       instant of the second occurrence of such wall time.
      </p>
     </dd>
    

    
     <dt id="intlcalendar.constants.walltime-next-valid">
      <strong><code><a href="class.intlcalendar.php#intlcalendar.constants.walltime-next-valid">IntlCalendar::WALLTIME_NEXT_VALID</a></code></strong>
      <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>
     </dt>
     <dd>
      <p class="para">
       Output of <span class="function"><a href="intlcalendar.getskippedwalltimeoption.php" class="function">IntlCalendar::getSkippedWallTimeOption()</a></span>
       indicating that wall times in the skipped range should refer to the
       instant when the daylight saving time transition occurs (begins).
      </p>
     </dd>
    

   </dl>
  </div>


  <div class="section">
   <h2 class="title">Log delle modifiche</h2>
   <table class="doctable informaltable">
    
     <thead>
      <tr>
       <th>Versione</th>
       <th>Descrizione</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td>8.4.0</td>
       <td>
        The class constants are now typed.
       </td>
      </tr>

     </tbody>
    
   </table>

  </div>

 </div>

 
















































































































































































































































<h2>Indice dei contenuti</h2><ul class="chunklist chunklist_reference"><li><a href="intlcalendar.add.php">IntlCalendar::add</a> — Add a (signed) amount of time to a field</li><li><a href="intlcalendar.after.php">IntlCalendar::after</a> — Whether this objectʼs time is after that of the passed object</li><li><a href="intlcalendar.before.php">IntlCalendar::before</a> — Whether this objectʼs time is before that of the passed object</li><li><a href="intlcalendar.clear.php">IntlCalendar::clear</a> — Clear a field or all fields</li><li><a href="intlcalendar.construct.php">IntlCalendar::__construct</a> — Private constructor for disallowing instantiation</li><li><a href="intlcalendar.createinstance.php">IntlCalendar::createInstance</a> — Create a new IntlCalendar</li><li><a href="intlcalendar.equals.php">IntlCalendar::equals</a> — Compare time of two IntlCalendar objects for equality</li><li><a href="intlcalendar.fielddifference.php">IntlCalendar::fieldDifference</a> — Calculate difference between given time and this objectʼs time</li><li><a href="intlcalendar.fromdatetime.php">IntlCalendar::fromDateTime</a> — Create an IntlCalendar from a DateTime object or string</li><li><a href="intlcalendar.get.php">IntlCalendar::get</a> — Get the value for a field</li><li><a href="intlcalendar.getactualmaximum.php">IntlCalendar::getActualMaximum</a> — The maximum value for a field, considering the objectʼs current time</li><li><a href="intlcalendar.getactualminimum.php">IntlCalendar::getActualMinimum</a> — The minimum value for a field, considering the objectʼs current time</li><li><a href="intlcalendar.getavailablelocales.php">IntlCalendar::getAvailableLocales</a> — Get array of locales for which there is data</li><li><a href="intlcalendar.getdayofweektype.php">IntlCalendar::getDayOfWeekType</a> — Tell whether a day is a weekday, weekend or a day that has a transition between the two</li><li><a href="intlcalendar.geterrorcode.php">IntlCalendar::getErrorCode</a> — Get last error code on the object</li><li><a href="intlcalendar.geterrormessage.php">IntlCalendar::getErrorMessage</a> — Get last error message on the object</li><li><a href="intlcalendar.getfirstdayofweek.php">IntlCalendar::getFirstDayOfWeek</a> — Get the first day of the week for the calendarʼs locale</li><li><a href="intlcalendar.getgreatestminimum.php">IntlCalendar::getGreatestMinimum</a> — Get the largest local minimum value for a field</li><li><a href="intlcalendar.getkeywordvaluesforlocale.php">IntlCalendar::getKeywordValuesForLocale</a> — Get set of locale keyword values</li><li><a href="intlcalendar.getleastmaximum.php">IntlCalendar::getLeastMaximum</a> — Get the smallest local maximum for a field</li><li><a href="intlcalendar.getlocale.php">IntlCalendar::getLocale</a> — Get the locale associated with the object</li><li><a href="intlcalendar.getmaximum.php">IntlCalendar::getMaximum</a> — Get the global maximum value for a field</li><li><a href="intlcalendar.getminimaldaysinfirstweek.php">IntlCalendar::getMinimalDaysInFirstWeek</a> — Get minimal number of days the first week in a year or month can have</li><li><a href="intlcalendar.getminimum.php">IntlCalendar::getMinimum</a> — Get the global minimum value for a field</li><li><a href="intlcalendar.getnow.php">IntlCalendar::getNow</a> — Get number representing the current time</li><li><a href="intlcalendar.getrepeatedwalltimeoption.php">IntlCalendar::getRepeatedWallTimeOption</a> — Get behavior for handling repeating wall time</li><li><a href="intlcalendar.getskippedwalltimeoption.php">IntlCalendar::getSkippedWallTimeOption</a> — Get behavior for handling skipped wall time</li><li><a href="intlcalendar.gettime.php">IntlCalendar::getTime</a> — Get time currently represented by the object</li><li><a href="intlcalendar.gettimezone.php">IntlCalendar::getTimeZone</a> — Get the objectʼs timezone</li><li><a href="intlcalendar.gettype.php">IntlCalendar::getType</a> — Get the calendar type</li><li><a href="intlcalendar.getweekendtransition.php">IntlCalendar::getWeekendTransition</a> — Get time of the day at which weekend begins or ends</li><li><a href="intlcalendar.indaylighttime.php">IntlCalendar::inDaylightTime</a> — Whether the objectʼs time is in Daylight Savings Time</li><li><a href="intlcalendar.isequivalentto.php">IntlCalendar::isEquivalentTo</a> — Whether another calendar is equal but for a different time</li><li><a href="intlcalendar.islenient.php">IntlCalendar::isLenient</a> — Whether date/time interpretation is in lenient mode</li><li><a href="intlcalendar.isset.php">IntlCalendar::isSet</a> — Whether a field is set</li><li><a href="intlcalendar.isweekend.php">IntlCalendar::isWeekend</a> — Whether a certain date/time is in the weekend</li><li><a href="intlcalendar.roll.php">IntlCalendar::roll</a> — Add value to field without carrying into more significant fields</li><li><a href="intlcalendar.set.php">IntlCalendar::set</a> — Set a time field or several common fields at once</li><li><a href="intlcalendar.setdate.php">IntlCalendar::setDate</a> — Set a date fields</li><li><a href="intlcalendar.setdatetime.php">IntlCalendar::setDateTime</a> — Set a date and time fields</li><li><a href="intlcalendar.setfirstdayofweek.php">IntlCalendar::setFirstDayOfWeek</a> — Set the day on which the week is deemed to start</li><li><a href="intlcalendar.setlenient.php">IntlCalendar::setLenient</a> — Set whether date/time interpretation is to be lenient</li><li><a href="intlcalendar.setminimaldaysinfirstweek.php">IntlCalendar::setMinimalDaysInFirstWeek</a> — Set minimal number of days the first week in a year or month can have</li><li><a href="intlcalendar.setrepeatedwalltimeoption.php">IntlCalendar::setRepeatedWallTimeOption</a> — Set behavior for handling repeating wall times at negative timezone offset transitions</li><li><a href="intlcalendar.setskippedwalltimeoption.php">IntlCalendar::setSkippedWallTimeOption</a> — Set behavior for handling skipped wall times at positive timezone offset transitions</li><li><a href="intlcalendar.settime.php">IntlCalendar::setTime</a> — Set the calendar time in milliseconds since the epoch</li><li><a href="intlcalendar.settimezone.php">IntlCalendar::setTimeZone</a> — Set the timezone used by this calendar</li><li><a href="intlcalendar.todatetime.php">IntlCalendar::toDateTime</a> — Convert an IntlCalendar into a DateTime object</li></ul>
</div>
<?php manual_footer($setup); ?>