isLeapYear property

bool isLeapYear

Returns a boolean value indicating whether the Jiffy instance provided falls on a leap year.

Implementation

bool get isLeapYear => Query.isLeapYear(dateTime.year);