<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.calendar.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'en',
  ),
  'this' => 
  array (
    0 => 'calendar.constants.php',
    1 => 'Predefined Constants',
    2 => 'Predefined Constants',
  ),
  'up' => 
  array (
    0 => 'book.calendar.php',
    1 => 'Calendar',
  ),
  'prev' => 
  array (
    0 => 'calendar.installation.php',
    1 => 'Installation',
  ),
  'next' => 
  array (
    0 => 'ref.calendar.php',
    1 => 'Calendar Functions',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/calendar/constants.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="calendar.constants" class="appendix">
 <h1 class="title">Predefined Constants</h1>

 <p class="simpara">
The constants below are defined by this extension, and
will only be available when the extension has either
been compiled into PHP or dynamically loaded at runtime.
</p>
 <dl>
  
   <dt id="constant.cal-easter-default">
    <strong><code><a href="calendar.constants.php#constant.cal-easter-default">CAL_EASTER_DEFAULT</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     For <span class="function"><a href="function.easter-days.php" class="function">easter_days()</a></span>: calculate Easter for years before
     1753 according to the Julian calendar, and for later years according to the
     Gregorian calendar.
    </span>
   </dd>
  
  
   <dt id="constant.cal-easter-roman">
    <strong><code><a href="calendar.constants.php#constant.cal-easter-roman">CAL_EASTER_ROMAN</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     For <span class="function"><a href="function.easter-days.php" class="function">easter_days()</a></span>: calculate Easter for years before
     1583 according to the Julian calendar, and for later years according to the
     Gregorian calendar.
    </span>
   </dd>
  
  
   <dt id="constant.cal-easter-always-gregorian">
    <strong><code><a href="calendar.constants.php#constant.cal-easter-always-gregorian">CAL_EASTER_ALWAYS_GREGORIAN</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     For <span class="function"><a href="function.easter-days.php" class="function">easter_days()</a></span>: calculate Easter according to the
     proleptic Gregorian calendar.
    </span>
   </dd>
  
  
   <dt id="constant.cal-easter-always-julian">
    <strong><code><a href="calendar.constants.php#constant.cal-easter-always-julian">CAL_EASTER_ALWAYS_JULIAN</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     For <span class="function"><a href="function.easter-days.php" class="function">easter_days()</a></span>: calculate Easter according to the
     Julian calendar.
    </span>
   </dd>
  
  
   <dt id="constant.cal-gregorian">
    <strong><code><a href="calendar.constants.php#constant.cal-gregorian">CAL_GREGORIAN</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     For <span class="function"><a href="function.cal-days-in-month.php" class="function">cal_days_in_month()</a></span>,
     <span class="function"><a href="function.cal-from-jd.php" class="function">cal_from_jd()</a></span>, <span class="function"><a href="function.cal-info.php" class="function">cal_info()</a></span> and
     <span class="function"><a href="function.cal-to-jd.php" class="function">cal_to_jd()</a></span>: use the proleptic Gregorian calendar.
    </span>
   </dd>
  
  
   <dt id="constant.cal-julian">
    <strong><code><a href="calendar.constants.php#constant.cal-julian">CAL_JULIAN</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     For <span class="function"><a href="function.cal-days-in-month.php" class="function">cal_days_in_month()</a></span>,
     <span class="function"><a href="function.cal-from-jd.php" class="function">cal_from_jd()</a></span>, <span class="function"><a href="function.cal-info.php" class="function">cal_info()</a></span> and
     <span class="function"><a href="function.cal-to-jd.php" class="function">cal_to_jd()</a></span>: use the Julian calendar.
    </span>
   </dd>
  
  
   <dt id="constant.cal-jewish">
    <strong><code><a href="calendar.constants.php#constant.cal-jewish">CAL_JEWISH</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     For <span class="function"><a href="function.cal-days-in-month.php" class="function">cal_days_in_month()</a></span>,
     <span class="function"><a href="function.cal-from-jd.php" class="function">cal_from_jd()</a></span>, <span class="function"><a href="function.cal-info.php" class="function">cal_info()</a></span> and
     <span class="function"><a href="function.cal-to-jd.php" class="function">cal_to_jd()</a></span>: use the Jewish calendar.
    </span>
   </dd>
  
  
   <dt id="constant.cal-french">
    <strong><code><a href="calendar.constants.php#constant.cal-french">CAL_FRENCH</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     For <span class="function"><a href="function.cal-days-in-month.php" class="function">cal_days_in_month()</a></span>,
     <span class="function"><a href="function.cal-from-jd.php" class="function">cal_from_jd()</a></span>, <span class="function"><a href="function.cal-info.php" class="function">cal_info()</a></span> and
     <span class="function"><a href="function.cal-to-jd.php" class="function">cal_to_jd()</a></span>: use the French Repuclican calendar.
    </span>
   </dd>
  
  
   <dt id="constant.cal-num-cals">
    <strong><code><a href="calendar.constants.php#constant.cal-num-cals">CAL_NUM_CALS</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     The number of available calendars.
    </span>
   </dd>
  
  
   <dt id="constant.cal-jewish-add-alafim-geresh">
    <strong><code><a href="calendar.constants.php#constant.cal-jewish-add-alafim-geresh">CAL_JEWISH_ADD_ALAFIM_GERESH</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     For <span class="function"><a href="function.jdtojewish.php" class="function">jdtojewish()</a></span>: adds a geresh symbol (which resembles
     a single-quote mark) as thousands separator to the year number.
    </span>
   </dd>
  
  
   <dt id="constant.cal-jewish-add-alafim">
    <strong><code><a href="calendar.constants.php#constant.cal-jewish-add-alafim">CAL_JEWISH_ADD_ALAFIM</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     For <span class="function"><a href="function.jdtojewish.php" class="function">jdtojewish()</a></span>: adds the word alafim as thousands
     separator to the year number.
    </span>
   </dd>
  
  
   <dt id="constant.cal-jewish-add-gereshayim">
    <strong><code><a href="calendar.constants.php#constant.cal-jewish-add-gereshayim">CAL_JEWISH_ADD_GERESHAYIM</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     For <span class="function"><a href="function.jdtojewish.php" class="function">jdtojewish()</a></span>: add a gershayim symbol (which
     resembles a double-quote mark) before the final letter of the day and year numbers.
    </span>
   </dd>
  
  
   <dt id="constant.cal-dow-dayno">
    <strong><code><a href="calendar.constants.php#constant.cal-dow-dayno">CAL_DOW_DAYNO</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     For <span class="function"><a href="function.jddayofweek.php" class="function">jddayofweek()</a></span>: the day of the week as
     <span class="type"><a href="language.types.integer.php" class="type int">int</a></span>, where <code class="literal">0</code> means Sunday and
     <code class="literal">6</code> means Saturday.
    </span>
   </dd>
  
  
   <dt id="constant.cal-dow-short">
    <strong><code><a href="calendar.constants.php#constant.cal-dow-short">CAL_DOW_SHORT</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     For <span class="function"><a href="function.jddayofweek.php" class="function">jddayofweek()</a></span>: the abbreviated English name of the
     day of the week.
    </span>
   </dd>
  
  
   <dt id="constant.cal-dow-long">
    <strong><code><a href="calendar.constants.php#constant.cal-dow-long">CAL_DOW_LONG</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     For <span class="function"><a href="function.jddayofweek.php" class="function">jddayofweek()</a></span>: the English name of the day of the
     week.
    </span>
   </dd>
  
  
   <dt id="constant.cal-month-gregorian-short">
    <strong><code><a href="calendar.constants.php#constant.cal-month-gregorian-short">CAL_MONTH_GREGORIAN_SHORT</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     For <span class="function"><a href="function.jdmonthname.php" class="function">jdmonthname()</a></span>: the abbreviated Gregorian month name.
    </span>
   </dd>
  
  
   <dt id="constant.cal-month-gregorian-long">
    <strong><code><a href="calendar.constants.php#constant.cal-month-gregorian-long">CAL_MONTH_GREGORIAN_LONG</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     For <span class="function"><a href="function.jdmonthname.php" class="function">jdmonthname()</a></span>: the Gregorian month name.
    </span>
   </dd>
  
  
   <dt id="constant.cal-month-julian-short">
    <strong><code><a href="calendar.constants.php#constant.cal-month-julian-short">CAL_MONTH_JULIAN_SHORT</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     For <span class="function"><a href="function.jdmonthname.php" class="function">jdmonthname()</a></span>: the abbreviated Julian month name.
    </span>
   </dd>
  
  
   <dt id="constant.cal-month-julian-long">
    <strong><code><a href="calendar.constants.php#constant.cal-month-julian-long">CAL_MONTH_JULIAN_LONG</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     For <span class="function"><a href="function.jdmonthname.php" class="function">jdmonthname()</a></span>: the Julian month name.
    </span>
   </dd>
  
  
   <dt id="constant.cal-month-jewish">
    <strong><code><a href="calendar.constants.php#constant.cal-month-jewish">CAL_MONTH_JEWISH</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     For <span class="function"><a href="function.jdmonthname.php" class="function">jdmonthname()</a></span>: the Jewish month name.
    </span>
   </dd>
  
  
   <dt id="constant.cal-month-french">
    <strong><code><a href="calendar.constants.php#constant.cal-month-french">CAL_MONTH_FRENCH</a></code></strong>
    (<span class="type"><a href="language.types.integer.php" class="type int">int</a></span>)
   </dt>
   <dd>
    <span class="simpara">
     For <span class="function"><a href="function.jdmonthname.php" class="function">jdmonthname()</a></span>: the French Republican month name.
    </span>
   </dd>
  
 </dl>
</div>
<?php manual_footer($setup); ?>