IntlTimeZone::getDisplayName

intltz_get_display_name

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

IntlTimeZone::getDisplayName -- intltz_get_display_nameGet a name of this time zone suitable for presentation to the user

說(shuō)明

面向?qū)ο箫L(fēng)格 (method):

public IntlTimeZone::getDisplayName(bool $dst = false, int $style = IntlTimeZone::DISPLAY_LONG, ?string $locale = null): string|false

過(guò)程化風(fēng)格:

intltz_get_display_name(
    IntlTimeZone $timezone,
    bool $dst = false,
    int $style = IntlTimeZone::DISPLAY_LONG,
    ?string $locale = null
): string|false

警告

本函數(shù)還未編寫(xiě)文檔,僅有參數(shù)列表。

參數(shù)

dst

style

locale

返回值