/** * @see CakeTime::isWithinLast() * * @param string|integer $timeInterval the numeric value with space then time type. * Example of valid types: 6 hours, 2 days, 1 minute. * @param integer|string|DateTime $dateString UNIX timestamp, strtotime() valid string or DateTime object * @param string|DateTimeZone $timezone User's timezone string or DateTimeZone object * @return boolean * @link http://book.cakephp.org/2.0/en/core-libraries/helpers/time.html#testing-time */ public function isWithinNext($timeInterval, $dateString, $timezone = null) { return $this->_engine->isWithinNext($timeInterval, $dateString, $timezone); }