1Date::Leapyear(3) User Contributed Perl Documentation Date::Leapyear(3)
23
4
NAME
6Date::Leapyear - Is a particular year a leap year?
7
SYNOPSIS
9use Date::Leapyear;
10if ( isleap(1945) ) {
11...
12}
13
DESCRIPTION
15Date::Leapyear exports one function - isleap - which returns 1 or 0 if
16a year is leap, or not, respectively.
17
isleap
19$true = isleap( 2004 );
2021
Returns 1 in a leap year, 0 otherwise.
22
AUTHOR
24Rich Bowen (rbowen@rcbowen.com)
2526
27
28
perl v5.32.1 2021-01-27 Date::Leapyear(3)