|
|
@@ -353,7 +353,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
* Sets a new timestamp
|
|
|
*
|
|
|
* @param integer|string|array|Zend_Date $timestamp Timestamp to set
|
|
|
- * @return Zend_Date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function setTimestamp($timestamp)
|
|
|
@@ -365,7 +365,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
* Adds a timestamp
|
|
|
*
|
|
|
* @param integer|string|array|Zend_Date $timestamp Timestamp to add
|
|
|
- * @return Zend_Date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function addTimestamp($timestamp)
|
|
|
@@ -377,7 +377,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
* Subtracts a timestamp
|
|
|
*
|
|
|
* @param integer|string|array|Zend_Date $timestamp Timestamp to sub
|
|
|
- * @return Zend_Date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function subTimestamp($timestamp)
|
|
|
@@ -1088,7 +1088,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
* @param string|integer|array|Zend_Date $date Date or datepart to add
|
|
|
* @param string $part OPTIONAL Part of the date to add, if null the timestamp is added
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return integer|string new datepart
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function add($date, $part = self::TIMESTAMP, $locale = null)
|
|
|
@@ -1111,7 +1111,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
* @param string|integer|array|Zend_Date $date Date or datepart to subtract
|
|
|
* @param string $part OPTIONAL Part of the date to sub, if null the timestamp is subtracted
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return integer|string new datepart
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function sub($date, $part = self::TIMESTAMP, $locale = null)
|
|
|
@@ -1162,7 +1162,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
*
|
|
|
* @param string $part Part of the date to compare, if null the timestamp is subtracted
|
|
|
* @param string|Zend_Locale $locale OPTIONAL New object's locale. No adjustments to timezone are made.
|
|
|
- * @return Zend_Date
|
|
|
+ * @return Zend_Date New clone with requested part
|
|
|
*/
|
|
|
public function copyPart($part, $locale = null)
|
|
|
{
|
|
|
@@ -2812,7 +2812,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
* @param string|integer|array|Zend_Date $time Time to set
|
|
|
* @param string $format OPTIONAL Timeformat for parsing input
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return Zend_Date new time
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function setTime($time, $format = null, $locale = null)
|
|
|
@@ -2830,7 +2830,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
* @param string|integer|array|Zend_Date $time Time to add
|
|
|
* @param string $format OPTIONAL Timeformat for parsing input
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return Zend_Date new time
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function addTime($time, $format = null, $locale = null)
|
|
|
@@ -2848,7 +2848,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
* @param string|integer|array|Zend_Date $time Time to sub
|
|
|
* @param string $format OPTIONAL Timeformat for parsing input
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return Zend_Date new time
|
|
|
+ * @return Zend_Date Provides fluid inteface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function subTime($time, $format = null, $locale = null)
|
|
|
@@ -2954,7 +2954,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
* @param string|integer|array|Zend_Date $date Date to set
|
|
|
* @param string $format OPTIONAL Date format for parsing
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return integer|Zend_Date new date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function setDate($date, $format = null, $locale = null)
|
|
|
@@ -2972,7 +2972,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
* @param string|integer|array|Zend_Date $date Date to add
|
|
|
* @param string $format OPTIONAL Date format for parsing input
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return Zend_Date new date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function addDate($date, $format = null, $locale = null)
|
|
|
@@ -2991,7 +2991,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
* @param string|integer|array|Zend_Date $date Date to sub
|
|
|
* @param string $format OPTIONAL Date format for parsing input
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return Zend_Date new date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function subDate($date, $format = null, $locale = null)
|
|
|
@@ -3042,7 +3042,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
*
|
|
|
* @param string|integer|Zend_Date $date ISO Date to set
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return integer|Zend_Date new date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function setIso($date, $locale = null)
|
|
|
@@ -3059,7 +3059,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
*
|
|
|
* @param string|integer|Zend_Date $date ISO Date to add
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return integer|Zend_Date new date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function addIso($date, $locale = null)
|
|
|
@@ -3076,7 +3076,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
*
|
|
|
* @param string|integer|Zend_Date $date ISO Date to sub
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return integer|Zend_Date new date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function subIso($date, $locale = null)
|
|
|
@@ -3123,7 +3123,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
*
|
|
|
* @param string|integer|Zend_Date $date RFC 822 to set
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return integer|Zend_Date new date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function setArpa($date, $locale = null)
|
|
|
@@ -3141,7 +3141,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
*
|
|
|
* @param string|integer|Zend_Date $date RFC 822 Date to add
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return integer|Zend_Date new date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function addArpa($date, $locale = null)
|
|
|
@@ -3159,7 +3159,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
*
|
|
|
* @param string|integer|Zend_Date $date RFC 822 Date to sub
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return integer|Zend_Date new date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function subArpa($date, $locale = null)
|
|
|
@@ -3502,7 +3502,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
*
|
|
|
* @param string|integer|array|Zend_Date $date Year to set
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return Zend_Date new date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function setYear($year, $locale = null)
|
|
|
@@ -3521,7 +3521,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
*
|
|
|
* @param string|integer|array|Zend_Date $date Year to add
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return Zend_Date new date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function addYear($year, $locale = null)
|
|
|
@@ -3540,7 +3540,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
*
|
|
|
* @param string|integer|array|Zend_Date $date Year to sub
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return Zend_Date new date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function subYear($year, $locale = null)
|
|
|
@@ -3658,7 +3658,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
*
|
|
|
* @param string|integer|array|Zend_Date $month Month to set
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return Zend_Date new date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function setMonth($month, $locale = null)
|
|
|
@@ -3677,7 +3677,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
*
|
|
|
* @param string|integer|array|Zend_Date $month Month to add
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return Zend_Date new date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function addMonth($month, $locale = null)
|
|
|
@@ -3696,7 +3696,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
*
|
|
|
* @param string|integer|array|Zend_Date $month Month to sub
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return Zend_Date new date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function subMonth($month, $locale = null)
|
|
|
@@ -3802,7 +3802,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
*
|
|
|
* @param string|integer|array|Zend_Date $month Day to set
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return Zend_Date new date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function setDay($day, $locale = null)
|
|
|
@@ -3820,7 +3820,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
*
|
|
|
* @param string|integer|array|Zend_Date $month Day to add
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return Zend_Date new date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function addDay($day, $locale = null)
|
|
|
@@ -3838,7 +3838,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
*
|
|
|
* @param string|integer|array|Zend_Date $month Day to sub
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return Zend_Date new date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function subDay($day, $locale = null)
|
|
|
@@ -3944,7 +3944,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
*
|
|
|
* @param string|integer|array|Zend_Date $month Weekday to set
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return Zend_Date new date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function setWeekday($weekday, $locale = null)
|
|
|
@@ -3964,7 +3964,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
*
|
|
|
* @param string|integer|array|Zend_Date $month Weekday to add
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return Zend_Date new date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function addWeekday($weekday, $locale = null)
|
|
|
@@ -3984,7 +3984,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
*
|
|
|
* @param string|integer|array|Zend_Date $month Weekday to sub
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return Zend_Date new date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function subWeekday($weekday, $locale = null)
|
|
|
@@ -4030,7 +4030,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
*
|
|
|
* @param string|integer|array|Zend_Date $day Day of Year to set
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return Zend_Date new date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function setDayOfYear($day, $locale = null)
|
|
|
@@ -4047,7 +4047,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
*
|
|
|
* @param string|integer|array|Zend_Date $day Day of Year to add
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return Zend_Date new date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function addDayOfYear($day, $locale = null)
|
|
|
@@ -4064,7 +4064,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
*
|
|
|
* @param string|integer|array|Zend_Date $day Day of Year to sub
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return Zend_Date new date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function subDayOfYear($day, $locale = null)
|
|
|
@@ -4110,7 +4110,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
*
|
|
|
* @param string|integer|array|Zend_Date $hour Hour to set
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return Zend_Date new date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function setHour($hour, $locale = null)
|
|
|
@@ -4127,7 +4127,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
*
|
|
|
* @param string|integer|array|Zend_Date $hour Hour to add
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return Zend_Date new date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function addHour($hour, $locale = null)
|
|
|
@@ -4144,7 +4144,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
*
|
|
|
* @param string|integer|array|Zend_Date $hour Hour to sub
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return Zend_Date new date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function subHour($hour, $locale = null)
|
|
|
@@ -4190,7 +4190,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
*
|
|
|
* @param string|integer|array|Zend_Date $minute Minute to set
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return Zend_Date new date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function setMinute($minute, $locale = null)
|
|
|
@@ -4207,7 +4207,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
*
|
|
|
* @param string|integer|array|Zend_Date $minute Minute to add
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return Zend_Date new date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function addMinute($minute, $locale = null)
|
|
|
@@ -4224,7 +4224,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
*
|
|
|
* @param string|integer|array|Zend_Date $minute Minute to sub
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return Zend_Date new date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function subMinute($minute, $locale = null)
|
|
|
@@ -4270,7 +4270,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
*
|
|
|
* @param string|integer|array|Zend_Date $second Second to set
|
|
|
* @param string|Zend_Locale $locale (Optional) Locale for parsing input
|
|
|
- * @return Zend_Date new date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function setSecond($second, $locale = null)
|
|
|
@@ -4287,7 +4287,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
*
|
|
|
* @param string|integer|array|Zend_Date $second Second to add
|
|
|
* @param string|Zend_Locale $locale (Optional) Locale for parsing input
|
|
|
- * @return Zend_Date new date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function addSecond($second, $locale = null)
|
|
|
@@ -4304,7 +4304,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
*
|
|
|
* @param string|integer|array|Zend_Date $second Second to sub
|
|
|
* @param string|Zend_Locale $locale (Optional) Locale for parsing input
|
|
|
- * @return Zend_Date new date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function subSecond($second, $locale = null)
|
|
|
@@ -4382,7 +4382,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
*
|
|
|
* @param integer|Zend_Date $milli (Optional) Millisecond to set, when null the actual millisecond is set
|
|
|
* @param integer $precision (Optional) Fraction precision of the given milliseconds
|
|
|
- * @return Zend_Date Prodives fluid interface
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
*/
|
|
|
public function setMilliSecond($milli = null, $precision = null)
|
|
|
{
|
|
|
@@ -4547,7 +4547,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
*
|
|
|
* @param string|integer|array|Zend_Date $week Week to set
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return Zend_Date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function setWeek($week, $locale = null)
|
|
|
@@ -4562,7 +4562,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
*
|
|
|
* @param string|integer|array|Zend_Date $week Week to add
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return Zend_Date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function addWeek($week, $locale = null)
|
|
|
@@ -4577,7 +4577,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
*
|
|
|
* @param string|integer|array|Zend_Date $week Week to sub
|
|
|
* @param string|Zend_Locale $locale OPTIONAL Locale for parsing input
|
|
|
- * @return Zend_Date
|
|
|
+ * @return Zend_Date Provides fluid interface
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function subWeek($week, $locale = null)
|