Produced by IDL 6.1
User Documentation

./toolbox
isleapyear.pro

Last modification date:
Thu Jun 2 23:56:08 2005

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:

Returns
istat: int 0 if not a leap year, 1 if a leap year.
Version
$Id: isleapyear.pro,v 1.1 2004/11/30 15:42:58 bgarwood Exp $

Parameters
year
in, required
long integer
4 digit year


Produced by IDLdoc 1.6 on Thu Jun 2 23:56:57 2005