Three new functional methods (cont'd)

The third method in Listing 4 returns a value.

In this case, the returned value is the day of the week.

These three methods define behavior related to the functional properties of the class.

The class is designed to represent a calendar date, and you want it to behave like a date.