PHP - Manual: IntlGregorianCalendar::__construct
2025-10-24
(PHP 5 >= 5.5.0, PHP 7, PHP 8)
IntlGregorianCalendar::__construct — Create the Gregorian Calendar class
$timeZoneOrYear,$localeOrMonth,$dayOfMonth,$hour,$minute,$second = ?
本函数还未编写文档,仅有参数列表。
tz
locale
timeZoneOrYear
localeOrMonth
dayOfMonth
hour
minute
second
| 版本 | 说明 |
|---|---|
| 8.4.0 | This had been deprecated in favor of the methods IntlGregorianCalendar::createFromDate() and IntlGregorianCalendar::createFromDateTime(). |
官方地址:https://www.php.net/manual/en/intlgregoriancalendar.construct.php