public Time(int day, int hour, int minute) {
		if (day < 0 || day > 6) {
			throw new IllegalArgumentException("Day must be between 0 and 6 inclusive.");
		}
		this.day = day;
		this.timeOfDay = (hour * 60) + minute;

		if (timeOfDay < 0 || timeOfDay > 1440) {
			throw new IllegalArgumentException("Time of day must compute to be between 0 and 1439 inclusive.");
		}
	}