Swat/SwatDate.php
public function setTZ(DateTimeZone $time_zone)
    {
        $this->addSeconds($this->format('Z'));
        $result = $this->setTimezone($time_zone);
        $this->subtractSeconds($this->format('Z'));
        return $result;
    }
public function setTZ(DateTimeZone $time_zone)
    {
        $this->addSeconds($this->format('Z'));
        $result = $this->setTimezone($time_zone);
        $this->subtractSeconds($this->format('Z'));
        return $result;
    }
public function setTZ ( DateTimeZone $ time_zone ) { $ this -> addSeconds ( $ this -> format ( 'Z' ) ) ; $ result = $ this -> setTimezone ( $ time_zone ) ; $ this -> subtractSeconds ( $ this -> format ( 'Z' ) ) ; return $ result ; }
Sets the time zone for this date and updates this date's time so the
hours are the same as with the old time zone

@param DateTimeZone $time_zone the new time zone.

@return mixed this object on success, or false if the time zone name is
invalid.
Sets the time zone for this date and updates this date s time so the hours are the same as with the old time zone