inLeapYear

Determines if d_time t is a leap year.

A leap year is every 4 years except years ending in 00 that are not divsible by 400.

pure
bool
inLeapYear

Return Value

Type: bool

!=0 if it is a leap year.

References: Wikipedia

Meta