Question: c + + member function It sets the Date's year to 1 9 0 0 if the year parameter is less than 1 9 0

c++ member function It sets the Date's year to 1900 if the year parameter is less than 1900.
It sets the Date's month to 1 if the month parameter is outside the range of 1 to 12.
It sets the Date's day to 1 if the day parameter is outside the range of days for the specific month
Check if date is within day range of month. February will only have 28 days, other months have either 30 or 31 days.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!