public function setLocalTime($time)
    {
        list($hour, $minute, $second) = explode(':', $time);
        $this->localHour = (int)$hour;
        $this->localMinute = (int)$minute;
        $this->localSecond = (int)$second;
        return $this;
    }
public function setLocalTime($time)
    {
        list($hour, $minute, $second) = explode(':', $time);
        $this->localHour = (int)$hour;
        $this->localMinute = (int)$minute;
        $this->localSecond = (int)$second;
        return $this;
    }
public function setLocalTime ( $ time ) { list ( $ hour , $ minute , $ second ) = explode ( ':' , $ time ) ; $ this -> localHour = ( int ) $ hour ; $ this -> localMinute = ( int ) $ minute ; $ this -> localSecond = ( int ) $ second ; return $ this ; }
Sets local visitor time

@param string $time HH:MM:SS format
@return $this
Sets local visitor time