_time = new Zend_Date($data['time']['time']); if (isset($data['precision'])) { $this->_precision = $data['precision']; } if (isset($data['timezone'])) { $this->_timezone = $data['timezone']; } } /** * Returns the time. * * @return Zend_Date */ public function getDate() { return $this->_time; } /** * Returns the precision of the time. * * @return string */ public function getPrecision() { return $this->_precision; } /** * Returns the time zone to which the time is relative. * * @return string */ public function getTimezone() { return $this->_timezone; } }