public static int parseDayOfWeek(String strDay) {
		strDay = strDay.replaceAll(" ", "");
		if (strDay.equalsIgnoreCase("monday"))
			return Calendar.MONDAY;
		else if (strDay.equalsIgnoreCase("tuesday"))
			return Calendar.TUESDAY;
		else if (strDay.equalsIgnoreCase("wednesday"))
			return Calendar.WEDNESDAY;
		else if (strDay.equalsIgnoreCase("thursday"))
			return Calendar.THURSDAY;
		else if (strDay.equalsIgnoreCase("friday"))
			return Calendar.FRIDAY;
		else if (strDay.equalsIgnoreCase("saturday"))
			return Calendar.SATURDAY;
		else if (strDay.equalsIgnoreCase("sunday"))
			return Calendar.SUNDAY;
		else
			return 0;
	}