concrete/src/Localization/Service/Date.php
public function getTimezone($timezone)
    {
        $tz = null;
        $phpTimezone = $this->getTimezoneID($timezone);
        if (is_string($phpTimezone) && strlen($phpTimezone)) {
            try {
                $tz = new \DateTimeZone($phpTimezone);
            } catch (\Exception $x) {
            }
        }

        return $tz;
    }
public function getTimezone($timezone)
    {
        $tz = null;
        $phpTimezone = $this->getTimezoneID($timezone);
        if (is_string($phpTimezone) && strlen($phpTimezone)) {
            try {
                $tz = new \DateTimeZone($phpTimezone);
            } catch (\Exception $x) {
            }
        }

        return $tz;
    }
public function getTimezone ( $ timezone ) { $ tz = null ; $ phpTimezone = $ this -> getTimezoneID ( $ timezone ) ; if ( is_string ( $ phpTimezone ) && strlen ( $ phpTimezone ) ) { try { $ tz = new \ DateTimeZone ( $ phpTimezone ) ; } catch ( \ Exception $ x ) { } } return $ tz ; }
Returns a \DateTimeZone instance for a specified timezone identifier.

@param string $timezone The timezone to retrieve. Special values are:<ul>
<li>'system' (default) for the current system timezone</li>
<li>'user' for the user's timezone</li>
<li>'app' for the app's timezone</li>
<li>Other values: one of the PHP supported time zones (see http://us1.php.net/manual/en/timezones.php )</li>
</ul>

@return \DateTimeZone|null Returns null if $timezone is invalid or the \DateTimeZone corresponding to $timezone
Returns a \ DateTimeZone instance for a specified timezone identifier .