svn: /phpdoc/en/trunk/reference/datetime/datetime/ add.xml sub.xml

From: Date: Thu, 27 Aug 2009 22:23:39 +0000
Subject: svn: /phpdoc/en/trunk/reference/datetime/datetime/ add.xml sub.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-4782@lists.php.net to get a copy of this message
danielc Thu, 27 Aug 2009 22:23:39 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=287822 Log: make interval param an interval object/link now that interval format is properly documented. Changed paths: U phpdoc/en/trunk/reference/datetime/datetime/add.xml U phpdoc/en/trunk/reference/datetime/datetime/sub.xml Modified: phpdoc/en/trunk/reference/datetime/datetime/add.xml =================================================================== --- phpdoc/en/trunk/reference/datetime/datetime/add.xml 2009-08-27 22:15:31 UTC (rev 287821) +++ phpdoc/en/trunk/reference/datetime/datetime/add.xml 2009-08-27 22:23:39 UTC (rev 287822) @@ -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> Modified: phpdoc/en/trunk/reference/datetime/datetime/sub.xml =================================================================== --- phpdoc/en/trunk/reference/datetime/datetime/sub.xml 2009-08-27 22:15:31 UTC (rev 287821) +++ phpdoc/en/trunk/reference/datetime/datetime/sub.xml 2009-08-27 22:23:39 UTC (rev 287822) @@ -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>

« previous php.doc.cvs (#4782) next »