IntlGregorianCalendar::__construct
En esta página
IntlGregorianCalendar::__construct
Crear la clase del calendario gregoriano
Descripción#
public IntlGregorianCalendar::__construct([IntlTimeZone $tz], [string $locale])
```php
```php
public IntlGregorianCalendar::__construct(int $timeZoneOrYear, int $localeOrMonth, int $dayOfMonth)
php
public IntlGregorianCalendar::__construct(int $timeZoneOrYear, int $localeOrMonth, int $dayOfMonth, int $hour, int $minute, [int $second])php
[!WARNING] Esta función está actualmente no documentada; solo la lista de sus argumentos está disponible.
Parámetros#
tz
locale
timeZoneOrYear
localeOrMonth
dayOfMonth
hour
minute
second
Historial de cambios#
| Versión | Descripción |
|---|---|
| 8.4.0 | Esto ha sido deprecado en favor de los métodos IntlGregorianCalendar::createFromDate y IntlGregorianCalendar::createFromDateTime. |