svn: /phpdoc/en/trunk/reference/datetime/dateinterval/ construct.xml
| From: | Daniel Convissor | Date: | Fri, 28 Aug 2009 02:21:17 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/datetime/dateinterval/ construct.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4785@lists.php.net to get a copy of this message | ||
danielc Fri, 28 Aug 2009 02:21:17 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=287825
Log:
Add see also. Tweak the note wording in my prior commit.
Changed paths:
U phpdoc/en/trunk/reference/datetime/dateinterval/construct.xml
Modified: phpdoc/en/trunk/reference/datetime/dateinterval/construct.xml
===================================================================
--- phpdoc/en/trunk/reference/datetime/dateinterval/construct.xml 2009-08-27 22:50:20 UTC (rev
287824)
+++ phpdoc/en/trunk/reference/datetime/dateinterval/construct.xml 2009-08-28 02:21:17 UTC (rev
287825)
@@ -62,9 +62,9 @@
The unit types must be entered from the largest
scale unit on the left to the smallest scale unit
on the right.
- So dates come before times, years before months,
- months before days, days before minutes, etc.
- So one year and four days must be
+ So years before months, months before days,
+ days before minutes, etc.
+ Thus one year and four days must be represented as
<literal>P1Y4D</literal>, not <literal>P4D1Y</literal>.
</para>
</note>
@@ -113,6 +113,18 @@
</para>
</refsect1>
+ <refsect1 role="seealso">
+ &reftitle.seealso;
+ <para>
+ <simplelist>
+ <member><function>DateInterval::format</function></member>
+ <member><function>DateTime::add</function></member>
+ <member><function>DateTime::sub</function></member>
+ <member><function>DateTime::diff</function></member>
+ </simplelist>
+ </para>
+ </refsect1>
+
</refentry>
<!-- Keep this comment at the end of the file