public boolean overlaps(CourseTime c) {
		int[] cdays = c.getDays();
		for(int i : cdays) {
			for(int j : this.days) {
				if(i == j) {
					if(c.getStartTime() >= startTime && c.getStartTime() <= endTime) return true;
					else if(c.getEndTime() <= endTime && c.getEndTime() >= startTime) return true;
					else return false;
				}
			}
		}
		return false;
	}