public Time(int hour, int min) {
		if(hour < 0 || hour > 23 || min < 0 || min > 59) {
			if (hour == 24 && min == 0) {
				this.hour = hour;
				this.min = min;
			}
			else {
				throw new IllegalArgumentException();
			}
		}
		this.hour = hour;
		this.min = min;
	}