The IntlGregorianCalendar class
(PHP 5 >= 5.5.0, PHP 7, PHP 8)
Introduction
Class synopsis
int
$timeZoneOrYear
,int
$localeOrMonth
,int
$dayOfMonth
,int
$hour
,int
$minute
,int
$second
= ?)
$timezone
= null
, ?string $locale
= null
): ?IntlCalendar$datetime
, ?string $locale
= null
): ?IntlCalendar$keyword
, string $locale
, bool $onlyCommon
): IntlIterator|falseint
$year
,int
$month
,int
$dayOfMonth
= NULL,int
$hour
= NULL,int
$minute
= NULL,int
$second
= NULL): bool
Table of Contents
- IntlGregorianCalendar::__construct — Create the Gregorian Calendar class
- IntlGregorianCalendar::getGregorianChange — Get the Gregorian Calendar change date
- IntlGregorianCalendar::isLeapYear — Determine if the given year is a leap year
- IntlGregorianCalendar::setGregorianChange — Set the Gregorian Calendar the change date