NAME

Date::Leapyear - Is a particular year a leap year?

SYNOPSIS

use Date::Leapyear;
if ( isleap(1945) ) {
  ...
}

DESCRIPTION

Date::Leapyear exports one function - isleap - which returns 1 or 0 if a year is leap, or not, respectively.

isleap

$true = isleap( 2004 );

Returns 1 in a leap year, 0 otherwise.

HISTORY

$Log: Leapyear.pm,v $
Revision 1.4  2001/08/02 00:51:42  rbowen
There's no reason to require 5.6

Revision 1.3  2001/07/24 15:59:29  rbowen
Changed the leapyear algorithm to be a little more readable. Moved
tests to Test::More.

Revision 1.2  2001/06/04 03:48:34  rbowen
The readme file was apparently copied over from another project. Oops.

Revision 1.1.1.1  2001/06/02 11:51:13  rbowen
date-leapyear

AUTHOR

Rich Bowen (rbowen@rcbowen.com)