Added date isLeapYear method