public static void validateTime(int hours, int minutes, int seconds) {
		if (hours < 0 || hours >= 30 || minutes < 0
				|| minutes >= MINUTES_PER_HOURS || seconds < 0
				|| seconds >= SECONDS_PER_MINUTES) {
			logger.warn("wrong number of hours, minutes or seconds was provided");
			throw new IllegalArgumentException(
					"invalid number for the hours, minutes or seconds");
		}
	}