svn: /phpdoc/ru/trunk/reference/calendar/functions/ easter-date.xml
[email protected] (Sergey Panteleev)
| Newsgroups | php.doc.ru |
|---|---|
| Message-ID | <[email protected]> |
sergey Wed, 21 Aug 2019 03:03:22 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=347879
Log:
upd: actual en-revision
Changed paths:
U phpdoc/ru/trunk/reference/calendar/functions/easter-date.xml
Modified: phpdoc/ru/trunk/reference/calendar/functions/easter-date.xml
===================================================================
--- phpdoc/ru/trunk/reference/calendar/functions/easter-date.xml 2019-08-21 02:55:18 UTC (rev 347878)
+++ phpdoc/ru/trunk/reference/calendar/functions/easter-date.xml 2019-08-21 03:03:22 UTC (rev 347879)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- EN-Revision: 344981 Maintainer: tmn Status: ready -->
+<!-- EN-Revision: 347874 Maintainer: tmn Status: ready -->
<!-- Reviewed: yes Maintainer: lex -->
<!-- $Revision$ -->
<refentry xml:id="function.easter-date" xmlns="http://docbook.org/ns/docbook">
@@ -15,6 +15,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>
Возвращает метку времени Unix, соответствующую полуночи
@@ -54,7 +55,19 @@
по умолчанию равен текущему года, согласно местному времени.
</para>
</listitem>
- </varlistentry>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>method</parameter></term>
+ <listitem>
+ <para>
+ Позволяет рассчитывать даты Пасхи на основе юлианского календаря,
+ если установлено значение
+ <constant>CAL_EASTER_ALWAYS_JULIAN</constant>. Смотрите
+ также <link
+ linkend="calendar.constants">константы календаря</link>.
+ </para>
+ </listitem>
+ </varlistentry>
</variablelist>
</para>
</refsect1>