(PHP 5 >= 5.5.0, PHP 7, PHP 8)
IntlGregorianCalendar::__construct — 创建格里高利历类
$timeZoneOrYear,$localeOrMonth,$dayOfMonth,$hour,$minute,$second = ?
此函数目前没有文档;只有其参数列表可用。
tz
locale
timeZoneOrYear
localeOrMonth
dayOfMonth
hour
minute
second
| 版本 | 描述 |
|---|---|
| 8.4.0 | 此方法已被弃用,建议使用 IntlGregorianCalendar::createFromDate() 和 IntlGregorianCalendar::createFromDateTime() 方法。 |