1Date::Leapyear(3)     User Contributed Perl Documentation    Date::Leapyear(3)
2
3
4

NAME

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

SYNOPSIS

9         use Date::Leapyear;
10         if ( isleap(1945) ) {
11           ...
12         }
13

DESCRIPTION

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

isleap

19           $true = isleap( 2004 );
20
21       Returns 1 in a leap year, 0 otherwise.
22

AUTHOR

24       Rich Bowen (rbowen@rcbowen.com)
25
26
27
28perl v5.36.0                      2023-01-20                 Date::Leapyear(3)
Impressum