final | |
|---|---|
implements |
TimezoneResolver |
Resolves Windows timezone names ("W. Europe Standard Time"), Outlook display names ("(UTC+01:00) Amsterdam, Berlin, ..."), prefixed names ("/mozilla.org/20070129_1/Europe/Paris"), quoted names and IANA names without their first part ("Argentina/Buenos_Aires"). The bundled map (CLDR plus aliases) is used first, so results do not depend on the ICU version; IntlTimeZone::getIDForWindowsID() of the intl extension is a fallback for newer Windows names.
| Methods | ||
|---|---|---|
public
|
__construct(?array<string, string> $windowsTimezones = null)
|
# |
public
|
resolve(string $tzid, Component $calendar): ?ResolvedTimezone
|
# |
public
static
|
windowsTimezones(): array<string, string>
|
# |