cvs: phpdoc-he /reference/calendar .cvsignore configure.xml constants.xml functions.xml reference.xml /reference/calendar/functions cal-days-in-month.xml cal-from-jd.xml cal-info.xml cal-to-jd.xml easter-date.xml easter-days.xml frenchtojd.xml gregoriantojd.xml jddayofweek.xml jdmonthname.xml jdtofrench.xml jdtogregorian.xml jdtojewish.xml jdtojulian.xml jdtounix.xml jewishtojd.xml juliantojd.xml unixtojd.xml

[email protected] ("Moshe Doron") Thu, 22 May 2003 11:20:17 -0000
Newsgroups php.doc.he
Message-ID <cvsmomo1053602417@cvsserver>
momo		Thu May 22 07:20:17 2003 EDT

  Added files:                 
    /phpdoc-he/reference/calendar	.cvsignore configure.xml 
                                 	constants.xml functions.xml 
                                 	reference.xml 
    /phpdoc-he/reference/calendar/functions	cal-days-in-month.xml 
                                           	cal-from-jd.xml 
                                           	cal-info.xml cal-to-jd.xml 
                                           	easter-date.xml 
                                           	easter-days.xml 
                                           	frenchtojd.xml 
                                           	gregoriantojd.xml 
                                           	jddayofweek.xml 
                                           	jdmonthname.xml 
                                           	jdtofrench.xml 
                                           	jdtogregorian.xml 
                                           	jdtojewish.xml 
                                           	jdtojulian.xml jdtounix.xml 
                                           	jewishtojd.xml 
                                           	juliantojd.xml unixtojd.xml 
  Log:
   initial translation of calendar
momo-20030522072017.txt (text/plain, 44.5 KB)
Index: phpdoc-he/reference/calendar/.cvsignore
+++ phpdoc-he/reference/calendar/.cvsignore
functions.xml

Index: phpdoc-he/reference/calendar/configure.xml
+++ phpdoc-he/reference/calendar/configure.xml
<?xml version="1.0" encoding="WINDOWS-1255"?>
<!-- EN-Revision: 1.5 Maintainer: momo Status: working -->
<!-- $Revision: 1.1 $ -->
<section id="calendar.installation">
 &reftitle.install;
 <para>
  òì îðú ìâøåí ìôåð÷öéåú ìòáåã òìéê ì÷ðôâ ìäåñéó à÷åðôéâåøöéä:
  <option role="configure">--enable-calendar</option>.
 </para>
 &windows.builtin;
</section>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
Index: phpdoc-he/reference/calendar/constants.xml
+++ phpdoc-he/reference/calendar/constants.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<section id="calendar.constants">
 &reftitle.constants;
 &extension.constants;
 <variablelist>
  <varlistentry>
   <term>
    <constant>CAL_GREGORIAN</constant> 
    (<link linkend="language.types.integer">integer</link>)
   </term>
   <listitem>
    <simpara>

    </simpara>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>CAL_JULIAN</constant> 
    (<link linkend="language.types.integer">integer</link>)
   </term>
   <listitem>
    <simpara>

    </simpara>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>CAL_JEWISH</constant> 
    (<link linkend="language.types.integer">integer</link>)
   </term>
   <listitem>
    <simpara>
     
    </simpara>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>CAL_FRENCH</constant> 
    (<link linkend="language.types.integer">integer</link>)
   </term>
   <listitem>
    <simpara>
     
    </simpara>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>CAL_NUM_CALS</constant> 
    (<link linkend="language.types.integer">integer</link>)
   </term>
   <listitem>
    <simpara>
     
    </simpara>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>CAL_DOW_DAYNO</constant> 
    (<link linkend="language.types.integer">integer</link>)
   </term>
   <listitem>
    <simpara>
     
    </simpara>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>CAL_DOW_SHORT</constant> 
    (<link linkend="language.types.integer">integer</link>)
   </term>
   <listitem>
    <simpara>
     
    </simpara>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>CAL_DOW_LONG</constant> 
    (<link linkend="language.types.integer">integer</link>)
   </term>
   <listitem>
    <simpara>
     
    </simpara>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>CAL_MONTH_GREGORIAN_SHORT</constant> 
    (<link linkend="language.types.integer">integer</link>)
   </term>
   <listitem>
    <simpara>
     
    </simpara>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>CAL_MONTH_GREGORIAN_LONG</constant> 
    (<link linkend="language.types.integer">integer</link>)
   </term>
   <listitem>
    <simpara>
     
    </simpara>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>CAL_MONTH_JULIAN_SHORT</constant> 
    (<link linkend="language.types.integer">integer</link>)
   </term>
   <listitem>
    <simpara>
     
    </simpara>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>CAL_MONTH_JULIAN_LONG</constant> 
    (<link linkend="language.types.integer">integer</link>)
   </term>
   <listitem>
    <simpara>
     
    </simpara>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>CAL_MONTH_JEWISH</constant> 
    (<link linkend="language.types.integer">integer</link>)
   </term>
   <listitem>
    <simpara>
     
    </simpara>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>CAL_MONTH_FRENCH</constant> 
    (<link linkend="language.types.integer">integer</link>)
   </term>
   <listitem>
    <simpara>
     
    </simpara>
   </listitem>
  </varlistentry>
 </variablelist>
 <para>
  ÷áåòéí àìå àôùøééí äçì î <literal>PHP</literal> 4.3.0 :
 </para>
 <variablelist>
  <varlistentry>
   <term>
    <constant>CAL_EASTER_DEFAULT</constant> 
    (<link linkend="language.types.integer">integer</link>)
   </term>
   <listitem>
    <simpara>
     
    </simpara>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>CAL_EASTER_ROMAN</constant> 
    (<link linkend="language.types.integer">integer</link>)
   </term>
   <listitem>
    <simpara>
     
    </simpara>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>CAL_EASTER_ALWAYS_GREGORIAN</constant> 
    (<link linkend="language.types.integer">integer</link>)
   </term>
   <listitem>
    <simpara>
     
    </simpara>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>CAL_EASTER_ALWAYS_JULIAN</constant> 
    (<link linkend="language.types.integer">integer</link>)
   </term>
   <listitem>
    <simpara>
     
    </simpara>
   </listitem>
  </varlistentry>
  </variablelist>
 <para>
  ÷áåòéí àìå àôùøééí äçì î <literal>PHP</literal> 5.0.0 :
 </para>
 <variablelist>
  <varlistentry>
   <term>
    <constant>CAL_JEWISH_ADD_ALAFIM_GERESH</constant>
     (<type>integer</type>)
   </term>
   <listitem>
    <simpara>

    </simpara>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>CAL_JEWISH_ADD_ALAFIM</constant>
     (<type>integer</type>)
   </term>
   <listitem>
    <simpara>

    </simpara>
   </listitem>
  </varlistentry>
  <varlistentry>
   <term>
    <constant>CAL_JEWISH_ADD_GERESHAYIM</constant>
     (<type>integer</type>)
   </term>
   <listitem>
    <simpara>

    </simpara>
   </listitem>
  </varlistentry>
 </variablelist>
</section>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

Index: phpdoc-he/reference/calendar/functions.xml
+++ phpdoc-he/reference/calendar/functions.xml
&reference.calendar.functions.cal-days-in-month;
&reference.calendar.functions.cal-from-jd;
&reference.calendar.functions.cal-info;
&reference.calendar.functions.cal-to-jd;
&reference.calendar.functions.easter-date;
&reference.calendar.functions.easter-days;
&reference.calendar.functions.frenchtojd;
&reference.calendar.functions.gregoriantojd;
&reference.calendar.functions.jddayofweek;
&reference.calendar.functions.jdmonthname;
&reference.calendar.functions.jdtofrench;
&reference.calendar.functions.jdtogregorian;
&reference.calendar.functions.jdtojewish;
&reference.calendar.functions.jdtojulian;
&reference.calendar.functions.jdtounix;
&reference.calendar.functions.jewishtojd;
&reference.calendar.functions.juliantojd;
&reference.calendar.functions.unixtojd;

Index: phpdoc-he/reference/calendar/reference.xml
+++ phpdoc-he/reference/calendar/reference.xml
<?xml version="1.0" encoding="WINDOWS-1255"?>
<!-- EN-Revision: 1.5 Maintainer: momo Status: working -->
<!-- $Revision: 1.1 $ -->
 <reference id="ref.calendar">

  <title>Calendar ôåð÷öéåú</title>
  <titleabbrev>Calendar</titleabbrev>
  <partintro>
   <section id="calendar.intro">
    &reftitle.intro;
    <para>

    ôåð÷öéåú äcalendar îàôùøåú äîøä ôùåèä áéï ñåâé ñôéøåú ùåðåú ùì úàøéëéí.
    äîúååê äîàôùø àú ääîøåú äåà îñôø äîééöâ éåí áîðééï äéîéí äâ'åìéàðé. äîñôø äåà îñôø äéîéí ùòáøå îàæ äøàùåï áéðåàø 4713 ìôðé äñôéøä äðåöøéú.
    àí ëï, òì îðú ìäîéø áéï éåîðéí ùåðéí òìéê áúçéìä ìäîéø àú äúàøéê ìñôéøú äéîéí äâ'åìéàðéú åàæ ìñôéøä äðáçøú.
    ùéí ìá, ñôéøú äéîéí äâ'åìéàðéú àéððä äéåîï äâ'åìéàðé ìôøèéí ðåñôéí òì ñôéøú äéîéí äâ'åìéàðéú ìê ì

     <ulink url="&url.calendar.jd;">&url.calendar.jd;</ulink>
     ìôøèéí ðåñôéí òì äìåçåú äùåðéí ìê ì
     <ulink
     url="&url.calendar;">&url.calendar;</ulink>.  
     îåáàåú îî÷åø æä äîöåèèåú áãôéí àìå îå÷ôåú áîøëàåú.
    </para>
   </section>

   &reference.calendar.configure;

   <section id="calendar.configuration">
    &reftitle.runtime;
    &no.config;
   </section>

   <section id="calendar.resources">
    &reftitle.resources;
    &no.resource;
   </section>
   &reference.calendar.constants;
  </partintro>

&reference.calendar.functions;

 </reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->


Index: phpdoc-he/reference/calendar/functions/cal-days-in-month.xml
+++ phpdoc-he/reference/calendar/functions/cal-days-in-month.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- splitted from ./en/functions/calendar.xml, last change in rev 1.19 -->
  <refentry id="function.cal-days-in-month"> 
   <refnamediv>
    <refname>cal_days_in_month</refname>
    <refpurpose>Return the number of days in a month for a given year and calendar</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>int</type><methodname>cal_days_in_month</methodname>
      <methodparam><type>int</type><parameter>calendar</parameter></methodparam>
      <methodparam><type>int</type><parameter>month</parameter></methodparam>
      <methodparam><type>int</type><parameter>year</parameter></methodparam>
     </methodsynopsis>
    <para>
     This function will return the number of days in the
     <parameter>month</parameter> of <parameter>year</parameter> for
     the specified <parameter>calendar</parameter>.
    </para>
    <para>
     See also <function>jdtounix</function>.
    </para>
   </refsect1>
  </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

Index: phpdoc-he/reference/calendar/functions/cal-from-jd.xml
+++ phpdoc-he/reference/calendar/functions/cal-from-jd.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- splitted from ./en/functions/calendar.xml, last change in rev 1.19 -->
  <refentry id='function.cal-from-jd'>
   <refnamediv>
    <refname>cal_from_jd</refname>
    <refpurpose>Converts from Julian Day Count to a supported calendar</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>array</type><methodname>cal_from_jd</methodname>
      <methodparam><type>int</type><parameter>jd</parameter></methodparam>
      <methodparam><type>int</type><parameter>calendar</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>cal_from_jd</function> converts the julian day given in
     <parameter>jd</parameter> into a date of the specified
     <parameter>calendar</parameter>. Supported
     <parameter>calendar</parameter> values are
     <constant>CAL_GREGORIAN</constant>,
     <constant>CAL_JULIAN</constant>,
     <constant>CAL_JEWISH</constant> and
     <constant>CAL_FRENCH</constant>.
    </para>
    <para>
     See also <function>cal_to_jd</function>.
    </para>
   </refsect1>
  </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

Index: phpdoc-he/reference/calendar/functions/cal-info.xml
+++ phpdoc-he/reference/calendar/functions/cal-info.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- splitted from ./en/functions/calendar.xml, last change in rev 1.19 -->
  <refentry id='function.cal-info'>
   <refnamediv>
    <refname>cal_info</refname>
    <refpurpose>Returns information about a particular calendar</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>array</type><methodname>cal_info</methodname>
      <methodparam choice='opt'><type>int</type><parameter>calendar</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>cal_info</function> returns information on the
     specified <function>calendar</function> or on all supported
     calendars if no <parameter>calendar</parameter> is specified.
    </para>
    <para>
     Calendar information is returned as an array containing the
     elements <literal>calname</literal>, <literal>calsymbol</literal>,
     <literal>month</literal>, <literal>abbrevmonth</literal> and
     <literal>maxdaysinmonth</literal>.
    </para>
    <para>
     If no <parameter>calendar</parameter> is specified information on all
     supported calendars is returned as an array. This functionality
     will be available beginning with PHP 5.
    </para>
   </refsect1>
  </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

Index: phpdoc-he/reference/calendar/functions/cal-to-jd.xml
+++ phpdoc-he/reference/calendar/functions/cal-to-jd.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- splitted from ./en/functions/calendar.xml, last change in rev 1.19 -->
  <refentry id='function.cal-to-jd'>
   <refnamediv>
    <refname>cal_to_jd</refname>
    <refpurpose>Converts from a supported calendar to Julian Day Count</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>int</type><methodname>cal_to_jd</methodname>
      <methodparam><type>int</type><parameter>calendar</parameter></methodparam>
      <methodparam><type>int</type><parameter>month</parameter></methodparam>
      <methodparam><type>int</type><parameter>day</parameter></methodparam>
      <methodparam><type>int</type><parameter>year</parameter></methodparam>
     </methodsynopsis>
    <para>
     <function>cal_to_jd</function> calculates the julian day count
     for a date in the specified <parameter>calendar</parameter>.
     Supported <parameter>calendar</parameter>s are
     <constant>CAL_GREGORIAN</constant>,
     <constant>CAL_JULIAN</constant>,
     <constant>CAL_JEWISH</constant> and
     <constant>CAL_FRENCH</constant>.
    </para>
    <para>
     See also <function>cal_to_jd</function>.
    </para>
   </refsect1>
  </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

Index: phpdoc-he/reference/calendar/functions/easter-date.xml
+++ phpdoc-he/reference/calendar/functions/easter-date.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- splitted from ./en/functions/calendar.xml, last change in rev 1.2 -->
  <refentry id="function.easter-date">
   <refnamediv>
    <refname>easter_date</refname>
    <refpurpose>
     Get UNIX timestamp for midnight on Easter of a given year
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>int</type><methodname>easter_date</methodname>
      <methodparam choice="opt"><type>int</type><parameter>year</parameter></methodparam>
     </methodsynopsis>
    <para>
     Returns the UNIX timestamp corresponding to midnight on Easter of
     the given year.
    </para>
    <para>
     Since <literal>PHP</literal> 4.3.0, the <parameter>year</parameter>
     parameter is optional and defaults to the current year according to the
     localtime if ommited.
    </para>
    <para>
     <emphasis>Warning:</emphasis> This function will generate
     a warning if the year is outside of the range for UNIX
     timestamps (i.e. before 1970 or after 2037).
     <example>
      <title><function>easter_date</function> example</title>
      <programlisting role="php">
<![CDATA[
echo date ("M-d-Y", easter_date(1999));        /* "Apr-04-1999" */
echo date ("M-d-Y", easter_date(2000));        /* "Apr-23-2000" */
echo date ("M-d-Y", easter_date(2001));        /* "Apr-15-2001" */
]]>
      </programlisting>
     </example>
    </para>
    <para>
     The date of Easter Day was defined by the Council of Nicaea in
     AD325 as the Sunday after the first full moon which falls on or
     after the Spring Equinox.  The Equinox is assumed to always fall
     on 21st March, so the calculation reduces to determining the date
     of the full moon and the date of the following Sunday.  The
     algorithm used here was introduced around the year 532 by
     Dionysius Exiguus.  Under the Julian Calendar (for years before
     1753) a simple 19-year cycle is used to track the phases of the
     Moon.  Under the Gregorian Calendar (for years after 1753 -
     devised by Clavius and Lilius, and introduced by Pope Gregory
     XIII in October 1582, and into Britain and its then colonies in
     September 1752) two correction factors are added to make the
     cycle more accurate.
    </para>
    <para>
     (The code is based on a C program by Simon Kershaw,
     &lt;[email protected]&gt;)
    </para>
    <para>
     See <function>easter_days</function> for calculating Easter
     before 1970 or after 2037.
    </para>
   </refsect1>
  </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

Index: phpdoc-he/reference/calendar/functions/easter-days.xml
+++ phpdoc-he/reference/calendar/functions/easter-days.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- splitted from ./en/functions/calendar.xml, last change in rev 1.2 -->
  <refentry id="function.easter-days">
   <refnamediv>
    <refname>easter_days</refname>
    <refpurpose>
     Get number of days after March 21 on which Easter falls for a
     given year
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>int</type><methodname>easter_days</methodname>
      <methodparam choice="opt"><type>int</type><parameter>year</parameter></methodparam>
      <methodparam choice="opt"><type>int</type><parameter>method</parameter></methodparam>
     </methodsynopsis>
    <para>
     Returns the number of days after March 21 on which Easter falls
     for a given year. If no year is specified, the current year is
     assumed.
    </para>
    <para>
     Since <literal>PHP</literal> 4.3.0, the <parameter>year</parameter>
     parameter is optional and defaults to the current year according to the
     localtime if ommited.
    </para>
    <para>
     The <parameter>method</parameter> parameter was also introduced in
     <literal>PHP</literal> 4.3.0 and allows to calculate easter dates based
     on the Gregorian calendar during the years 1582 - 1752 when set to
     <constant>CAL_EASTER_ROMAN</constant>. See the <link
     linkend="calendar.constants">calendar constants</link> for more valid
     constants.
    </para>
    <para>
     This function can be used instead of
     <function>easter_date</function> to calculate Easter for years
     which fall outside the range of UNIX timestamps (i.e. before 1970
     or after 2037).
     <example>
      <title><function>easter_days</function> example</title>
      <programlisting role="php">
<![CDATA[
echo easter_days (1999);        /* 14, i.e. April 4   */
echo easter_days (1492);        /* 32, i.e. April 22  */
echo easter_days (1913);        /*  2, i.e. March 23  */
]]>
      </programlisting>
     </example>
    </para>
    <para>
     The date of Easter Day was defined by the Council of Nicaea in
     AD325 as the Sunday after the first full moon which falls on or
     after the Spring Equinox.  The Equinox is assumed to always fall
     on 21st March, so the calculation reduces to determining the date
     of the full moon and the date of the following Sunday.  The
     algorithm used here was introduced around the year 532 by
     Dionysius Exiguus.  Under the Julian Calendar (for years before
     1753) a simple 19-year cycle is used to track the phases of the
     Moon.  Under the Gregorian Calendar (for years after 1753 -
     devised by Clavius and Lilius, and introduced by Pope Gregory
     XIII in October 1582, and into Britain and its then colonies in
     September 1752) two correction factors are added to make the
     cycle more accurate.
    </para>
    <para>
     (The code is based on a C program by Simon Kershaw,
     &lt;[email protected]&gt;)
    </para>
    <para>
     See also <function>easter_date</function>.
    </para>
   </refsect1>
  </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

Index: phpdoc-he/reference/calendar/functions/frenchtojd.xml
+++ phpdoc-he/reference/calendar/functions/frenchtojd.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- splitted from ./en/functions/calendar.xml, last change in rev 1.4 -->
  <refentry id="function.frenchtojd">
   <refnamediv>
    <refname>FrenchToJD</refname>
    <refpurpose>
     Converts a date from the French Republican Calendar to a Julian
     Day Count
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>int</type><methodname>frenchtojd</methodname>
      <methodparam><type>int</type><parameter>month</parameter></methodparam>
      <methodparam><type>int</type><parameter>day</parameter></methodparam>
      <methodparam><type>int</type><parameter>year</parameter></methodparam>
     </methodsynopsis>
    <para>
     Converts a date from the French Republican Calendar to a Julian
     Day Count.
    </para>
    <para>
     These routines only convert dates in years 1 through 14
     (Gregorian dates 22 September 1792 through 22 September
     1806). This more than covers the period when the calendar was in
     use.
    </para>
   </refsect1>
  </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

Index: phpdoc-he/reference/calendar/functions/gregoriantojd.xml
+++ phpdoc-he/reference/calendar/functions/gregoriantojd.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- splitted from ./en/functions/calendar.xml, last change in rev 1.4 -->
  <refentry id="function.gregoriantojd">
   <refnamediv>
    <refname>GregorianToJD</refname> 
    <refpurpose>
     Converts a Gregorian date to Julian Day Count
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>int</type><methodname>gregoriantojd</methodname>
      <methodparam><type>int</type><parameter>month</parameter></methodparam>
      <methodparam><type>int</type><parameter>day</parameter></methodparam>
      <methodparam><type>int</type><parameter>year</parameter></methodparam>
     </methodsynopsis>
    <para>
     Valid Range for Gregorian Calendar 4714 B.C. to 9999 A.D.</para>
    <para>
     Although this function can handle dates all the way back to 4714
     B.C., such use may not be meaningful. The Gregorian calendar was
     not instituted until October 15, 1582 (or October 5, 1582 in the
     Julian calendar). Some countries did not accept it until much
     later. For example, Britain converted in 1752, The USSR in 1918
     and Greece in 1923. Most European countries used the Julian
     calendar prior to the Gregorian.
     <example>
      <title>Calendar functions</title>
      <programlisting role="php">
<![CDATA[
<?php
$jd = GregorianToJD (10,11,1970);
echo "$jd\n";
$gregorian = JDToGregorian ($jd);
echo "$gregorian\n";
?>
]]>
      </programlisting>
     </example>
    </para>
   </refsect1>
  </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

Index: phpdoc-he/reference/calendar/functions/jddayofweek.xml
+++ phpdoc-he/reference/calendar/functions/jddayofweek.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- splitted from ./en/functions/calendar.xml, last change in rev 1.4 -->
  <refentry id="function.jddayofweek">
   <refnamediv>
    <refname>JDDayOfWeek</refname>
    <refpurpose>Returns the day of the week</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>mixed</type><methodname>jddayofweek</methodname>
      <methodparam><type>int</type><parameter>julianday</parameter></methodparam>
      <methodparam><type>int</type><parameter>mode</parameter></methodparam>
     </methodsynopsis>
    <para>
     Returns the day of the week.  Can return a string or an integer
     depending on the mode.
     <table>
      <title>Calendar week modes</title>
      <tgroup cols="2">
       <thead>
        <row>
         <entry>Mode</entry>
         <entry>Meaning</entry>
        </row>
       </thead>
       <tbody>
        <row>
         <entry>0</entry> 
         <entry>
          Returns the day number as an int (0=sunday, 1=monday, etc)
         </entry>
        </row>
        <row>
         <entry>1</entry> 
         <entry>
          Returns string containing the day of week
          (english-gregorian)
         </entry>
        </row>
        <row>
         <entry>2</entry> 
         <entry>
          Returns a string containing the abbreviated day of week
          (english-gregorian)
         </entry>
        </row>
       </tbody>
      </tgroup>
     </table>
    </para>
   </refsect1>
  </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

Index: phpdoc-he/reference/calendar/functions/jdmonthname.xml
+++ phpdoc-he/reference/calendar/functions/jdmonthname.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- splitted from ./en/functions/calendar.xml, last change in rev 1.4 -->
  <refentry id="function.jdmonthname">
   <refnamediv>
    <refname>JDMonthName</refname>
    <refpurpose>Returns a month name</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>string</type><methodname>jdmonthname</methodname>
      <methodparam><type>int</type><parameter>julianday</parameter></methodparam>
      <methodparam><type>int</type><parameter>mode</parameter></methodparam>
     </methodsynopsis>
    <para>
     Returns a string containing a month name.
     <parameter>mode</parameter> tells this function which calendar to
     convert the Julian Day Count to, and what type of month names are
     to be returned.
     <table>
      <title>Calendar modes</title>
      <tgroup cols="3">
       <thead>
        <row>
         <entry>Mode</entry>
         <entry>Meaning</entry>
         <entry>Values</entry>
        </row>
       </thead>
       <tbody>
        <row>
         <entry>0</entry>
         <entry>Gregorian - abbreviated</entry>
         <entry>Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec</entry>
        </row>
        <row>
         <entry>1</entry>
         <entry>Gregorian</entry>
         <entry>January, February, March, April, May, June, July, August, September, October, November, December</entry>
        </row>
        <row>
         <entry>2</entry>
         <entry>Julian - abbreviated</entry>
         <entry>Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec</entry>
        </row>
        <row>
         <entry>3</entry>
         <entry>Julian</entry>
         <entry>January, February, March, April, May, June, July, August, September, October, November, December</entry>
        </row>
        <row>
         <entry>4</entry>
         <entry>Jewish</entry>
         <entry>Tishri, Heshvan, Kislev, Tevet, Shevat, AdarI, AdarII, Nisan, Iyyar, Sivan, Tammuz, Av, Elul</entry>
        </row>
        <row>
         <entry>5</entry>
         <entry>French Republican</entry>
         <entry>Vendemiaire, Brumaire, Frimaire, Nivose, Pluviose, Ventose, Germinal, Floreal, Prairial, Messidor, Thermidor, Fructidor, Extra</entry>
        </row>
       </tbody>
      </tgroup>
     </table>
    </para>
   </refsect1>
  </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

Index: phpdoc-he/reference/calendar/functions/jdtofrench.xml
+++ phpdoc-he/reference/calendar/functions/jdtofrench.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- splitted from ./en/functions/calendar.xml, last change in rev 1.4 -->
  <refentry id="function.jdtofrench">
   <refnamediv>
    <refname>JDToFrench</refname>
    <refpurpose>
     Converts a Julian Day Count to the French Republican Calendar
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>string</type><methodname>jdtofrench</methodname>
      <methodparam><type>int</type><parameter>juliandaycount</parameter></methodparam>
     </methodsynopsis>
    <para>
     Converts a Julian Day Count to the French Republican Calendar.
    </para>
   </refsect1>
  </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

Index: phpdoc-he/reference/calendar/functions/jdtogregorian.xml
+++ phpdoc-he/reference/calendar/functions/jdtogregorian.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- splitted from ./en/functions/calendar.xml, last change in rev 1.4 -->
  <refentry id="function.jdtogregorian">
   <refnamediv>
    <refname>JDToGregorian</refname>
    <refpurpose>Converts Julian Day Count to Gregorian date</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>string</type><methodname>jdtogregorian</methodname>
      <methodparam><type>int</type><parameter>julianday</parameter></methodparam>
     </methodsynopsis>
    <para>
     Converts Julian Day Count to a string containing the Gregorian
     date in the format of "month/day/year".
    </para>
   </refsect1>
  </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

Index: phpdoc-he/reference/calendar/functions/jdtojewish.xml
+++ phpdoc-he/reference/calendar/functions/jdtojewish.xml
<?xml version="1.0" encoding="WINDOWS-1255"?>
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.3 Maintainer: momo Status: working -->
  <refentry id="function.jdtojewish">
   <refnamediv>
    <refname>jdtojewish</refname>
    <refpurpose>
 äîøä îîðéï äéîéí äâ'åìéàðé ììåç äòáøé </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
    <methodsynopsis>
     <type>string</type><methodname>jdtojewish</methodname>
     <methodparam><type>int</type><parameter>juliandaycount</parameter></methodparam>
     <methodparam choice="opt"><type>bool</type><parameter>hebrew</parameter></methodparam>
     <methodparam choice="opt"><type>int</type><parameter>fl</parameter></methodparam>
    </methodsynopsis>
    <para>
      äîøä îîðéï äéîéí äâ'åìéàðé ììåç äòáøé.
    </para>
    <para>
      àåôöéåú àìå äúååñôå äçì î <literal>PHP</literal> 5.0.0:
    </para>
    <para>
      àí äîùúðä äùðé true, äîùúðä äùìéùé îééöò àú äôåøîè äøöåé áòáøéú:
     <constant>CAL_JEWISH_ADD_ALAFIM_GERESH</constant>,
     <constant>CAL_JEWISH_ADD_ALAFIM</constant>,
     <constant>CAL_JEWISH_ADD_GERESHAYIM</constant>.
    </para>
    
    <para>
     <example>
      <title><function>jdtojewish</function> Example</title>
      <programlisting role="php">
<![CDATA[
<?
echo jdtojewish(gregoriantojd(10,8,2002),
				true, 
				CAL_JEWISH_ADD_GERESHAYIM+CAL_JEWISH_ADD_ALAFIM+CAL_JEWISH_ADD_ALAFIM_GERESH);
?>
]]>
      </programlisting>
     </example>
    </para>
   </refsect1>
  </refentry>


<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

Index: phpdoc-he/reference/calendar/functions/jdtojulian.xml
+++ phpdoc-he/reference/calendar/functions/jdtojulian.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- splitted from ./en/functions/calendar.xml, last change in rev 1.4 -->
  <refentry id="function.jdtojulian">
   <refnamediv>
    <refname>JDToJulian</refname> 
    <refpurpose>
     Converts a Julian Day Count to a Julian Calendar Date
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>string</type><methodname>jdtojulian</methodname>
      <methodparam><type>int</type><parameter>julianday</parameter></methodparam>
     </methodsynopsis>
    <para>
     Converts Julian Day Count to a string containing the Julian
     Calendar Date in the format of "month/day/year".
    </para>
   </refsect1>
  </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

Index: phpdoc-he/reference/calendar/functions/jdtounix.xml
+++ phpdoc-he/reference/calendar/functions/jdtounix.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- splitted from ./en/functions/calendar.xml, last change in rev 1.3 -->
  <refentry id="function.jdtounix"> 
   <refnamediv>
    <refname>jdtounix</refname>
    <refpurpose>Convert Julian Day to UNIX timestamp</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>int</type><methodname>jdtounix</methodname>
      <methodparam><type>int</type><parameter>jday</parameter></methodparam>
     </methodsynopsis>
    <para>
     This function will return a UNIX timestamp corresponding to the
     Julian Day given in <parameter>jday</parameter> or &false; if
     <parameter>jday</parameter> is not inside the UNIX epoch
     (Gregorian years between 1970 and 2037 or 2440588 &lt;=
     <parameter>jday</parameter> &lt;= 2465342 ). The time returned is
     localtime (and not GMT).
    </para>
    <para>
     See also <function>unixtojd</function>.
    </para>
   </refsect1>
  </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

Index: phpdoc-he/reference/calendar/functions/jewishtojd.xml
+++ phpdoc-he/reference/calendar/functions/jewishtojd.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- splitted from ./en/functions/calendar.xml, last change in rev 1.4 -->
  <refentry id="function.jewishtojd">
   <refnamediv>
    <refname>JewishToJD</refname> 
    <refpurpose>
     Converts a date in the Jewish Calendar to Julian Day Count
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>int</type><methodname>jewishtojd</methodname>
      <methodparam><type>int</type><parameter>month</parameter></methodparam>
      <methodparam><type>int</type><parameter>day</parameter></methodparam>
      <methodparam><type>int</type><parameter>year</parameter></methodparam>
     </methodsynopsis>
    <para>
     Although this function can handle dates all the way back to the year 1
     (3761 B.C.), such use may not be meaningful.  The Jewish calendar has
     been in use for several thousand years, but in the early days there was
     no formula to determine the start of a month. A new month was started
     when the new moon was first observed.
    </para>
   </refsect1>
  </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

Index: phpdoc-he/reference/calendar/functions/juliantojd.xml
+++ phpdoc-he/reference/calendar/functions/juliantojd.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- splitted from ./en/functions/calendar.xml, last change in rev 1.4 -->
  <refentry id="function.juliantojd">
   <refnamediv>
    <refname>JulianToJD</refname> 
    <refpurpose>
     Converts a Julian Calendar date to Julian Day Count
    </refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>int</type><methodname>juliantojd</methodname>
      <methodparam><type>int</type><parameter>month</parameter></methodparam>
      <methodparam><type>int</type><parameter>day</parameter></methodparam>
      <methodparam><type>int</type><parameter>year</parameter></methodparam>
     </methodsynopsis>
    <para>
     Valid Range for Julian Calendar 4713 B.C. to 9999 A.D.
    </para>
    <para>
     Although this function can handle dates all the way back to 4713
     B.C., such use may not be meaningful. The calendar was created in
     46 B.C., but the details did not stabilize until at least 8 A.D.,
     and perhaps as late at the 4th century. Also, the beginning of a
     year varied from one culture to another - not all accepted
     January as the first month.
    </para>
    <caution>
     <para>
      Remember, the current calendar system being used worldwide is the
      Gregorian calendar.  <function>gregoriantojd</function> can be used to
      convert such dates to their Julian Day count.
     </para>
    </caution>
   </refsect1>
  </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->

Index: phpdoc-he/reference/calendar/functions/unixtojd.xml
+++ phpdoc-he/reference/calendar/functions/unixtojd.xml
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.1 $ -->
<!-- splitted from ./en/functions/calendar.xml, last change in rev 1.3 -->
  <refentry id="function.unixtojd">
   <refnamediv>
    <refname>unixtojd</refname>
    <refpurpose>Convert UNIX timestamp to Julian Day</refpurpose>
   </refnamediv>
   <refsect1>
    <title>Description</title>
     <methodsynopsis>
      <type>int</type><methodname>unixtojd</methodname>
      <methodparam choice="opt"><type>int</type><parameter>timestamp</parameter></methodparam>
     </methodsynopsis>
    <para>
     Return the Julian Day for a UNIX <parameter>timestamp</parameter>
     (seconds since 1.1.1970), or for the current day if no
     <parameter>timestamp</parameter> is given.
    </para>
    <para>
     See also <function>jdtounix</function>.
    </para>
   </refsect1>
  </refentry>

<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->