You have chosen to sponsor your bid up to a maximum amount of .
Create a project which consists of three classes; an Event class, the Time class and a Date class.
1) The Event class should have data members that are objects of the Time and Date class.
2) Extend the code for the Event and Time classes given in this description 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
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.
This must be done in C++ and only one .cpp file.
New Year's Eve 00:01 12/31/1900
New Year's Day 00:01 01/01/1901
// Time Class
//this is a simple time class to demonstrate
//the use of one object within another class (composition)
void setTime(int, int);
void getTime(int&, int&);
void printTime() const;
Time(int, int); //constructor with parameters
Time(); //default contructor
void setEventData(string eventName, int hour, int minute, int month, int day, int year);
void printEventData() const;
Event (string eventName = "", int hour = 0, int minute = 0, int month = 1, int day = 1, int year = 1900);
Time eventTime; // the event object is composed of a time object
dataType eventDay; // and a date object