IntlGregorianCalendar::isLeapYear

(PHP 5 >= 5.5.0, PHP 7)

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

说锟斤拷

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

Warning

锟斤拷锟斤拷锟斤拷锟斤拷未锟斤拷写锟侥碉拷锟斤拷锟斤拷锟叫诧拷锟斤拷锟叫憋拷

锟斤拷锟斤拷

year

锟斤拷锟斤拷值

Returns TRUE for leap years, FALSE otherwise and on failure.