Creates a date object from an input date object.
protected function constructFromObject() {
try {
$this->inputTimeAdjusted = $this->inputTimeAdjusted
->format(static::FORMAT);
parent::__construct($this->inputTimeAdjusted, $this->inputTimeZoneAdjusted);
} catch (\Exception $e) {
$this->errors[] = $e
->getMessage();
}
}