For this python assignment, you are going to pretend that you are writing a calendar application.In order to do this, you are going to create two classes:
- A Calendar class
- An Event Class
TheCalendar class will be fairly simple. It must store the name of the calendar, calendar owner, and a list of Events as properties. The Event class will store event name, date, time, and event type information.
The Event class must include validation to ensure the following:
- That the event name is letters only
- That date information only contains numbers and the - symbol
- That time informationonly contains numbers and the : symbol
- That the event type is only one of the following: "single occurrence", "recurring", or "fixed number of meetings"
The Calendar class must contain two methods, addEvent and removeEvent, that add/remove events on the list as appropriate.
The rest of your implementation details are up to your discretion, applying the things you have learned about Python so far. Please note, however, that youmustorganize your classes into modules and produce documentation (using Pydoc) for your work using the principles discussed earlier in the class. Any applicable exception handling in your code must be done according to the principles previously discussed.
You must also create a comprehensive set of test cases for your application applying the principles discussed this week. As well, your test cases must be stored according to the methods discussed this week in the lecture.
Finally, be sure to create a main program to put your class code to good use.