private Schedule Internal_GetSchedule(Grade grade, int section, int index)
        {
            SectionGroup sectionGroup = GetSectionGroup(grade, section);

            if (sectionGroup == null)
            {
                return(null);
            }
            else
            {
                return(sectionGroup.GetSchedule(index));
            }
        }
        private string[] Internal_GetScheduleItems(Grade grade, int section)
        {
            SectionGroup sectionGroup = GetSectionGroup(grade, section);

            if (sectionGroup == null)
            {
                return(null);
            }

            List <string> schedules = new List <string>();

            for (int i = 0; i < sectionGroup.scheduleCount; i++)
            {
                schedules.Add(sectionGroup.GetSchedule(i).name.Replace(" Schedule", ""));
            }

            return(schedules.ToArray());
        }