Produced by IDL 7.1.1
User Documentation

./toolbox
isleapyear.pro

Last modification date:
Wed Feb 8 12:37:25 2012

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). The input can be a scalar or an array. 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.2 2009/12/01 14:36:25 bgarwood Exp $

Parameters
year
in, required
long integer
4 digit year


Produced by IDLdoc 1.6 on Wed Feb 8 12:38:35 2012