IntlGregorianCalendar::isLeapYear

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

IntlGregorianCalendar::isLeapYearDetermine if the given year is a leap year

說明

public IntlGregorianCalendar::isLeapYear(int $year): bool

警告

本函數還未編寫文檔,僅有參數列表。

參數

year

返回值

Returns true for leap years, false otherwise and on failure.