Lines Matching refs:tzid
120 * @param string $tzid
124 … static public function getTimeZone($tzid, Component $vcalendar = null, $failIfUncertain = false) { argument
137 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);
163 if (isset(self::$map[$tzid])) {
164 return new \DateTimeZone(self::$map[$tzid]);
169 if (preg_match('/^GMT(\+|-)([0-9]{4})$/', $tzid, $matches)) {
186 if ((string)$vtimezone->TZID === $tzid) {
225 …nvalidArgumentException('We were unable to determine the correct PHP timezone for tzid: ' . $tzid);