Return whether it is leap year.
static bool isLeapYear(DateTime dateTime) { return isLeapYearByYear(dateTime.year); }