LeapYear

  • LeapYear()

Validates if a year is leap.

v::leapYear()->validate('1988'); // true

This validator accepts DateTime instances as well.

Categorization

  • Date and Time

Changelog

Version Description
0.3.9 Created

See also: