|
|
@@ -2967,7 +2967,7 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
* @param string|integer|array|Zend_Date $date Date to compare
|
|
|
* @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 integer 0 = equal, 1 = later, -1 = earlier
|
|
|
* @throws Zend_Date_Exception
|
|
|
*/
|
|
|
public function compareDate($date, $format = null, $locale = null)
|
|
|
@@ -4431,7 +4431,8 @@ class Zend_Date extends Zend_Date_DateObject
|
|
|
*
|
|
|
* @param integer|Zend_Date $milli OPTIONAL Millisecond to compare, when null the actual millisecond is compared
|
|
|
* @param integer $precision OPTIONAL Fractional precision for the given milliseconds
|
|
|
- * @return integer
|
|
|
+ * @throws Zend_Date_Exception On invalid input
|
|
|
+ * @return integer 0 = equal, 1 = later, -1 = earlier
|
|
|
*/
|
|
|
public function compareMilliSecond($milli = null, $precision = null)
|
|
|
{
|