(PHP 5.5.0, PHP 7, PECL >= 3.0.0a1)
类摘要
IntlTimeZone
{
public static string getCanonicalID
(
string $zoneId
[,
bool &$isSystemID
] )
public string getDisplayName
([
bool $isDaylight
[,
integer $style
[,
string $locale
]]] )
public static IntlTimeZone getGMT
(
void
)
public string getID
(
void
)
public integer getOffset
(
float $date
,
bool $local
,
integer &$rawOffset
,
integer &$dstOffset
)
}
预定义常量
IntlTimeZone::DISPLAY_SHORT
-
IntlTimeZone::DISPLAY_LONG
-