public function __construct($time = 'now', $object = null) { parent::__construct($time, $object); $this->_oneDayInterval = new \DateInterval('P1D'); $this->_oneMonthInterval = new \DateInterval('P1M'); $this->_oneYearInterval = new \DateInterval('P1Y'); }