package appointmentplanner; import java.time.Duration; import java.time.Instant; import java.time.LocalTime; import java.util.List; import java.util.Optional; import java.util.function.Predicate; import appointmentplanner.api.Appointment; import appointmentplanner.api.AppointmentData; import appointmentplanner.api.AppointmentRequest; import appointmentplanner.api.LocalDay; import appointmentplanner.api.LocalDayPlan; import appointmentplanner.api.TimePreference; import appointmentplanner.api.TimeSlot; public class LocalDayPlanImpl implements LocalDayPlan { public LocalDayPlanImpl(LocalDay day, Instant start, Instant end) { this.day = day; this.start = start; this.end = end; } private LocalDay day; private Instant start; private Instant end; @Override public LocalDay day() { return day; } @Override public Instant startOfDay() { return start; } @Override public Instant endOfDay() { return end; } @Override public Optional addAppointment(AppointmentData appointmentData, LocalTime start, TimePreference fallback) { // TODO Auto-generated method stub throw new UnsupportedOperationException("Unimplemented method 'addAppointment'"); } @Override public Optional addAppointment(AppointmentData appointmentData, LocalTime startTime) { // TODO Auto-generated method stub throw new UnsupportedOperationException("Unimplemented method 'addAppointment'"); } @Override public Optional addAppointment(AppointmentData appointmentData, TimePreference preference) { // TODO Auto-generated method stub throw new UnsupportedOperationException("Unimplemented method 'addAppointment'"); } @Override public AppointmentRequest removeAppointment(Appointment appointment) { // TODO Auto-generated method stub throw new UnsupportedOperationException("Unimplemented method 'removeAppointment'"); } @Override public List removeAppointments(Predicate filter) { // TODO Auto-generated method stub throw new UnsupportedOperationException("Unimplemented method 'removeAppointments'"); } @Override public List appointments() { // TODO Auto-generated method stub throw new UnsupportedOperationException("Unimplemented method 'appointments'"); } @Override public List findMatchingFreeSlotsOfDuration(Duration duration, List plans) { // TODO Auto-generated method stub throw new UnsupportedOperationException("Unimplemented method 'findMatchingFreeSlotsOfDuration'"); } @Override public List findGapsFitting(Duration duration) { // TODO Auto-generated method stub throw new UnsupportedOperationException("Unimplemented method 'findGapsFitting'"); } @Override public List findAppointments(Predicate filter) { // TODO Auto-generated method stub throw new UnsupportedOperationException("Unimplemented method 'findAppointments'"); } @Override public boolean contains(Appointment appointment) { // TODO Auto-generated method stub throw new UnsupportedOperationException("Unimplemented method 'contains'"); } @Override public int nrOfAppointments() { // TODO Auto-generated method stub throw new UnsupportedOperationException("Unimplemented method 'nrOfAppointments'"); } }