La clase IntlTimeZone

(PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1)

Introducción

Sinopsis de la Clase

classIntlTimeZone {
publicstaticcountEquivalentIDs(string$zoneId): integer
publicstaticcreateEnumeration(mixed$countryOrRawOffset = ?): IntlIterator
publicstaticcreateTimeZone(string$zoneId): IntlTimeZone
publicstaticcreateTimeZoneIDEnumeration(int$type, ?string$region = null, ?int$rawOffset = null): IntlIterator|false
intltz_create_time_zone_id_enumeration(int$type, ?string$region = null, ?int$rawOffset = null): IntlIterator|false
publicstaticgetCanonicalID(string$zoneId, bool&$isSystemID = ?): string
publicgetDisplayName(bool$isDaylight = ?, integer$style = ?, string$locale = ?): string
publicstaticgetEquivalentID(string$zoneId, integer$index): string
publicstaticgetGMT(): IntlTimeZone
publicgetID(): string
publicstaticgetIDForWindowsID(string$timezoneId, ?string$region = null): string|false
intltz_get_id_for_windows_id(string$timezoneId, ?string$region = null): string|false
publicgetOffset(
    float$date,
    bool$local,
    integer&$rawOffset,
    integer&$dstOffset
): integer
publicstaticgetRegion(string$timezoneId): string|false
intltz_get_region(string$timezoneId): string|false
publicstaticgetTZDataVersion(): string
publicstaticgetUnknown(): IntlTimeZone
intltz_get_unknown(): IntlTimeZone
publicstaticgetWindowsID(string$timezoneId): string|false
intltz_get_windows_id(string$timezoneId): string|false
publichasSameRules(IntlTimeZone$otherTimeZone): bool
}

Tabla de contenidos

To Top