svn: /phpdoc/ja/trunk/reference/datetime/dateinterval/ construct.xml createfromdatestring.xml
[email protected] (Yoshinari Takaoka)
| Newsgroups | php.doc.ja |
|---|---|
| Message-ID | <[email protected]> |
mumumu Sat, 01 Aug 2020 01:09:07 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=350270
Log:
followed datetime module doc update by derick (reference/datetimeinterval)
Changed paths:
U phpdoc/ja/trunk/reference/datetime/dateinterval/construct.xml
U phpdoc/ja/trunk/reference/datetime/dateinterval/createfromdatestring.xml
Modified: phpdoc/ja/trunk/reference/datetime/dateinterval/construct.xml
===================================================================
--- phpdoc/ja/trunk/reference/datetime/dateinterval/construct.xml 2020-08-01 01:04:35 UTC (rev 350269)
+++ phpdoc/ja/trunk/reference/datetime/dateinterval/construct.xml 2020-08-01 01:09:07 UTC (rev 350270)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 330157 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 350219 Maintainer: takagi Status: ready -->
+<!-- Credits: mumumu -->
<refentry xml:id="dateinterval.construct" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -12,7 +13,7 @@
&reftitle.description;
<constructorsynopsis role="oop">
<modifier>public</modifier> <methodname>DateInterval::__construct</methodname>
- <methodparam><type>string</type><parameter>interval_spec</parameter></methodparam>
+ <methodparam><type>string</type><parameter>duration</parameter></methodparam>
</constructorsynopsis>
<para>
新しい DateInterval オブジェクトを作成します。
@@ -24,7 +25,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>interval_spec</parameter></term>
+ <term><parameter>duration</parameter></term>
<listitem>
<para>
間隔。
@@ -39,7 +40,7 @@
<para>
<table>
<title>
- <parameter>interval_spec</parameter> の間隔指示子
+ <parameter>duration</parameter> の間隔指示子
</title>
<tgroup cols="2">
<thead>
@@ -120,7 +121,7 @@
<refsect1 role="errors">
&reftitle.errors;
<para>
- <parameter>interval_spec</parameter> を間隔としてパースできないときに
+ <parameter>duration</parameter> を間隔としてパースできないときに
<classname>Exception</classname> をスローします。
</para>
</refsect1>
Modified: phpdoc/ja/trunk/reference/datetime/dateinterval/createfromdatestring.xml
===================================================================
--- phpdoc/ja/trunk/reference/datetime/dateinterval/createfromdatestring.xml 2020-08-01 01:04:35 UTC (rev 350269)
+++ phpdoc/ja/trunk/reference/datetime/dateinterval/createfromdatestring.xml 2020-08-01 01:09:07 UTC (rev 350270)
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 326736 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 350219 Maintainer: takagi Status: ready -->
+<!-- Credits: mumumu -->
<refentry xml:id="dateinterval.createfromdatestring" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@@ -12,7 +13,7 @@
&reftitle.description;
<methodsynopsis role="oop">
<modifier>public</modifier> <modifier>static</modifier> <type>DateInterval</type><methodname>DateInterval::createFromDateString</methodname>
- <methodparam><type>string</type><parameter>time</parameter></methodparam>
+ <methodparam><type>string</type><parameter>datetime</parameter></methodparam>
</methodsynopsis>
<para>
通常の日付パーサを用いて、パースされた相対指定文字列から DateInterval を設定します。
@@ -24,7 +25,7 @@
<para>
<variablelist>
<varlistentry>
- <term><parameter>time</parameter></term>
+ <term><parameter>datetime</parameter></term>
<listitem>
<para>
相対部分を含む日付。