PHP 8.5.0 Alpha 1 available for testing

IntlGregorianCalendar::__construct

(PHP 5 >= 5.5.0, PHP 7, PHP 8)

IntlGregorianCalendar::__constructCrear la clase del calendario gregoriano

Descripción

public IntlGregorianCalendar::__construct(IntlTimeZone $tz = ?, string $locale = ?)
public IntlGregorianCalendar::__construct(int $timeZoneOrYear, int $localeOrMonth, int $dayOfMonth)
public IntlGregorianCalendar::__construct(
    int $timeZoneOrYear,
    int $localeOrMonth,
    int $dayOfMonth,
    int $hour,
    int $minute,
    int $second = ?
)

Advertencia

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().
add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top