protected function onTimeZone(?string $timeZoneCode)
    {
        if (\is_null($timeZoneCode)) {
            $this->timezone = null;
        } elseif (\in_array($timeZoneCode, \timezone_identifiers_list())) {
            $this->timezone = $timeZoneCode;
        }

        return $this;
    }
protected function onTimeZone(?string $timeZoneCode)
    {
        if (\is_null($timeZoneCode)) {
            $this->timezone = null;
        } elseif (\in_array($timeZoneCode, \timezone_identifiers_list())) {
            $this->timezone = $timeZoneCode;
        }

        return $this;
    }
protected function onTimeZone ( ? string $ timeZoneCode ) { if ( \ is_null ( $ timeZoneCode ) ) { $ this -> timezone = null ; } elseif ( \ in_array ( $ timeZoneCode , \ timezone_identifiers_list ( ) ) ) { $ this -> timezone = $ timeZoneCode ; } return $ this ; }
Set timezone for the request input.

@param string $timeZoneCode

@return $this
Set timezone for the request input .