Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Date::Leapyear(3)     User Contributed Perl Documentation    Date::Leapyear(3)

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.

AUTHOR
       Rich Bowen (rbowen@rcbowen.com)

perl v5.24.1			  2009-04-02		     Date::Leapyear(3)

NAME | SYNOPSIS | DESCRIPTION | isleap | AUTHOR

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Date::Leapyear&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help