Mutator Methods
• public void setMonth(int m)- set the month to the input parameter. For now, assume the value for the month will not create an invalid date.
• public void setDay(int d)- set the day to the input parameter. For now, assume the value for the day will not create an invalid date.
• public void setYear(int y)- set the year to the input parameter. For now, assume the value for the year will not create an invalid date.
• public void setDate (int m, int d, int y) – set the instance variables to the values of the input parameters. For now, assume the values of the input parameters will not create an invalid date.