Date.isLeapYear

Returns TRUE if the year is a leap year.[4]

class Date
static
int
isLeapYear

Parameters

year GDateYear

year to check

Return Value

Type: int

TRUE if the year is a leap year

Meta