[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] =?utf-8?q?svn:_/phpdoc/en/trunk/reference/calendar/functions/_easter-date.xml?=
From: Christoph_Michael_Becker <cmb () php ! net>
Date: 2019-08-20 9:01:50
Message-ID: svn-cmb-1566291710-347874-1362283679 () svn ! php ! net
[Download RAW message or body]
cmb Tue, 20 Aug 2019 09:01:50 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=347874
Log:
Document $method parameter
Cf. <https://github.com/php/php-src/pull/4552#discussion_r315430346>.
Changed paths:
U phpdoc/en/trunk/reference/calendar/functions/easter-date.xml
Modified: phpdoc/en/trunk/reference/calendar/functions/easter-date.xml
===================================================================
--- phpdoc/en/trunk/reference/calendar/functions/easter-date.xml 2019-08-20 08:34:05 \
UTC (rev 347873)
+++ phpdoc/en/trunk/reference/calendar/functions/easter-date.xml 2019-08-20 09:01:50 \
UTC (rev 347874) @@ -11,6 +11,7 @@
<methodsynopsis>
<type>int</type><methodname>easter_date</methodname>
<methodparam choice="opt"><type>int</type><parameter>year</parameter><initializer>date("Y")</initializer></methodparam>
+ <methodparam choice="opt"><type>int</type><parameter>method</parameter><initializer>CAL_EASTER_DEFAULT</initializer></methodparam>
</methodsynopsis>
<para>
Returns the Unix timestamp corresponding to midnight on Easter of
@@ -53,6 +54,16 @@
</para>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><parameter>method</parameter></term>
+ <listitem>
+ <para>
+ Allows Easter dates to be calculated based on the Julian calendar when set
+ to <constant>CAL_EASTER_ALWAYS_JULIAN</constant>. See also <link
+ linkend="calendar.constants">calendar constants</link>.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</para>
</refsect1>
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic