mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Add see also. Tweak the note wording in my prior commit.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287825 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
75b604c34a
commit
cc8bf3df3b
1 changed files with 15 additions and 3 deletions
|
@ -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 @@ DateInterval Object
|
|||
</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
|
||||
|
|
Loading…
Reference in a new issue