From cc8bf3df3b1f1d5f97257d93be118d4e6d274f66 Mon Sep 17 00:00:00 2001 From: Daniel Convissor Date: Fri, 28 Aug 2009 02:21:17 +0000 Subject: [PATCH] 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 --- reference/datetime/dateinterval/construct.xml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/reference/datetime/dateinterval/construct.xml b/reference/datetime/dateinterval/construct.xml index ea0994169c..2777fda12f 100644 --- a/reference/datetime/dateinterval/construct.xml +++ b/reference/datetime/dateinterval/construct.xml @@ -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 P1Y4D, not P4D1Y. @@ -113,6 +113,18 @@ DateInterval Object + + &reftitle.seealso; + + + DateInterval::format + DateTime::add + DateTime::sub + DateTime::diff + + + +