|
Developer Documentation |
|||||||||
| prev file | next file | ||||||||||
| SUMMARY: fields | routine DETAILS: routine | ||||||||||
./toolbox isleapyear.pro
| isleapyear |
function isleapyear(year) |
Determine whether a year is a leap year in the gregorian calendar. Leap years are those years divisible by 4 and (!(divisible by 100) or (divisible by 400)). eg. (1900 is not a leap year, 2000 is). This code came from Phil Perillat at Arecibo. Local changes:
| Parameters | |
|
year |
4 digit year |