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

说明

面向对象风格 (method):

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

过程化风格:

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

警告

本函数还未编写文档,仅有参数列表。

参数

dst

style

locale

返回值

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top