Lines Matching refs:tzid
120 * @param string $tzid
125 public static function getTimeZone($tzid, Component $vcalendar = null, $failIfUncertain = false) argument
138 if ('(' !== $tzid[0]) {
149 (in_array($tzid, $tzIdentifiers)) ||
150 (preg_match('/^GMT(\+|-)([0-9]{4})$/', $tzid, $matches)) ||
151 (in_array($tzid, self::getIdentifiersBC()))
153 return new \DateTimeZone($tzid);
162 if (isset(self::$map[$tzid])) {
163 return new \DateTimeZone(self::$map[$tzid]);
169 if (preg_match('/^\((UTC|GMT)(\+|\-)[\d]{2}\:[\d]{2}\) (.*)/', $tzid, $matches)) {
178 if (preg_match('/^GMT(\+|-)([0-9]{4})$/', $tzid, $matches)) {
192 if ((string) $vtimezone->TZID === $tzid) {
225 …\InvalidArgumentException('We were unable to determine the correct PHP timezone for tzid: '.$tzid);