|
1 | 1 | <?xml version="1.0" encoding="utf-8"?>
|
2 | 2 | <!-- $Revision$ -->
|
3 |
| -<!-- EN-Revision: 85a0f924337aa29b61018828b1292a12e796f288 Maintainer: takagi Status: ready --> |
| 3 | +<!-- EN-Revision: a626743ba6f7c4a3c8f1e192ee2f888035b7fe7f Maintainer: takagi Status: ready --> |
| 4 | +<!-- Credits: mumumu --> |
4 | 5 |
|
5 | 6 | <refentry xml:id="dateperiod.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
6 | 7 | <refnamediv>
|
|
15 | 16 | <methodparam><type>DateTimeInterface</type><parameter>start</parameter></methodparam>
|
16 | 17 | <methodparam><type>DateInterval</type><parameter>interval</parameter></methodparam>
|
17 | 18 | <methodparam><type>int</type><parameter>recurrences</parameter></methodparam>
|
18 |
| - <methodparam choice="opt"><type>int</type><parameter>options</parameter></methodparam> |
| 19 | + <methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer>0</initializer></methodparam> |
19 | 20 | </constructorsynopsis>
|
20 | 21 | <constructorsynopsis role="oop">
|
21 | 22 | <modifier>public</modifier> <methodname>DatePeriod::__construct</methodname>
|
22 | 23 | <methodparam><type>DateTimeInterface</type><parameter>start</parameter></methodparam>
|
23 | 24 | <methodparam><type>DateInterval</type><parameter>interval</parameter></methodparam>
|
24 | 25 | <methodparam><type>DateTimeInterface</type><parameter>end</parameter></methodparam>
|
25 |
| - <methodparam choice="opt"><type>int</type><parameter>options</parameter></methodparam> |
| 26 | + <methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer>0</initializer></methodparam> |
26 | 27 | </constructorsynopsis>
|
27 | 28 | <constructorsynopsis role="oop">
|
28 | 29 | <modifier>public</modifier> <methodname>DatePeriod::__construct</methodname>
|
29 | 30 | <methodparam><type>string</type><parameter>isostr</parameter></methodparam>
|
30 |
| - <methodparam choice="opt"><type>int</type><parameter>options</parameter></methodparam> |
| 31 | + <methodparam choice="opt"><type>int</type><parameter>options</parameter><initializer>0</initializer></methodparam> |
31 | 32 | </constructorsynopsis>
|
32 | 33 | <para>
|
33 | 34 | 新しい DatePeriod オブジェクトを作成します。
|
|
59 | 60 | <listitem>
|
60 | 61 | <para>
|
61 | 62 | 反復回数。
|
| 63 | + <literal>0</literal> より大きな値でなければいけません。 |
62 | 64 | </para>
|
63 | 65 | </listitem>
|
64 | 66 | </varlistentry>
|
|
75 | 77 | <listitem>
|
76 | 78 | <para>
|
77 | 79 | ISO 8601 による繰り返し間隔の指定。
|
| 80 | + 0回の繰り返し (<literal>R0/</literal>) はサポートしていません。 |
78 | 81 | </para>
|
79 | 82 | </listitem>
|
80 | 83 | </varlistentry>
|
|
104 | 107 | </thead>
|
105 | 108 | <tbody>
|
106 | 109 | <row>
|
107 |
| - <entry>5.5.8</entry> |
| 110 | + <entry>7.2.19, 7.3.6, 7.4.0</entry> |
108 | 111 | <entry>
|
109 |
| - <parameter>end</parameter> の型が |
110 |
| - <interfacename>DateTimeInterface</interfacename> に変わりました。 |
111 |
| - これより前のバージョンでは <classname>DateTime</classname> でした。 |
112 |
| - </entry> |
113 |
| - </row> |
114 |
| - <row> |
115 |
| - <entry>5.5.0</entry> |
116 |
| - <entry> |
117 |
| - <parameter>start</parameter> の型が |
118 |
| - <interfacename>DateTimeInterface</interfacename> に変わりました。 |
119 |
| - これより前のバージョンでは、<classname>DateTime</classname> でした。 |
| 112 | + <parameter>recurrences</parameter> は、<literal>0</literal> より大きな値が必須になりました。 |
120 | 113 | </entry>
|
121 | 114 | </row>
|
122 | 115 | </tbody>
|
|
0 commit comments