public function setDateEnd($dateEnd)
    {
        $dateEnd = ($dateEnd === null ? $dateEnd : (string) $dateEnd);

        if ($this->exists() && $this->dateEnd !== $dateEnd) {
            $this->updated['dateEnd'] = true;
        }

        $this->dateEnd = $dateEnd;

        return $this;
    }