(PHP 5 >= 5.5.0, PHP 7, PHP 8)
IntlGregorianCalendar::__construct — Create the Gregorian Calendar class
The following constructor variants have been deprecated:
$timeZoneOrYear, int $localeOrMonth, int $dayOfMonth)$timeZoneOrYear,$localeOrMonth,$dayOfMonth,$hour,$minute,$second = ?These variants of the constructor are deprecated as of PHP 8.4.0, use IntlGregorianCalendar::createFromDate() or IntlGregorianCalendar::createFromDateTime() instead, which are available as of PHP 8.3.0.
This function is currently not documented; only its argument list is available.
tz
locale
timeZoneOrYear
localeOrMonth
dayOfMonth
hour
minute
second
| Version | Description |
|---|---|
| 8.4.0 | This had been deprecated in favor of the methods IntlGregorianCalendar::createFromDate() and IntlGregorianCalendar::createFromDateTime(). |