File: README

package info (click to toggle)
libdate-leapyear-perl 1.72-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 104 kB
  • sloc: perl: 15; makefile: 2
file content (21 lines) | stat: -rw-r--r-- 403 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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)