Closed nour-d closed 4 years ago
What about today's date? Do we want to be able to create a pet that was born today? Right now I get an error if I try. My preference is that the date can be today or earlier since the the test case says it can't be created in the future.
DOB cannot be after today's date. Pets must have been born in the past. https://www.geeksforgeeks.org/compare-dates-in-java/