Produced by IDL 7.1.1
User Documentation

./toolbox
isleapyear.pro

Last modification date:
Wed Sep 28 13:27:11 2016

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$

Parameters
year
in, required
long integer
4 digit year


Produced by IDLdoc 1.6 on Wed Sep 28 13:27:39 2016