public MeetingTime(int startDay, int startHour, int startMinute,
			int endDay, int endHour, int endMinute) {
		super(startDay, startHour, startMinute);
		endTime = new Time(endDay, endHour, endMinute);

		if (getTimeOfWeek(this) >= getTimeOfWeek(endTime)) {
			throw new IllegalArgumentException("Start time must be before end time.");
		}
	}