logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Author

       Rich Bowen (rbowen@rcbowen.com)

perl v5.34.0                                       2022-06-13                                Date::Leapyear(3pm)

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.

Name

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

Synopsis

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

See Also