Changed isDayNotInMonth() to isDayInMonth()