IntlGregorianCalendar::__construct
(PHP 5 >= 5.5.0, PHP 7, PHP 8)
IntlGregorianCalendar::__construct — Create the Gregorian Calendar class
Description
public function IntlGregorianCalendar::__construct(int
$timeZoneOrYear, int $localeOrMonth, int $dayOfMonth)public function IntlGregorianCalendar::__construct(
int
int
int
int
int
int
)
int
$timeZoneOrYear,int
$localeOrMonth,int
$dayOfMonth,int
$hour,int
$minute,int
$second = ?)
Warning
This function is currently not documented; only its argument list is available.
Parameters
tz-
locale-
timeZoneOrYear-
localeOrMonth-
dayOfMonth-
hour-
minute-
second-
Changelog
| Version | Description |
|---|---|
| 8.4.0 | This had been deprecated in favor of the methods IntlGregorianCalendar::createFromDate() and IntlGregorianCalendar::createFromDateTime(). |
+add a note
User Contributed Notes
There are no user contributed notes for this page.