Lines Matching refs:tzid
120 * @param string $tzid
125 static function getTimeZone($tzid, Component $vcalendar = null, $failIfUncertain = false) { argument
138 if ($tzid[0] !== '(') {
150 (in_array($tzid, $tzIdentifiers)) ||
151 (preg_match('/^GMT(\+|-)([0-9]{4})$/', $tzid, $matches)) ||
152 (in_array($tzid, self::getIdentifiersBC()))
154 return new \DateTimeZone($tzid);
164 if (isset(self::$map[$tzid])) {
165 return new \DateTimeZone(self::$map[$tzid]);
171 if (preg_match('/^\((UTC|GMT)(\+|\-)[\d]{2}\:[\d]{2}\) (.*)/', $tzid, $matches)) {
180 if (preg_match('/^GMT(\+|-)([0-9]{4})$/', $tzid, $matches)) {
197 if ((string)$vtimezone->TZID === $tzid) {
236 …nvalidArgumentException('We were unable to determine the correct PHP timezone for tzid: ' . $tzid);