array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'intlgregoriancalendar.construct.php', 1 => 'IntlGregorianCalendar::__construct', 2 => 'Create the Gregorian Calendar class', ), 'up' => array ( 0 => 'class.intlgregoriancalendar.php', 1 => 'IntlGregorianCalendar', ), 'prev' => array ( 0 => 'class.intlgregoriancalendar.php', 1 => 'IntlGregorianCalendar', ), 'next' => array ( 0 => 'intlgregoriancalendar.createfromdate.php', 1 => 'IntlGregorianCalendar::createFromDate', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/intl/intlgregoriancalendar/construct.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

IntlGregorianCalendar::__construct

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

IntlGregorianCalendar::__constructCreate the Gregorian Calendar class

Beschreibung

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 = ?
)

Warnung

Diese Funktion ist bis jetzt nicht dokumentiert. Es steht nur die Liste der Parameter zur Verfügung.

Parameter-Liste

tz

locale

timeZoneOrYear

localeOrMonth

dayOfMonth

hour

minute

second

Changelog

Version Beschreibung
8.4.0 This had been deprecated in favor of the methods IntlGregorianCalendar::createFromDate() and IntlGregorianCalendar::createFromDateTime().