La clase IntlTimeZone

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

Introducción

Sinopsis de la Clase

class IntlTimeZone {
/* Constantes */
/* Métodos */
public static countEquivalentIDs(string $zoneId): integer
public static createDefault(): IntlTimeZone
public static createEnumeration(mixed $countryOrRawOffset = ?): IntlIterator
public static createTimeZone(string $zoneId): IntlTimeZone
public static createTimeZoneIDEnumeration(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
public static getCanonicalID(string $zoneId, bool &$isSystemID = ?): string
public getDisplayName(bool $isDaylight = ?, integer $style = ?, string $locale = ?): string
public static getEquivalentID(string $zoneId, integer $index): string
public static getGMT(): IntlTimeZone
public getID(): string
public static getIDForWindowsID(string $timezoneId, ?string $region = null): string|false
intltz_get_id_for_windows_id(string $timezoneId, ?string $region = null): string|false
public getOffset(
    float $date,
    bool $local,
    integer &$rawOffset,
    integer &$dstOffset
): integer
public static getRegion(string $timezoneId): string|false
intltz_get_region(string $timezoneId): string|false
public static getTZDataVersion(): string
public static getUnknown(): IntlTimeZone
intltz_get_unknown(): IntlTimeZone
public static getWindowsID(string $timezoneId): string|false
intltz_get_windows_id(string $timezoneId): string|false
public hasSameRules(IntlTimeZone $otherTimeZone): bool
}

Tabla de contenidos