Appointment
date:Date
start:Time
end:Time
desc:String
type:int
REGULAR:int
TODO:int
ALLDAY:int
Scenario
Calendar
add(Appointment):void
*
Move Fields
appointments
Now the user would like to make the appointment-type-specific behavior explicit in the class hierarchy.
The user prepares for this by moving the type code fields to the Appointment class.
[ include something about moving methods in Calendar here, or come up with an example. ]