private static Date getStartDate(HashMap<String, Object> map) {
		Long startDay = (Long) map.get("startDay");
		Long startMon = (Long) map.get("startMonth");
		Long startYear = (Long) map.get("startYear");

		Calendar cal = Calendar.getInstance();
		cal.set(Calendar.HOUR_OF_DAY, 0);
		cal.set(Calendar.MINUTE, 0);
		cal.set(Calendar.SECOND, 0);
		cal.set(Calendar.MILLISECOND, 0);
		if (startDay == null)
			startDay = 1L;
		cal.set(Calendar.DAY_OF_MONTH, startDay.intValue());
		if (startMon == null)
			startMon = 1L;
		cal.set(Calendar.MONTH, startMon.intValue() - 1);
		if (startYear != null) {
			// No year => no date
			cal.set(Calendar.YEAR, startYear.intValue());
			return cal.getTime();
		}
		return null;
	}