DateTimeZone クラス
(PHP 5 >= 5.2.0, PHP 7)
はじめに
タイムゾーンをあらわします。
クラス概要
DateTimeZone
{
/* 定数 */
/* メソッド */
public static listIdentifiers
([ int
}$what = DateTimeZone::ALL
[, string $country = NULL
]] ) : array定義済み定数
DateTimeZone::AFRICA-
アフリカのタイムゾーン。
DateTimeZone::AMERICA-
アメリカのタイムゾーン。
DateTimeZone::ANTARCTICA-
南極のタイムゾーン。
DateTimeZone::ARCTIC-
北極のタイムゾーン。
DateTimeZone::ASIA-
アジアのタイムゾーン。
DateTimeZone::ATLANTIC-
大西洋のタイムゾーン。
DateTimeZone::AUSTRALIA-
オーストラリアのタイムゾーン。
DateTimeZone::EUROPE-
ヨーロッパのタイムゾーン。
DateTimeZone::INDIAN-
インドのタイムゾーン。
DateTimeZone::PACIFIC-
太平洋のタイムゾーン。
DateTimeZone::UTC-
UTC タイムゾーン。
DateTimeZone::ALL-
すべてのタイムゾーン。
DateTimeZone::ALL_WITH_BC-
過去との互換性を保つものを含むすべてのタイムゾーン。
DateTimeZone::PER_COUNTRY-
国ごとのタイムゾーン。
目次
- DateTimeZone::__construct — 新しい DateTimeZone オブジェクトを作成する
- DateTimeZone::getLocation — タイムゾーンの位置情報を返す
- DateTimeZone::getName — タイムゾーンの名前を返す
- DateTimeZone::getOffset — GMT からのタイムゾーンのオフセットを返す
- DateTimeZone::getTransitions — タイムゾーンの変遷を返す
- DateTimeZone::listAbbreviations — 夏時間、オフセットおよびタイムゾーン名を含む連想配列を返す
- DateTimeZone::listIdentifiers — すべてのタイムゾーン識別子を含む配列を返す