public boolean addEvent(int year, int month, int day, int hour, int minute, int duration, String what);
This will return true if the event was added and false otherwise. Only valid events will be added to the list.
i kind of understand what im suppose to do but i just cant figure out the coding. calenderEvent is being declared in another class. i just need help with these directions turning them into coding
public boolean addEvent(int year, int month, int day,
int hour, int minute, int duration, String what){
if(CalenderEvent != addEvent)
return true;
else if (CalenderEvent != addEvent)
return false;