STEP 1
Create a new project which consists of three classes; an Event class, the Time class and a Date class.
The Event class should have data members that are objects of the Time and Date class.
STEP 2
Extend the code for the Event and Time classes to include all necessary function and constructor implementation code. Also, design a Date class which has three data members to represent the year, month and the day.
Date class member functions should be able to:
• set the date
• return the date
• print the date
• add a default constructor and a constructor with parameters
STEP 3
Construct the main method so that it can test the member functions of each of the classes by creating an Event object and then performing the necessary operations to test all possible behavior.
