mirror of
https://github.com/php/doc-ru.git
synced 2025-08-16 18:22:04 +00:00
docs(ru): Updated to English revision
git-svn-id: https://svn.php.net/repository/phpdoc/ru/trunk@351567 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: ce74b736cf005887bd02330ee477a3b9faa7894b Maintainer: aur Status: ready -->
|
||||
<!-- EN-Revision: 789af834328bf5d492ed174a4fedb226ccaf4b27 Maintainer: aur Status: ready -->
|
||||
<!-- Reviewed: yes -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id='function.cal-from-jd' xmlns="http://docbook.org/ns/docbook">
|
||||
<refentry xml:id="function.cal-from-jd" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>cal_from_jd</refname>
|
||||
<refpurpose>Преобразует дату, заданную в юлианском календаре, в дату указанного календаря</refpurpose>
|
||||
@ -12,12 +12,12 @@
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>array</type><methodname>cal_from_jd</methodname>
|
||||
<methodparam><type>int</type><parameter>jd</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>julian_day</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>calendar</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
<function>cal_from_jd</function> преобразует дату юлианского календаря, заданную в
|
||||
<parameter>jd</parameter>, в дату указанного календаря
|
||||
<parameter>julian_day</parameter>, в дату указанного календаря
|
||||
<parameter>calendar</parameter>. Поддерживаемые значения
|
||||
<parameter>calendar</parameter>:
|
||||
<constant>CAL_GREGORIAN</constant>,
|
||||
@ -32,7 +32,7 @@
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>jd</parameter></term>
|
||||
<term><parameter>julian_day</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
День юлианского календаря как целое число
|
||||
@ -110,7 +110,6 @@ Array
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 8498214e08bb560379f1a8962b2b0f1d9129702f Maintainer: tmn Status: ready -->
|
||||
<!-- EN-Revision: 789af834328bf5d492ed174a4fedb226ccaf4b27 Maintainer: tmn Status: ready -->
|
||||
<!-- Reviewed: yes Maintainer: lex -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.easter-date" xmlns="http://docbook.org/ns/docbook">
|
||||
@ -14,8 +14,8 @@
|
||||
&reftitle.description;
|
||||
<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>
|
||||
<methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>year</parameter><initializer>&null;</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>mode</parameter><initializer><constant>CAL_EASTER_DEFAULT</constant></initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Возвращает метку времени Unix, соответствующую полуночи
|
||||
@ -51,13 +51,13 @@
|
||||
<term><parameter>year</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Год - число между 1970 и 2037. Если не указан, то
|
||||
Год - число между 1970 и 2037. Если не указан или &null;, то
|
||||
по умолчанию равен текущему года, согласно местному времени.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>method</parameter></term>
|
||||
<term><parameter>mode</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Позволяет рассчитывать даты Пасхи на основе юлианского календаря,
|
||||
@ -79,6 +79,28 @@
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>8.0.0</entry>
|
||||
<entry>
|
||||
<parameter>year</parameter> теперь допускает значение null.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
<para>
|
||||
@ -161,7 +183,6 @@ foreach (range(2012, 2015) as $year) {
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 8b5940cadeb4f1c8492f4a7f70743a2be807cf39 Maintainer: tmn Status: ready -->
|
||||
<!-- EN-Revision: 789af834328bf5d492ed174a4fedb226ccaf4b27 Maintainer: tmn Status: ready -->
|
||||
<!-- Reviewed: yes Maintainer: lex -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.easter-days" xmlns="http://docbook.org/ns/docbook">
|
||||
@ -14,8 +14,8 @@
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>int</type><methodname>easter_days</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>
|
||||
<methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>year</parameter><initializer>&null;</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>mode</parameter><initializer><constant>CAL_EASTER_DEFAULT</constant></initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Возвращает количество дней между 21 марта и Пасхой в заданном году.
|
||||
@ -50,13 +50,13 @@
|
||||
<term><parameter>year</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Год, положительное число. Если не задан, используется текущий год в соответствии
|
||||
Год, положительное число. Если не задан или &null;, используется текущий год в соответствии
|
||||
с локальным временем сервера.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>method</parameter></term>
|
||||
<term><parameter>mode</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Позволяет расcчитать Пасхальные даты, основываясь на григорианском
|
||||
@ -78,6 +78,28 @@
|
||||
году <parameter>year</parameter>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>8.0.0</entry>
|
||||
<entry>
|
||||
<parameter>year</parameter> теперь допускает значение null.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="examples">
|
||||
&reftitle.examples;
|
||||
@ -108,7 +130,6 @@ echo easter_days(1913); // 2, т.e. March 23
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: db43575bd6c986a35552e4cbdfd643ae05edd092 Maintainer: tmn Status: ready -->
|
||||
<!-- EN-Revision: 789af834328bf5d492ed174a4fedb226ccaf4b27 Maintainer: tmn Status: ready -->
|
||||
<!-- Reviewed: yes Maintainer: lex -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.jddayofweek" xmlns="http://docbook.org/ns/docbook">
|
||||
@ -13,9 +13,9 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>mixed</type><methodname>jddayofweek</methodname>
|
||||
<methodparam><type>int</type><parameter>julianday</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>mode</parameter><initializer>CAL_DOW_DAYNO</initializer></methodparam>
|
||||
<type class="union"><type>int</type><type>string</type></type><methodname>jddayofweek</methodname>
|
||||
<methodparam><type>int</type><parameter>julian_day</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>mode</parameter><initializer><constant>CAL_DOW_DAYNO</constant></initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Возвращает день недели. Может возвращать строку или число в зависимости
|
||||
@ -28,7 +28,7 @@
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>julianday</parameter></term>
|
||||
<term><parameter>julian_day</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
День в виде числа в юлианском летоисчислении
|
||||
@ -87,7 +87,6 @@
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 4f99f45ac55e211c74d90fb482dd988dfb0c02ed Maintainer: tmn Status: ready -->
|
||||
<!-- EN-Revision: 789af834328bf5d492ed174a4fedb226ccaf4b27 Maintainer: tmn Status: ready -->
|
||||
<!-- Reviewed: yes Maintainer: lex -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.jdmonthname" xmlns="http://docbook.org/ns/docbook">
|
||||
@ -14,7 +14,7 @@
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>jdmonthname</methodname>
|
||||
<methodparam><type>int</type><parameter>julianday</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>julian_day</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>mode</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
@ -108,7 +108,6 @@
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: db43575bd6c986a35552e4cbdfd643ae05edd092 Maintainer: tmn Status: ready -->
|
||||
<!-- EN-Revision: 789af834328bf5d492ed174a4fedb226ccaf4b27 Maintainer: tmn Status: ready -->
|
||||
<!-- Reviewed: yes Maintainer: lex -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.jdtofrench" xmlns="http://docbook.org/ns/docbook">
|
||||
@ -14,7 +14,7 @@
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>jdtofrench</methodname>
|
||||
<methodparam><type>int</type><parameter>juliandaycount</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>julian_day</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Переводит число дней в юлианском летоисчислении в дату по
|
||||
@ -56,7 +56,6 @@
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: db43575bd6c986a35552e4cbdfd643ae05edd092 Maintainer: tmn Status: ready -->
|
||||
<!-- EN-Revision: 789af834328bf5d492ed174a4fedb226ccaf4b27 Maintainer: tmn Status: ready -->
|
||||
<!-- Reviewed: yes Maintainer: lex -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.jdtogregorian" xmlns="http://docbook.org/ns/docbook">
|
||||
@ -14,7 +14,7 @@
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>jdtogregorian</methodname>
|
||||
<methodparam><type>int</type><parameter>julianday</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>julian_day</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Переводит число дней в юлианском летоисчислении в строку,
|
||||
@ -27,7 +27,7 @@
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>julianday</parameter></term>
|
||||
<term><parameter>julian_day</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Номер дня в юлианском летоисчислении в виде целого числа
|
||||
@ -56,7 +56,6 @@
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,8 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: df530262db68319bff53bb45bae45fbf8ca1afd3 Maintainer: tmn Status: ready -->
|
||||
<!-- EN-Revision: 789af834328bf5d492ed174a4fedb226ccaf4b27 Maintainer: tmn Status: ready -->
|
||||
<!-- Reviewed: yes Maintainer: lex -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xmlns="http://docbook.org/ns/docbook" xml:id="function.jdtojewish">
|
||||
<refentry xml:id="function.jdtojewish" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>jdtojewish</refname>
|
||||
<refpurpose>
|
||||
@ -14,9 +14,9 @@
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>jdtojewish</methodname>
|
||||
<methodparam><type>int</type><parameter>juliandaycount</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>julian_day</parameter></methodparam>
|
||||
<methodparam choice="opt"><type>bool</type><parameter>hebrew</parameter><initializer>&false;</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>fl</parameter><initializer>0</initializer></methodparam>
|
||||
<methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Переводит количество дней из юлианского календаря в дату по
|
||||
@ -42,12 +42,12 @@
|
||||
<para>
|
||||
Если аргумент <parameter>hebrew</parameter> установлен в &true;,
|
||||
дата будет возвращена в виде закодированной строки ISO-8859-8 в еврейском формате, заданном
|
||||
аргументом <parameter>fl</parameter>.
|
||||
аргументом <parameter>flags</parameter>.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term><parameter>fl</parameter></term>
|
||||
<term><parameter>flags</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Битовая маска может состоять из:
|
||||
@ -106,8 +106,6 @@ echo jdtojewish($jd, true), PHP_EOL,
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: db43575bd6c986a35552e4cbdfd643ae05edd092 Maintainer: tmn Status: ready -->
|
||||
<!-- EN-Revision: 789af834328bf5d492ed174a4fedb226ccaf4b27 Maintainer: tmn Status: ready -->
|
||||
<!-- Reviewed: yes Maintainer: lex -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.jdtojulian" xmlns="http://docbook.org/ns/docbook">
|
||||
@ -15,7 +15,7 @@
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>jdtojulian</methodname>
|
||||
<methodparam><type>int</type><parameter>julianday</parameter></methodparam>
|
||||
<methodparam><type>int</type><parameter>julian_day</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Переводит число дней в юлианском летоисчислении в строку,
|
||||
@ -28,7 +28,7 @@
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>julianday</parameter></term>
|
||||
<term><parameter>julian_day</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Номер дня в юлианском летоисчислении
|
||||
@ -56,7 +56,6 @@
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: b95d28e6ec86e4a71e012737d36ebdc1cf009180 Maintainer: tmn Status: ready -->
|
||||
<!-- EN-Revision: 789af834328bf5d492ed174a4fedb226ccaf4b27 Maintainer: tmn Status: ready -->
|
||||
<!-- Reviewed: yes Maintainer: lex -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.jdtounix" xmlns="http://docbook.org/ns/docbook">
|
||||
@ -13,14 +13,12 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type class="union"><type>int</type><type>false</type></type><methodname>jdtounix</methodname>
|
||||
<methodparam><type>int</type><parameter>jday</parameter></methodparam>
|
||||
<type>int</type><methodname>jdtounix</methodname>
|
||||
<methodparam><type>int</type><parameter>julian_day</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Эта функция вернет метку времени Unix, соответствующую номеру дня в
|
||||
юлианском летоисчислении, заданному в <parameter>jday</parameter>
|
||||
либо &false;, если <parameter>jday</parameter> находится
|
||||
вне допустимого диапазона. Будет возвращено UTC.
|
||||
юлианском летоисчислении, заданному в <parameter>julian_day</parameter>. Будет возвращено UTC.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
@ -29,7 +27,7 @@
|
||||
<para>
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term><parameter>jday</parameter></term>
|
||||
<term><parameter>julian_day</parameter></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Номер дня в юлианском летоисчислении между <literal>2440588</literal> и <literal>106751993607888</literal>
|
||||
@ -44,8 +42,15 @@
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Метка времени Unix на момент начала (полночь) юлианского дня,
|
||||
&return.falseforfailure;.
|
||||
Метка времени Unix на момент начала (полночь) юлианского дня.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="errors">
|
||||
&reftitle.errors;
|
||||
<para>
|
||||
Если <parameter>julian_day</parameter> находится за пределами допустимого диапазона,
|
||||
выбрасывается <classname>ValueError</classname>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
@ -60,10 +65,17 @@
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>8.0.0</entry>
|
||||
<entry>
|
||||
Функция больше не возвращает &false; в случае возникновения ошибки,
|
||||
вместо этого выбрасывает <classname>ValueError</classname>.
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>7.3.24, 7.4.12</entry>
|
||||
<entry>
|
||||
Увеличен верхний предел <parameter>jday</parameter>.
|
||||
Увеличен верхний предел <parameter>julian_day</parameter>.
|
||||
Раньше он был <literal>2465342</literal> независимо от архитектуры.
|
||||
</entry>
|
||||
</row>
|
||||
@ -81,7 +93,6 @@
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: b92b86af557c40f9af69a8c4d1f2fbf1c5c39f92 Maintainer: tmn Status: ready -->
|
||||
<!-- EN-Revision: 789af834328bf5d492ed174a4fedb226ccaf4b27 Maintainer: tmn Status: ready -->
|
||||
<!-- Reviewed: yes Maintainer: lex -->
|
||||
<!-- $Revision$ -->
|
||||
<refentry xml:id="function.unixtojd" xmlns="http://docbook.org/ns/docbook">
|
||||
@ -13,8 +13,8 @@
|
||||
<refsect1 role="description">
|
||||
&reftitle.description;
|
||||
<methodsynopsis>
|
||||
<type>int</type><methodname>unixtojd</methodname>
|
||||
<methodparam choice="opt"><type>int</type><parameter>timestamp</parameter><initializer>time()</initializer></methodparam>
|
||||
<type class="union"><type>int</type><type>false</type></type><methodname>unixtojd</methodname>
|
||||
<methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>timestamp</parameter><initializer>&null;</initializer></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Возвращает юлианский день для заданной метки времени Unix
|
||||
@ -43,10 +43,32 @@
|
||||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Число дней в юлианском летоисчислении.
|
||||
Число дней в юлианском летоисчислении, &return.falseforfailure;.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="changelog">
|
||||
&reftitle.changelog;
|
||||
<informaltable>
|
||||
<tgroup cols="2">
|
||||
<thead>
|
||||
<row>
|
||||
<entry>&Version;</entry>
|
||||
<entry>&Description;</entry>
|
||||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>8.0.0</entry>
|
||||
<entry>
|
||||
<parameter>timestamp</parameter> теперь допускает значение null.
|
||||
</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</informaltable>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
@ -56,7 +78,6 @@
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
@ -1,8 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- $Revision$ -->
|
||||
<!-- EN-Revision: bab7e4c16c4fa5140d4de0c440edebb61511145c Maintainer: sergey Status: ready -->
|
||||
<!-- EN-Revision: 0ebd26c45ca444f08665c8b941f8647970ae5f8a Maintainer: sergey Status: ready -->
|
||||
<!-- Reviewed: no -->
|
||||
|
||||
<refentry xml:id="function.imagesetinterpolation" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>imagesetinterpolation</refname>
|
||||
@ -194,8 +193,15 @@ imagesetinterpolation($im, IMG_MITCHELL);
|
||||
</itemizedlist>
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<simplelist>
|
||||
<member><function>imagegetinterpolation</function></member>
|
||||
</simplelist>
|
||||
</refsect1>
|
||||
|
||||
</refentry>
|
||||
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: sgml
|
||||
|
Reference in New Issue
Block a user