make interval param an interval object/link now that interval format is properly documented.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287822 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Daniel Convissor 2009-08-27 22:23:39 +00:00
parent 791c1e2460
commit 161a1ff436
2 changed files with 2 additions and 12 deletions

View file

@ -38,12 +38,7 @@
</term>
<listitem>
<para>
The amount to be added. For the date use "P3D", "P3M", "P3Y" or a
combination of the three e.g. "P2M5D" (Y = Years, M = Months, D = Days.)
MUST BE YEAR MONTH DAY FORMAT "P5Y", "P5M2D", "P5Y4D". For the time use
"T3H", "T3M", "T3S" or a combination of the three e.g. "T5H20M" (H =
Hours, M = Minutes, S = Seconds). For dateTime use "P5Y2M4DT5H20M". The
digit before the letter (NOT P or T) can be any amount.
A <classname>DateInterval</classname> object
</para>
</listitem>
</varlistentry>

View file

@ -38,12 +38,7 @@
</term>
<listitem>
<para>
The amount to be subtracted. For the date use "P3D", "P3M", "P3Y" or a
combination of the three e.g. "P2M5D" (Y = Years, M = Months, D = Days.)
MUST BE YEAR MONTH DAY FORMAT "P5Y", "P5M2D", "P5Y4D". For the time use
"T3H", "T3M", "T3S" or a combination of the three e.g. "T5H20M" (H =
Hours, M = Minutes, S = Seconds). For dateTime use "P5Y2M4DT5H20M". The
digit before the letter (NOT P or T) can be any amount.
A <classname>DateInterval</classname> object
</para>
</listitem>
</varlistentry>