src/main/java/seedu/planner/model/ModelManager.java
private void addDayMapping(Day day) {
        for (ActivityWithTime act : day.getListOfActivityWithTime()) {
            addDayMapping(act.getActivity(), day);
        }
    }
/**
     * Creates a mapping between an {@code Activity} and the {@code Day} containing it.
     */
Creates a mapping between an  Activity and the  Day containing it.
Creates a mapping between an Activity and the Day containing it .
private void addDayMapping(Day day) {
        for (ActivityWithTime act : day.getListOfActivityWithTime()) {
            addDayMapping(act.getActivity(), day);
        }
    }
private void addDayMapping ( Day day ) { for ( ActivityWithTime act : day . getListOfActivityWithTime ( ) ) { addDayMapping ( act . getActivity ( ) , day ) ; } }
Creates a mapping between an {@code Activity} and the {@code Day} containing it.
Creates a mapping between an { @code Activity } and the { @code Day } containing it .