Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 21 additions & 8 deletions reference/intl/intlgregoriancalendar/getgregorianchange.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: sergey Status: ready -->
<!-- EN-Revision: a9a5a377cfbff431de8bbdca1a2b7a51c7500ca1 Maintainer: sergey Status: ready -->
<!-- Reviewed: no -->
<refentry xml:id="intlgregoriancalendar.getgregorianchange" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
Expand All @@ -9,21 +9,34 @@

<refsect1 role="description">
&reftitle.description;
<simpara>&style.oop;</simpara>
<methodsynopsis role="IntlGregorianCalendar">
<modifier>public</modifier> <type>float</type><methodname>IntlGregorianCalendar::getGregorianChange</methodname>
<void/>
</methodsynopsis>
<para>

</para>

&warn.undocumented.func;

<simpara>&style.procedural;</simpara>
<methodsynopsis>
<type>float</type><methodname>intlgregcal_get_gregorian_change</methodname>
<methodparam><type>IntlGregorianCalendar</type><parameter>calendar</parameter></methodparam>
</methodsynopsis>
<simpara>
Метод получает дату перехода на григорианский календарь. Это момент,
когда календарь переключается с юлианских дат на григорианские; дата
выражается меткой времени Unix в миллисекундах. По умолчанию это полночь
по UTC 15 октября 1582 года.
</simpara>
</refsect1>

<refsect1 role="parameters">
&reftitle.parameters;
&no.function.parameters;
<variablelist>
<varlistentry>
<term><parameter>calendar</parameter></term>
<listitem>
<simpara>Объект класса <classname>IntlGregorianCalendar</classname>.</simpara>
</listitem>
</varlistentry>
</variablelist>
</refsect1>

<refsect1 role="returnvalues">
Expand Down
29 changes: 19 additions & 10 deletions reference/intl/intlgregoriancalendar/isleapyear.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: sergey Status: ready -->
<!-- EN-Revision: a9a5a377cfbff431de8bbdca1a2b7a51c7500ca1 Maintainer: sergey Status: ready -->
<!-- Reviewed: no -->
<refentry xml:id="intlgregoriancalendar.isleapyear" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
Expand All @@ -9,27 +9,36 @@

<refsect1 role="description">
&reftitle.description;
<simpara>&style.oop;</simpara>
<methodsynopsis role="IntlGregorianCalendar">
<modifier>public</modifier> <type>bool</type><methodname>IntlGregorianCalendar::isLeapYear</methodname>
<methodparam><type>int</type><parameter>year</parameter></methodparam>
</methodsynopsis>
<para>

</para>

&warn.undocumented.func;

<simpara>&style.procedural;</simpara>
<methodsynopsis>
<type>bool</type><methodname>intlgregcal_is_leap_year</methodname>
<methodparam><type>IntlGregorianCalendar</type><parameter>calendar</parameter></methodparam>
<methodparam><type>int</type><parameter>year</parameter></methodparam>
</methodsynopsis>
<simpara>
Метод определяет, является ли год <parameter>year</parameter> високосным
в григорианском календаре.
</simpara>
</refsect1>

<refsect1 role="parameters">
&reftitle.parameters;
<variablelist>
<varlistentry>
<term><parameter>calendar</parameter></term>
<listitem>
<simpara>Объект класса <classname>IntlGregorianCalendar</classname>.</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>year</parameter></term>
<listitem>
<para>

</para>
<simpara>Год, который требуется проверить.</simpara>
</listitem>
</varlistentry>
</variablelist>
Expand Down
33 changes: 23 additions & 10 deletions reference/intl/intlgregoriancalendar/setgregorianchange.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- EN-Revision: 1976eae0d815797af97a1e16c5cd90ffc2868395 Maintainer: sergey Status: ready -->
<!-- EN-Revision: a9a5a377cfbff431de8bbdca1a2b7a51c7500ca1 Maintainer: sergey Status: ready -->
<!-- Reviewed: no -->
<refentry xml:id="intlgregoriancalendar.setgregorianchange" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
Expand All @@ -9,27 +9,40 @@

<refsect1 role="description">
&reftitle.description;
<simpara>&style.oop;</simpara>
<methodsynopsis role="IntlGregorianCalendar">
<modifier>public</modifier> <type>bool</type><methodname>IntlGregorianCalendar::setGregorianChange</methodname>
<methodparam><type>float</type><parameter>timestamp</parameter></methodparam>
</methodsynopsis>
<para>

</para>

&warn.undocumented.func;

<simpara>&style.procedural;</simpara>
<methodsynopsis>
<type>bool</type><methodname>intlgregcal_set_gregorian_change</methodname>
<methodparam><type>IntlGregorianCalendar</type><parameter>calendar</parameter></methodparam>
<methodparam><type>float</type><parameter>timestamp</parameter></methodparam>
</methodsynopsis>
<simpara>
Метод устанавливает дату перехода на григорианский календарь. Это момент,
когда календарь переключается с юлианских дат на григорианские; дата
выражается меткой времени Unix в миллисекундах.
</simpara>
</refsect1>

<refsect1 role="parameters">
&reftitle.parameters;
<variablelist>
<varlistentry>
<term><parameter>calendar</parameter></term>
<listitem>
<simpara>Объект класса <classname>IntlGregorianCalendar</classname>.</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term><parameter>timestamp</parameter></term>
<listitem>
<para>

</para>
<simpara>
Дата перехода на григорианский календарь, которую выражают меткой
времени Unix в миллисекундах.
</simpara>
</listitem>
</varlistentry>
</variablelist>
Expand Down
Loading