Date::Leapyear(3pm)

Date::Leapyear3pm

Is a particular year a leap year?

Usage

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

Overview

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.

Releases

11 releases since Debian 3.1 (Sarge); the text changed 3 times.

  1. 3.1–5.0
  2. 6.0–9
  3. 10–11
  4. 12–13

Author

Rich Bowen ([email protected])

From libdate-leapyear-perl 1.72-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.