/** * @return FALSE|mixed|Utils\DateTime|null */ public function getValue() { $value = parent::getValue(); if ($value instanceof Utils\DateTime) { return $value; } elseif (is_array($value)) { return $value; } else { if ($value === FALSE || $value === NULL) { return NULL; } else { $value = Utils\DateTime::createFromFormat($this->getDateTimeFormat(TRUE), $value); if ($value === FALSE) { return NULL; } } } return $value; }
/** * @return mixed */ public function getValue() { $value = parent::getValue(); return $value; }