{'X-LIC-LOCATION'})) { return null; } $lic = (string) $vtimezone->{'X-LIC-LOCATION'}; // Libical generators may specify strings like // "SystemV/EST5EDT". For those we must remove the // SystemV part. if ('SystemV/' === substr($lic, 0, 8)) { $lic = substr($lic, 8); } return TimeZoneUtil::getTimeZone($lic, null, $failIfUncertain); } }