impl: local day plan
This commit is contained in:
@@ -17,26 +17,29 @@ import appointmentplanner.api.TimeSlot;
|
||||
|
||||
public class LocalDayPlanImpl implements LocalDayPlan {
|
||||
|
||||
public LocalDayPlanImpl(LocalDay day, Instant startOfDay, Instant endOfDay) {
|
||||
throw new UnsupportedOperationException("Unimplemented constructor 'LocalDayPlanImpl'");
|
||||
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() {
|
||||
// TODO Auto-generated method stub
|
||||
throw new UnsupportedOperationException("Unimplemented method 'day'");
|
||||
return day;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Instant startOfDay() {
|
||||
// TODO Auto-generated method stub
|
||||
throw new UnsupportedOperationException("Unimplemented method 'startOfDay'");
|
||||
return start;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Instant endOfDay() {
|
||||
// TODO Auto-generated method stub
|
||||
throw new UnsupportedOperationException("Unimplemented method 'endOfDay'");
|
||||
return end;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user