+1 (315) 557-6473 

Creating a Calendar Scheduling application in Java assignment help

The assignment wasto implement two different versions of the Java Scheduling application. One version must be quick and dirty, and the other one must haveas many advantages as possible (extendability, readability, OOP-principles, etc). The application created by our Java assignment help solver allows the user to plan meetings in a calendar. The first version of the app is implemented with the class SimpleCounter. The second version is implemented by the remaining classes.
Table Of Contents
  • Scheduling Applications in Object-Oriented Programming

Scheduling Applications in Object-Oriented Programming

AdvancedCounter.java import java.util.*; public class AdvancedCounter implements MeetingOccurrenceCounter { /** * A selected day of the week for meeting. Default day is undefined */ private int dayOfWeek = 0; /** * List of vacation dates for meeting participants */ private List vacationDays = new ArrayList<>(); /** * List of holiday days for meeting participants */ private List holidayDays = new ArrayList<>(); /** * A setter method for a day of the week, when meeting occurs * @param dayOfWeek An integer (java.util.Calendar constant), representing day of the week */ @Override public void setDayOfTheWeek(int dayOfWeek) { this.dayOfWeek = dayOfWeek; } /** * A setter method for set vacations of meeting participants. Adds all vacation days to vacationDays list * @param vacations List of Vacation instances, representing meeting participants vacations */ @Override public void setVacations(List vacations) { vacationDays.clear(); for (Vacation v : vacations) { vacationDays.addAll(v.getDaysOff()); } } /** * A setter method for set holidays of meeting participants. Adds all holiday days to holidayDays list * @param holidays List of Holiday instances, representing meeting participants holidays */ @Override public void setHolidays(List