protected function createDateTime($timestamp)
    {
        $dateTime = new \DateTime();
        $dateTime->setTimestamp($timestamp);
        $dateTime->setTimezone($this->dateTimeZone);

        return $dateTime;
    }
protected function createDateTime($timestamp)
    {
        $dateTime = new \DateTime();
        $dateTime->setTimestamp($timestamp);
        $dateTime->setTimezone($this->dateTimeZone);

        return $dateTime;
    }
protected function createDateTime ( $ timestamp ) { $ dateTime = new \ DateTime ( ) ; $ dateTime -> setTimestamp ( $ timestamp ) ; $ dateTime -> setTimezone ( $ this -> dateTimeZone ) ; return $ dateTime ; }
Create and returns a DateTime object with the specified timestamp and with the
current time zone.

@param int $timestamp

@return \DateTime
Create and returns a DateTime object with the specified timestamp and with the current time zone .