//[FUNCTION - SecMeetDays]
        //Seperates a list into one string used for meet days debug
        private string SecMeetDays(SingleSection sec)
        {
            string meetDays = "-";

            for (int i = 0; i < sec.getMeetDays().Count(); i++)
            {
                meetDays += sec.getMeetDays()[i] + "-";
            }
            return(meetDays);
        }
示例#2
0
        public SingleSection(SingleSection oldschedule, bool isOptimized)
        {
            this.term           = oldschedule.getTerm();
            this.ID             = oldschedule.getID();
            this.courseName     = oldschedule.getCourseName();
            this.meetDays       = oldschedule.getMeetDays();
            this.instructFirstN = oldschedule.getInstructFirstN();
            this.instructLastN  = oldschedule.getInstructLastN();
            this.seatingCap     = oldschedule.getSeatingCapacity();

            this.startTimes     = oldschedule.getStartTimes();
            this.stopTimes      = oldschedule.getStopTimes();
            this.formattedTimes = oldschedule.getFormatedTime();

            this.isOptimized = isOptimized;
        }