« IntlGregorianCalendar
IntlGregorianCalendar::createFromDate »

IntlGregorianCalendar::__construct

(PHP 5 >= 5.5.0, PHP 7, PHP 8)

IntlGregorianCalendar::__construct — グレゴリオ暦の Calendar クラスを作成する

説明

public function IntlGregorianCalendar::__construct(IntlTimeZone $tz = ?, string $locale = ?)
public function IntlGregorianCalendar::__construct(int $timeZoneOrYear, int $localeOrMonth, int $dayOfMonth)
public function IntlGregorianCalendar::__construct(
    int $timeZoneOrYear,
    int $localeOrMonth,
    int $dayOfMonth,
    int $hour,
    int $minute,
    int $second = ?
)

警告

この関数は、 現在のところ詳細な情報はありません。引数のリストのみが 記述されています。

パラメータ

tz

locale

timeZoneOrYear

localeOrMonth

dayOfMonth

hour

minute

second

変更履歴

バージョン 説明
8.4.0 このコンストラクタは非推奨となりました。 代わりに IntlGregorianCalendar::createFromDate() や IntlGregorianCalendar::createFromDateTime() を使用してください。
関連キーワード:
IntlGregorianCalendar   construct   グレゴリオ   Calendar   timeZoneOrYear   localeOrMonth   dayOfMonth   createFromDate   locale   hour   minute   second   IntlTimeZone   詳細   記述   履歴   コンストラクタ   非推奨   createFromDateTime
関連する関数・ページ:
class.intlgregoriancalendar   intlgregoriancalendar.getgregorianchange   intlgregoriancalendar.setgregorianchange   intlgregoriancalendar.createfromdatetime   intlgregoriancalendar.createfromdate   intlgregoriancalendar.isleapyear