Skip to content

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
1.0.0 Created

See also: