(PHP 5 >= 5.5.0, PHP 7, PHP 8, PECL >= 3.0.0a1)
类摘要
IntlTimeZone
{
public static getCanonicalID
(
string $zoneId
,
bool &$isSystemID
= ?
) :
string
public getDisplayName
(
bool $isDaylight
= ?
,
int $style
= ?
,
string $locale
= ?
) :
string
public getID
(
) :
string
public static getIDForWindowsID
(
string $timezone
,
string $region
= ?
) :
string|false
public getOffset
(
float $date
,
bool $local
,
int &$rawOffset
,
int &$dstOffset
) :
bool
public static getRegion
(
string $zoneId
) :
string|false
public static getWindowsID
(
string $timezone
) :
string|false
}
预定义常量
IntlTimeZone::DISPLAY_SHORT
-
IntlTimeZone::DISPLAY_LONG
-