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