isLeapYear method
Checks if the current year is a leap year using DateTimeUtils.isLeapYear
Returns: bool: True if the year is a leap year, false otherwise.
Implementation
bool isLeapYear() => DateTimeUtils.isLeapYear(year: year);
Checks if the current year is a leap year using DateTimeUtils.isLeapYear
Returns: bool: True if the year is a leap year, false otherwise.
bool isLeapYear() => DateTimeUtils.isLeapYear(year: year);