2024 年日本 PHP 研討會

IntlTimeZone::getDisplayName

intltz_get_display_name

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

IntlTimeZone::getDisplayName -- intltz_get_display_name取得適合呈現給使用者的時區名稱

說明

物件導向風格 (方法)

公開 IntlTimeZone::getDisplayName(布林值 $dst = false, 整數 $style = IntlTimeZone::DISPLAY_LONG, ?字串 $locale = null): 字串|false

程序式風格

intltz_get_display_name(
    IntlTimeZone $timezone,
    布林值 $dst = false,
    整數 $style = IntlTimeZone::DISPLAY_LONG,
    ?字串 $locale = null
): 字串|false

警告

此函式目前沒有說明文件;僅提供其參數列表。

參數

dst

style

locale

回傳值

新增註記

使用者貢獻的註記

此頁面沒有使用者貢獻的註記。
To Top