Writing the filter method
I have created a class 'Organizer' that has filter methods that are supposed to :
a) display list of events between any two days.
b) display wedding anniversaries and birth day events.
c) Display events for any month.
The 'Organizer' class collects information like, date, name, hphone, email, type of relation and event (stack/Q) type through filing methods.
There is an ADT class 'Event' that has information: event type and date.
There is an ADT class 'Dear' that has information: name, hphone, email, type of relation and event(stack/Q) type.
How do I display only list of events between two dates(a)?
And for (b), is this correct :
For (c) it is just the matter of displaying all the information gathered correct?
if((b[i] == wedding anniversaries)|| (b[i] == birthdays))