cvs: phpdoc-it /reference/array/functions array-merge.xml /reference/bc ini.xml /reference/bc/functions bcpow.xml bcscale.xml
/reference/bzip2/functions bzread.xml /reference/calendar constants.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

From: Date: Tue, 06 Jan 2004 14:15:23 +0000
Subject: cvs: phpdoc-it /reference/array/functions array-merge.xml /reference/bc ini.xml /reference/bc/functions bcpow.xml bcscale.xml
/reference/bzip2/functions bzread.xml /reference/calendar constants.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
Groups: php.doc.it 
Request: Send a blank email to doc-it+get-488@lists.php.net to get a copy of this message
cucinato Tue Jan 6 09:15:23 2004 EDT Modified files: /phpdoc-it/reference/array/functions array-merge.xml /phpdoc-it/reference/bc ini.xml /phpdoc-it/reference/bc/functions bcpow.xml bcscale.xml /phpdoc-it/reference/bzip2/functions bzread.xml /phpdoc-it/reference/calendar constants.xml reference.xml /phpdoc-it/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: Sync to EN tree

Index: phpdoc-it/reference/array/functions/array-merge.xml diff -u phpdoc-it/reference/array/functions/array-merge.xml:1.9 phpdoc-it/reference/array/functions/array-merge.xml:1.10 --- phpdoc-it/reference/array/functions/array-merge.xml:1.9 Mon Dec 8 16:52:39 2003 +++ phpdoc-it/reference/array/functions/array-merge.xml Tue Jan 6 09:15:15 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/array.xml, last change in rev 1.6 --> <!-- last change to 'array-merge' in en/ tree in rev 1.2 --> -<!-- EN-Revision: 1.11 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.12 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.173/EN.1.2 --> <refentry id="function.array-merge"> <refnamediv> @@ -116,7 +116,8 @@ </note> <para> Vedere anche <function>array_merge_recursive</function> e - <function>array_combine</function>. + <function>array_combine</function> e + <link linkend="language.operators.array">operatori sugli array</link>. </para> </refsect1> </refentry> Index: phpdoc-it/reference/bc/ini.xml diff -u phpdoc-it/reference/bc/ini.xml:1.2 phpdoc-it/reference/bc/ini.xml:1.3 --- phpdoc-it/reference/bc/ini.xml:1.2 Sat Aug 9 08:11:56 2003 +++ phpdoc-it/reference/bc/ini.xml Tue Jan 6 09:15:19 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.2 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.3 Maintainer: cucinato Status: ready --> <section id="bc.configuration"> &reftitle.runtime; &extension.runtime; @@ -38,7 +38,8 @@ </term> <listitem> <para> - Numero di cifre decimali per tutte le funzioni bcmath. + Numero di cifre decimali per tutte le funzioni bcmath. Vedere anche + <function>bcscale</function>. </para> </listitem> </varlistentry> @@ -67,4 +68,3 @@ vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> - Index: phpdoc-it/reference/bc/functions/bcpow.xml diff -u phpdoc-it/reference/bc/functions/bcpow.xml:1.5 phpdoc-it/reference/bc/functions/bcpow.xml:1.6 --- phpdoc-it/reference/bc/functions/bcpow.xml:1.5 Mon Jan 5 18:08:03 2004 +++ phpdoc-it/reference/bc/functions/bcpow.xml Tue Jan 6 09:15:20 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/bc.xml, last change in rev 1.1 --> <!-- last change to 'bcpow' in en/ tree in rev 1.2 --> -<!-- EN-Revision: 1.6 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.7 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.24/EN.1.2 --> <refentry id="function.bcpow"> <refnamediv> @@ -15,7 +15,7 @@ <methodsynopsis> <type>string</type><methodname>bcpow</methodname> <methodparam><type>string</type><parameter>x</parameter></methodparam> - <methodparam><type>int</type><parameter>y</parameter></methodparam> + <methodparam><type>string</type><parameter>y</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>precisione</parameter></methodparam> </methodsynopsis> <para> Index: phpdoc-it/reference/bc/functions/bcscale.xml diff -u phpdoc-it/reference/bc/functions/bcscale.xml:1.3 phpdoc-it/reference/bc/functions/bcscale.xml:1.4 --- phpdoc-it/reference/bc/functions/bcscale.xml:1.3 Mon Jan 5 18:08:03 2004 +++ phpdoc-it/reference/bc/functions/bcscale.xml Tue Jan 6 09:15:20 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/bc.xml, last change in rev 1.1 --> <!-- last change to 'bcscale' in en/ tree in rev 1.2 --> -<!-- EN-Revision: 1.3 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.4 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.24/EN.1.2 --> <refentry id="function.bcscale"> <refnamediv> @@ -13,13 +13,13 @@ <refsect1> <title>Descrizione</title> <methodsynopsis> - <type>string</type><methodname>bcscale</methodname> + <type>bool</type><methodname>bcscale</methodname> <methodparam><type>int</type><parameter>precisione</parameter></methodparam> </methodsynopsis> <para> Questa funzione imposta il valore di default del parametro <parameter>precisione</parameter> per tutte le funzioni BCMath susseguenti, che non specifichino esplicitamente un parametro - di precisione numerica. + di precisione numerica. &return.success; </para> <para> <example> Index: phpdoc-it/reference/bzip2/functions/bzread.xml diff -u phpdoc-it/reference/bzip2/functions/bzread.xml:1.2 phpdoc-it/reference/bzip2/functions/bzread.xml:1.3 --- phpdoc-it/reference/bzip2/functions/bzread.xml:1.2 Wed Apr 17 03:05:21 2002 +++ phpdoc-it/reference/bzip2/functions/bzread.xml Tue Jan 6 09:15:21 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/bzip2.xml, last change in rev 1.1 --> <!-- last change to 'bzread' in en/ tree in rev 1.1 --> -<!-- EN-Revision: 1.2 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.4 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.20/EN.1.1 --> <refentry id="function.bzread"> <refnamediv> @@ -31,16 +31,28 @@ <programlisting role="php"> <![CDATA[ <?php -$bz = bzopen("/tmp/foo.bz2", "r"); -$str = bzread($bz, 2048); -print( $str ); + +$file = "/tmp/foo.bz2"; +$bz = bzopen($file", "r") or die("Non ho potuto aprire $file"); + +$File_decompresso = ''; +while (!feof($bz)) { + $file_decompresso .= bzread($bz, 4096); +} +bzclose($bz); + +echo "Il contenuto di /tmp/foo.bz2 &egrave;: <br />\n"; +echo $file_decompresso; + ?> ]]> </programlisting> </example> </para> <para> - Vedere anche <function>bzwrite</function> e <function>bzopen</function>. + Vedere anche <function>bzwrite</function>, + <function>feof</function> e + <function>bzopen</function>. </para> </refsect1> </refentry> Index: phpdoc-it/reference/calendar/constants.xml diff -u phpdoc-it/reference/calendar/constants.xml:1.2 phpdoc-it/reference/calendar/constants.xml:1.3 --- phpdoc-it/reference/calendar/constants.xml:1.2 Mon Jun 24 19:41:36 2002 +++ phpdoc-it/reference/calendar/constants.xml Tue Jan 6 09:15:22 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.2 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.6 Maintainer: cucinato Status: ready --> <section id="calendar.constants"> &reftitle.constants; &extension.constants; @@ -7,7 +7,7 @@ <varlistentry> <term> <constant>CAL_GREGORIAN</constant> - (<link linkend="language.types.integer">integer</link>) + (<type>integer</type>) </term> <listitem> <simpara> @@ -18,7 +18,7 @@ <varlistentry> <term> <constant>CAL_JULIAN</constant> - (<link linkend="language.types.integer">integer</link>) + (<type>integer</type>) </term> <listitem> <simpara> @@ -29,7 +29,7 @@ <varlistentry> <term> <constant>CAL_JEWISH</constant> - (<link linkend="language.types.integer">integer</link>) + (<type>integer</type>) </term> <listitem> <simpara> @@ -40,7 +40,7 @@ <varlistentry> <term> <constant>CAL_FRENCH</constant> - (<link linkend="language.types.integer">integer</link>) + (<type>integer</type>) </term> <listitem> <simpara> @@ -51,7 +51,7 @@ <varlistentry> <term> <constant>CAL_NUM_CALS</constant> - (<link linkend="language.types.integer">integer</link>) + (<type>integer</type>) </term> <listitem> <simpara> @@ -62,7 +62,7 @@ <varlistentry> <term> <constant>CAL_DOW_DAYNO</constant> - (<link linkend="language.types.integer">integer</link>) + (<type>integer</type>) </term> <listitem> <simpara> @@ -73,7 +73,7 @@ <varlistentry> <term> <constant>CAL_DOW_SHORT</constant> - (<link linkend="language.types.integer">integer</link>) + (<type>integer</type>) </term> <listitem> <simpara> @@ -84,7 +84,7 @@ <varlistentry> <term> <constant>CAL_DOW_LONG</constant> - (<link linkend="language.types.integer">integer</link>) + (<type>integer</type>) </term> <listitem> <simpara> @@ -95,7 +95,7 @@ <varlistentry> <term> <constant>CAL_MONTH_GREGORIAN_SHORT</constant> - (<link linkend="language.types.integer">integer</link>) + (<type>integer</type>) </term> <listitem> <simpara> @@ -106,7 +106,7 @@ <varlistentry> <term> <constant>CAL_MONTH_GREGORIAN_LONG</constant> - (<link linkend="language.types.integer">integer</link>) + (<type>integer</type>) </term> <listitem> <simpara> @@ -117,7 +117,7 @@ <varlistentry> <term> <constant>CAL_MONTH_JULIAN_SHORT</constant> - (<link linkend="language.types.integer">integer</link>) + (<type>integer</type>) </term> <listitem> <simpara> @@ -128,7 +128,7 @@ <varlistentry> <term> <constant>CAL_MONTH_JULIAN_LONG</constant> - (<link linkend="language.types.integer">integer</link>) + (<type>integer</type>) </term> <listitem> <simpara> @@ -139,7 +139,7 @@ <varlistentry> <term> <constant>CAL_MONTH_JEWISH</constant> - (<link linkend="language.types.integer">integer</link>) + (<type>integer</type>) </term> <listitem> <simpara> @@ -150,7 +150,7 @@ <varlistentry> <term> <constant>CAL_MONTH_FRENCH</constant> - (<link linkend="language.types.integer">integer</link>) + (<type>integer</type>) </term> <listitem> <simpara> @@ -166,7 +166,7 @@ <varlistentry> <term> <constant>CAL_EASTER_DEFAULT</constant> - (<link linkend="language.types.integer">integer</link>) + (<type>integer</type>) </term> <listitem> <simpara> @@ -177,7 +177,7 @@ <varlistentry> <term> <constant>CAL_EASTER_ROMAN</constant> - (<link linkend="language.types.integer">integer</link>) + (<type>integer</type>) </term> <listitem> <simpara> @@ -188,7 +188,7 @@ <varlistentry> <term> <constant>CAL_EASTER_ALWAYS_GREGORIAN</constant> - (<link linkend="language.types.integer">integer</link>) + (<type>integer</type>) </term> <listitem> <simpara> @@ -199,7 +199,7 @@ <varlistentry> <term> <constant>CAL_EASTER_ALWAYS_JULIAN</constant> - (<link linkend="language.types.integer">integer</link>) + (<type>integer</type>) </term> <listitem> <simpara> @@ -207,6 +207,44 @@ </simpara> </listitem> </varlistentry> + </variablelist> + <para> + Le seguenti costanti sono dispobiniti dal <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> Index: phpdoc-it/reference/calendar/reference.xml diff -u phpdoc-it/reference/calendar/reference.xml:1.6 phpdoc-it/reference/calendar/reference.xml:1.7 --- phpdoc-it/reference/calendar/reference.xml:1.6 Thu Jan 9 09:43:18 2003 +++ phpdoc-it/reference/calendar/reference.xml Tue Jan 6 09:15:22 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- EN-Revision: 1.5 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.7 Maintainer: cucinato Status: ready --> <reference id="ref.calendar"> <title>Funzioni Calendar</title> <titleabbrev>Calendar</titleabbrev> Index: phpdoc-it/reference/calendar/functions/cal-days-in-month.xml diff -u phpdoc-it/reference/calendar/functions/cal-days-in-month.xml:1.2 phpdoc-it/reference/calendar/functions/cal-days-in-month.xml:1.3 --- phpdoc-it/reference/calendar/functions/cal-days-in-month.xml:1.2 Wed Apr 17 03:05:22 2002 +++ phpdoc-it/reference/calendar/functions/cal-days-in-month.xml Tue Jan 6 09:15:22 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/calendar.xml, last change in rev 1.8 --> <!-- last change to 'cal-days-in-month' in en/ tree in rev 1.19 --> -<!-- EN-Revision: 1.2 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.5 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.25/EN.1.19 --> <refentry id="function.cal-days-in-month"> <refnamediv> @@ -17,12 +17,25 @@ <methodparam><type>int</type><parameter>anno</parameter></methodparam> </methodsynopsis> <para> - Questa funzione restituisce il numero di giorni coe compongono il + Questa funzione restituisce il numero di giorni che compongono il <parameter>mese</parameter> dell'<parameter>anno</parameter> nel <parameter>calendar</parameter> specificato. </para> <para> - Vedere anche <function>jdtounix</function>. + <example> + <title>esempio di <function>cal_days_in_month</function></title> + <programlisting role="php"> +<![CDATA[ +<?php +$num = cal_days_in_month(CAL_GREGORIAN, 8, 2003); // 31 +echo "C'erano $num giorni nell'agosto del 2003"; +?> +]]> + </programlisting> + </example> + </para> + <para> + Vedere anche <function>jdtounix</function>. </para> </refsect1> </refentry> Index: phpdoc-it/reference/calendar/functions/cal-from-jd.xml diff -u phpdoc-it/reference/calendar/functions/cal-from-jd.xml:1.4 phpdoc-it/reference/calendar/functions/cal-from-jd.xml:1.5 --- phpdoc-it/reference/calendar/functions/cal-from-jd.xml:1.4 Sat Apr 19 13:19:47 2003 +++ phpdoc-it/reference/calendar/functions/cal-from-jd.xml Tue Jan 6 09:15:22 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/calendar.xml, last change in rev 1.8 --> <!-- last change to 'cal-from-jd' in en/ tree in rev 1.19 --> -<!-- EN-Revision: 1.4 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.8 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.25/EN.1.19 --> <refentry id='function.cal-from-jd'> <refnamediv> @@ -26,6 +26,38 @@ <constant>CAL_FRENCH</constant>. </para> <para> + <example> + <title>esempio di <function>cal_from_jd</function></title> + <programlisting role="php"> +<![CDATA[ +<?php +$today = unixtojd(mktime(0, 0, 0, 8, 16, 2003)); +print_r(cal_from_jd($today, CAL_GREGORIAN)); +?> +]]> + </programlisting> + <para> + Questo mostrerà: + </para> + <screen> +<![CDATA[ +Array +( + [date] => 8/16/2003 + [month] => 8 + [day] => 16 + [year] => 2003 + [dow] => 6 + [abbrevdayname] => Sat + [dayname] => Saturday + [abbrevmonth] => Aug + [monthname] => August +) +]]> + </screen> + </example> + </para> + <para> Vedere anche <function>cal_to_jd</function>. </para> </refsect1> Index: phpdoc-it/reference/calendar/functions/cal-info.xml diff -u phpdoc-it/reference/calendar/functions/cal-info.xml:1.4 phpdoc-it/reference/calendar/functions/cal-info.xml:1.5 --- phpdoc-it/reference/calendar/functions/cal-info.xml:1.4 Sat Apr 19 13:19:47 2003 +++ phpdoc-it/reference/calendar/functions/cal-info.xml Tue Jan 6 09:15:22 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/calendar.xml, last change in rev 1.8 --> <!-- last change to 'cal-info' in en/ tree in rev 1.19 --> -<!-- EN-Revision: 1.4 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.8 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.25/EN.1.19 --> <refentry id='function.cal-info'> <refnamediv> @@ -16,7 +16,7 @@ </methodsynopsis> <para> <function>cal_info</function> restituisce informazioni sullo - specifico <function>calendario</function> o su tutti i calendari + specifico <parameter>calendario</parameter> o su tutti i calendari supportati se il parametro <parameter>calendario</parameter> non è specificato. </para> <para> Index: phpdoc-it/reference/calendar/functions/cal-to-jd.xml diff -u phpdoc-it/reference/calendar/functions/cal-to-jd.xml:1.4 phpdoc-it/reference/calendar/functions/cal-to-jd.xml:1.5 --- phpdoc-it/reference/calendar/functions/cal-to-jd.xml:1.4 Sat Apr 19 13:19:47 2003 +++ phpdoc-it/reference/calendar/functions/cal-to-jd.xml Tue Jan 6 09:15:22 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/calendar.xml, last change in rev 1.8 --> <!-- last change to 'cal-to-jd' in en/ tree in rev 1.19 --> -<!-- EN-Revision: 1.4 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.7 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.25/EN.1.19 --> <refentry id='function.cal-to-jd'> <refnamediv> Index: phpdoc-it/reference/calendar/functions/easter-date.xml diff -u phpdoc-it/reference/calendar/functions/easter-date.xml:1.3 phpdoc-it/reference/calendar/functions/easter-date.xml:1.4 --- phpdoc-it/reference/calendar/functions/easter-date.xml:1.3 Mon Jun 24 19:42:22 2002 +++ phpdoc-it/reference/calendar/functions/easter-date.xml Tue Jan 6 09:15:22 2004 @@ -1,13 +1,13 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/calendar.xml, last change in rev 1.1 --> <!-- last change to 'easter-date' in en/ tree in rev 1.2 --> -<!-- EN-Revision: 1.3 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.11 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.25/EN.1.2 --> <refentry id="function.easter-date"> <refnamediv> <refname>easter_date</refname> <refpurpose> - Restituisce un timestamp UNIX della mezzanotte del giorno di Pasqua di un dato anno + Restituisce un timestamp Unix della mezzanotte del giorno di Pasqua di un dato anno </refpurpose> </refnamediv> <refsect1> @@ -17,7 +17,7 @@ <methodparam choice="opt"><type>int</type><parameter>anno</parameter></methodparam> </methodsynopsis> <para> - Restituisce il timestamp UNIX corrispondente alla mezzanotte del giorno di Pasqua + Restituisce il timestamp Unix corrispondente alla mezzanotte del giorno di Pasqua dell'anno specificato. </para> <para> @@ -26,20 +26,27 @@ omesso. </para> <para> - <emphasis>Attenzione:</emphasis> Questa funzione gererer&agrave; - un allarme (warning) se l'anno è fuori dall'escursione di validit&agrave; dei timestamp UNIX - (cioè prima del 1970 o dopo il 2037). <example> <title>esempio di <function>easter_date</function></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" */ +<?php + +echo date("d M Y", easter_date(1999)); // 04 Apr 1999 +echo date("d M Y", easter_date(2000)); // 23 Apr 2000 +echo date("d M Y", easter_date(2001)); // 15 Apr 2001 + +?> ]]> </programlisting> </example> </para> + <warning> + <para> + Questa funzione gerererà un allarme (warning) se l'anno è fuori + dall'escursione di validità dei timestamp UNIX (cioè prima del 1970 o dopo il 2037). + </para> + </warning> <para> La data della Pasqua fu definita dal Concilio di Nicea nel 325 d.C. come la Domenica successiva alla prima luna piena dopo @@ -57,7 +64,7 @@ </para> <para> (Il codice &egrave; basato su un programma in C di Simon Kershaw, - &lt;webmaster@ely.anglican.org&gt;) + &lt;webmaster at ely.anglican dot org&gt;) </para> <para> Vedere <function>easter_days</function> per il calcolo della Pasqua Index: phpdoc-it/reference/calendar/functions/easter-days.xml diff -u phpdoc-it/reference/calendar/functions/easter-days.xml:1.3 phpdoc-it/reference/calendar/functions/easter-days.xml:1.4 --- phpdoc-it/reference/calendar/functions/easter-days.xml:1.3 Mon Jun 24 19:42:22 2002 +++ phpdoc-it/reference/calendar/functions/easter-days.xml Tue Jan 6 09:15:22 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/calendar.xml, last change in rev 1.1 --> <!-- last change to 'easter-days' in en/ tree in rev 1.2 --> -<!-- EN-Revision: 1.3 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.10 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.25/EN.1.2 --> <refentry id="function.easter-days"> <refnamediv> @@ -20,7 +20,7 @@ </methodsynopsis> <para> Restituisce il numero di giorni tra il 21 Marzo e Pasqua - per un dato anno. Se l'ano non è specificato, si assume + per un dato anno. Se l'anno non è specificato, si assume l'anno corrente. </para> <para> @@ -37,17 +37,21 @@ costanti valide. </para> <para> - Questa funzione pu&ograve; essere usata al posto di + Questa funzione può essere usata al posto di <function>easter_date</function> per calcolare la Pasqua per gli anni - che cadono fuori dalla gamma di validit&agrave; dei timestamp UNIX (cio&egrave; prima del 1970 + che cadono fuori dalla gamma di validità dei timestamp Unix (cioè prima del 1970 o dopo il 2037). <example> <title>esempio di <function>easter_days</function></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 */ +<?php + +echo easter_days(1999); // 14, quindi il 4 Aprile +echo easter_days(1492); // 32, quindi il 22 Aprile +echo easter_days(1913); // 2, quindi il 23 Marzo + +?> ]]> </programlisting> </example> @@ -69,7 +73,7 @@ </para> <para> (Il codice &egrave; basato su un programma in C di Simon Kershaw, - &lt;webmaster@ely.anglican.org&gt;) + &lt;webmaster at ely.anglican dot org&gt;) </para> <para> Vedere anche <function>easter_date</function>. Index: phpdoc-it/reference/calendar/functions/frenchtojd.xml diff -u phpdoc-it/reference/calendar/functions/frenchtojd.xml:1.2 phpdoc-it/reference/calendar/functions/frenchtojd.xml:1.3 --- phpdoc-it/reference/calendar/functions/frenchtojd.xml:1.2 Wed Apr 17 03:05:23 2002 +++ phpdoc-it/reference/calendar/functions/frenchtojd.xml Tue Jan 6 09:15:22 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/calendar.xml, last change in rev 1.3 --> <!-- last change to 'frenchtojd' in en/ tree in rev 1.4 --> -<!-- EN-Revision: 1.2 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.4 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.25/EN.1.4 --> <refentry id="function.frenchtojd"> <refnamediv> Index: phpdoc-it/reference/calendar/functions/gregoriantojd.xml diff -u phpdoc-it/reference/calendar/functions/gregoriantojd.xml:1.2 phpdoc-it/reference/calendar/functions/gregoriantojd.xml:1.3 --- phpdoc-it/reference/calendar/functions/gregoriantojd.xml:1.2 Wed Apr 17 03:05:24 2002 +++ phpdoc-it/reference/calendar/functions/gregoriantojd.xml Tue Jan 6 09:15:22 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/calendar.xml, last change in rev 1.3 --> <!-- last change to 'gregoriantojd' in en/ tree in rev 1.4 --> -<!-- EN-Revision: 1.2 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.6 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.25/EN.1.4 --> <refentry id="function.gregoriantojd"> <refnamediv> @@ -21,21 +21,21 @@ <para> L'intervallo valido per il Calendario Gregoriano &egrave; dal 4714 a.C. al 9999 d.C.</para> <para> - Anche se questa funzione pu&ograve; gestire date fino al 4714 - a.C., qusto utilizzo potrebbe non avere senso. Il calendario Gregorian fu + Anche se questa funzione può gestire date fino al 4714 + a.C., qusto utilizzo potrebbe non avere senso. Il calendario Gregoriano fu istituito il 15 Ottobre 1582 (o 5 Ottobre 1582 nel calendario Giuliano). Alcune nazioni non lo accettarono per un lungo - periodo. Per esempio, il Regno Unito si convert&igrave; nel 1752, L'Unione Sovietica nel in 1918 + periodo. Per esempio, il Regno Unito si convertì nel 1752, L'Unione Sovietica nel in 1918 e la Grecia nel 1923. La maggior parte delle nazioni Europee usavano il calendario - Giuliano pdima del Gregoriano. + Giuliano prima del Gregoriano. <example> <title>Calendar functions</title> <programlisting role="php"> <![CDATA[ <?php -$jd = GregorianToJD (10,11,1970); +$jd = GregorianToJD(10, 11, 1970); echo "$jd\n"; -$gregorian = JDToGregorian ($jd); +$gregorian = JDToGregorian($jd); echo "$gregorian\n"; ?> ]]> Index: phpdoc-it/reference/calendar/functions/jddayofweek.xml diff -u phpdoc-it/reference/calendar/functions/jddayofweek.xml:1.2 phpdoc-it/reference/calendar/functions/jddayofweek.xml:1.3 --- phpdoc-it/reference/calendar/functions/jddayofweek.xml:1.2 Wed Apr 17 03:05:24 2002 +++ phpdoc-it/reference/calendar/functions/jddayofweek.xml Tue Jan 6 09:15:22 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/calendar.xml, last change in rev 1.3 --> <!-- last change to 'jddayofweek' in en/ tree in rev 1.4 --> -<!-- EN-Revision: 1.2 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.5 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.25/EN.1.4 --> <refentry id="function.jddayofweek"> <refnamediv> @@ -31,7 +31,7 @@ <row> <entry>0</entry> <entry> - Restiutuisce il numero del giorno come intero (0=domenica, 1=lunedi&igrave;, etc) + Restituisce il numero del giorno come intero (0=domenica, 1=lunedì, etc) </entry> </row> <row> Index: phpdoc-it/reference/calendar/functions/jdmonthname.xml diff -u phpdoc-it/reference/calendar/functions/jdmonthname.xml:1.2 phpdoc-it/reference/calendar/functions/jdmonthname.xml:1.3 --- phpdoc-it/reference/calendar/functions/jdmonthname.xml:1.2 Wed Apr 17 03:05:24 2002 +++ phpdoc-it/reference/calendar/functions/jdmonthname.xml Tue Jan 6 09:15:22 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/calendar.xml, last change in rev 1.3 --> <!-- last change to 'jdmonthname' in en/ tree in rev 1.4 --> -<!-- EN-Revision: 1.2 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.4 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.25/EN.1.4 --> <refentry id="function.jdmonthname"> <refnamediv> @@ -43,12 +43,12 @@ </row> <row> <entry>2</entry> - <entry>Guliano abbreviato</entry> + <entry>Giuliano abbreviato</entry> <entry>Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec</entry> </row> <row> <entry>3</entry> - <entry>Guliano</entry> + <entry>Giuliano</entry> <entry>January, February, March, April, May, June, July, August, September, October, November, December</entry> </row> <row> Index: phpdoc-it/reference/calendar/functions/jdtofrench.xml diff -u phpdoc-it/reference/calendar/functions/jdtofrench.xml:1.2 phpdoc-it/reference/calendar/functions/jdtofrench.xml:1.3 --- phpdoc-it/reference/calendar/functions/jdtofrench.xml:1.2 Wed Apr 17 03:05:24 2002 +++ phpdoc-it/reference/calendar/functions/jdtofrench.xml Tue Jan 6 09:15:22 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/calendar.xml, last change in rev 1.3 --> <!-- last change to 'jdtofrench' in en/ tree in rev 1.4 --> -<!-- EN-Revision: 1.2 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.4 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.25/EN.1.4 --> <refentry id="function.jdtofrench"> <refnamediv> Index: phpdoc-it/reference/calendar/functions/jdtogregorian.xml diff -u phpdoc-it/reference/calendar/functions/jdtogregorian.xml:1.2 phpdoc-it/reference/calendar/functions/jdtogregorian.xml:1.3 --- phpdoc-it/reference/calendar/functions/jdtogregorian.xml:1.2 Wed Apr 17 03:05:24 2002 +++ phpdoc-it/reference/calendar/functions/jdtogregorian.xml Tue Jan 6 09:15:22 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/calendar.xml, last change in rev 1.3 --> <!-- last change to 'jdtogregorian' in en/ tree in rev 1.4 --> -<!-- EN-Revision: 1.2 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.4 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.25/EN.1.4 --> <refentry id="function.jdtogregorian"> <refnamediv> Index: phpdoc-it/reference/calendar/functions/jdtojewish.xml diff -u phpdoc-it/reference/calendar/functions/jdtojewish.xml:1.2 phpdoc-it/reference/calendar/functions/jdtojewish.xml:1.3 --- phpdoc-it/reference/calendar/functions/jdtojewish.xml:1.2 Wed Apr 17 03:05:24 2002 +++ phpdoc-it/reference/calendar/functions/jdtojewish.xml Tue Jan 6 09:15:22 2004 @@ -1,27 +1,55 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/calendar.xml, last change in rev 1.3 --> <!-- last change to 'jdtojewish' in en/ tree in rev 1.4 --> -<!-- EN-Revision: 1.2 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.8 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.25/EN.1.4 --> <refentry id="function.jdtojewish"> <refnamediv> - <refname>JDToJewish</refname> + <refname>jdtojewish</refname> <refpurpose> Converte un Giorno Giuliano nel Calendario Giudeo </refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> - <methodsynopsis> - <type>string</type><methodname>jdtojewish</methodname> - <methodparam><type>int</type><parameter>giornogiuliano</parameter></methodparam> - </methodsynopsis> + <methodsynopsis> + <type>string</type><methodname>jdtojewish</methodname> + <methodparam><type>int</type><parameter>giornogiuliano</parameter></methodparam> + <methodparam choice="opt"><type>bool</type><parameter>ebraico</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>fl</parameter></methodparam> + </methodsynopsis> <para> Converte un Giorno Giuliano nel Calendario Giudeo. </para> + <para> + I parametri opzionali <parameter>ebraico</parameter> e <parameter>fl</parameter> + sono disponibili dal PHP 5.0.0 + </para> + <para> + Se il parametro <parameter>ebraico</parameter> è &true;, il + parametro <parameter>fl</parameter> è usato per il formato di output + Ebraico. I formati disponibili sono: + <constant>CAL_JEWISH_ADD_ALAFIM_GERESH</constant>, + <constant>CAL_JEWISH_ADD_ALAFIM</constant>, + <constant>CAL_JEWISH_ADD_GERESHAYIM</constant>. + </para> + <para> + <example> + <title>esempio di <function>jdtojewish</function></title> + <programlisting role="php"> +<![CDATA[ +<?php +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 Index: phpdoc-it/reference/calendar/functions/jdtojulian.xml diff -u phpdoc-it/reference/calendar/functions/jdtojulian.xml:1.2 phpdoc-it/reference/calendar/functions/jdtojulian.xml:1.3 --- phpdoc-it/reference/calendar/functions/jdtojulian.xml:1.2 Wed Apr 17 03:05:24 2002 +++ phpdoc-it/reference/calendar/functions/jdtojulian.xml Tue Jan 6 09:15:22 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/calendar.xml, last change in rev 1.3 --> <!-- last change to 'jdtojulian' in en/ tree in rev 1.4 --> -<!-- EN-Revision: 1.2 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.4 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.25/EN.1.4 --> <refentry id="function.jdtojulian"> <refnamediv> Index: phpdoc-it/reference/calendar/functions/jdtounix.xml diff -u phpdoc-it/reference/calendar/functions/jdtounix.xml:1.3 phpdoc-it/reference/calendar/functions/jdtounix.xml:1.4 --- phpdoc-it/reference/calendar/functions/jdtounix.xml:1.3 Mon May 27 18:45:07 2002 +++ phpdoc-it/reference/calendar/functions/jdtounix.xml Tue Jan 6 09:15:22 2004 @@ -1,12 +1,12 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/calendar.xml, last change in rev 1.3 --> <!-- last change to 'jdtounix' in en/ tree in rev 1.3 --> -<!-- EN-Revision: 1.3 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.6 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.25/EN.1.3 --> <refentry id="function.jdtounix"> <refnamediv> <refname>jdtounix</refname> - <refpurpose>Converte un Giorno Giuliano in un timestamp UNIX</refpurpose> + <refpurpose>Converte un Giorno Giuliano in un timestamp Unix</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> @@ -15,9 +15,9 @@ <methodparam><type>int</type><parameter>giornogiuliano</parameter></methodparam> </methodsynopsis> <para> - Questa funzione restituisce un timestamp UNIX corrispondente al + Questa funzione restituisce un timestamp Unix corrispondente al Giorno Giuliano <parameter>giornogiuliano</parameter> o &false; se - <parameter>giornogiuliano</parameter> non è all'interno della gamma UNIX + <parameter>giornogiuliano</parameter> non è all'interno della gamma Unix (anni Gregoriani tra il 1970 e il 2037 o 2440588 &lt;= <parameter>giornogiuliano</parameter> &lt;= 2465342 ). L'ora restituita è locale (e non GMT). Index: phpdoc-it/reference/calendar/functions/jewishtojd.xml diff -u phpdoc-it/reference/calendar/functions/jewishtojd.xml:1.2 phpdoc-it/reference/calendar/functions/jewishtojd.xml:1.3 --- phpdoc-it/reference/calendar/functions/jewishtojd.xml:1.2 Wed Apr 17 03:05:24 2002 +++ phpdoc-it/reference/calendar/functions/jewishtojd.xml Tue Jan 6 09:15:22 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/calendar.xml, last change in rev 1.3 --> <!-- last change to 'jewishtojd' in en/ tree in rev 1.4 --> -<!-- EN-Revision: 1.2 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.4 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.25/EN.1.4 --> <refentry id="function.jewishtojd"> <refnamediv> Index: phpdoc-it/reference/calendar/functions/juliantojd.xml diff -u phpdoc-it/reference/calendar/functions/juliantojd.xml:1.3 phpdoc-it/reference/calendar/functions/juliantojd.xml:1.4 --- phpdoc-it/reference/calendar/functions/juliantojd.xml:1.3 Wed Apr 24 18:45:07 2002 +++ phpdoc-it/reference/calendar/functions/juliantojd.xml Tue Jan 6 09:15:22 2004 @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/calendar.xml, last change in rev 1.3 --> <!-- last change to 'juliantojd' in en/ tree in rev 1.4 --> -<!-- EN-Revision: 1.3 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.5 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.25/EN.1.4 --> <refentry id="function.juliantojd"> <refnamediv> @@ -22,17 +22,17 @@ L'intervallo valido per il Calendario Giuliano &egrave; dal 4713 a.C. al 9999 d.C. </para> <para> - Anche se questa funzione pu&ograve; gestire date fino al 4713 + Anche se questa funzione può gestire date fino al 4713 a.C., questo utilizzo potrebbe non avere senso. Il calendario fu creato nel - 46 a.C., ma i dettagli non furono perfezionati fino almeno al 8 d.D., + 46 a.C., ma i dettagli non furono perfezionati fino almeno al 8 d.C., e forse anche fino al quarto secolo. Inoltre, l'inizio dell'anno - variava da una cultura all'altrar - non tutti accettavano + variava da una cultura all'altra - non tutti accettavano Gennaio come primo mese. </para> <caution> <para> Il calendario attuale, utilizzato in tutto il mondo, è il - calendario Gregoriano. <function>gregoriantojd</function> può essere utilizzata per + calendario Gregoriano. <function>gregoriantojd</function> può essere utilizzata per convertire queste date nel corrispondente Giorno Giuliano. </para> </caution> Index: phpdoc-it/reference/calendar/functions/unixtojd.xml diff -u phpdoc-it/reference/calendar/functions/unixtojd.xml:1.2 phpdoc-it/reference/calendar/functions/unixtojd.xml:1.3 --- phpdoc-it/reference/calendar/functions/unixtojd.xml:1.2 Wed Apr 17 03:05:24 2002 +++ phpdoc-it/reference/calendar/functions/unixtojd.xml Tue Jan 6 09:15:22 2004 @@ -1,12 +1,12 @@ <?xml version="1.0" encoding="iso-8859-1"?> <!-- splitted from ./it/functions/calendar.xml, last change in rev 1.3 --> <!-- last change to 'unixtojd' in en/ tree in rev 1.3 --> -<!-- EN-Revision: 1.2 Maintainer: cucinato Status: ready --> +<!-- EN-Revision: 1.5 Maintainer: cucinato Status: ready --> <!-- OLD-Revision: 1.25/EN.1.3 --> <refentry id="function.unixtojd"> <refnamediv> <refname>unixtojd</refname> - <refpurpose>Converte un timestamp UNIX in un Giorno Giuliano</refpurpose> + <refpurpose>Converte un timestamp Unix in un Giorno Giuliano</refpurpose> </refnamediv> <refsect1> <title>Descrizione</title> @@ -15,9 +15,9 @@ <methodparam choice="opt"><type>int</type><parameter>timestamp</parameter></methodparam> </methodsynopsis> <para> - Restituisce il Giorno Giuliano di un <parameter>timestamp</parameter> UNIX + Restituisce il Giorno Giuliano di un <parameter>timestamp</parameter> Unix (secondi dal 1/1/1970), o del giorno corrente se - <parameter>timestamp</parameter> non &egrave; specificato. + <parameter>timestamp</parameter> non è specificato. </para> <para> Vedere anche <function>jdtounix</function>.
« previous php.doc.it (#488) next »