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