The IntlGregorianCalendar class
(PHP 5 >= 5.5.0, PHP 7)
简介
类摘要
IntlGregorianCalendar
extends
IntlCalendar
{
/* 继承的常量 */
/* 方法 */
/* 继承的方法 */
public static IntlCalendar::createInstance
([ mixed
$timeZone
= NULL
[, string $locale
= ""
]] ) : IntlCalendar
intlcal_get_available_locales
( void
) : array
public static IntlCalendar::getKeywordValuesForLocale
( string
$key
, string $locale
, bool $commonlyUsed
) : Iterator
intlcal_get_keyword_values_for_locale
( string
$key
, string $locale
, bool $commonlyUsed
) : Iterator
intlcal_get_now
( void
) : float
public IntlCalendar::set
( int
$year
, int $month
[, int $dayOfMonth
= NULL
[, int $hour
= NULL
[, int $minute
= NULL
[, int $second
= NULL
]]]] ) : bool
intlcal_set
( IntlCalendar
}$cal
, int $year
, int $month
[, int $dayOfMonth
= NULL
[, int $hour
= NULL
[, int $minute
= NULL
[, int $second
= NULL
]]]] ) : boolTable 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