code: private static Date getDate(int day, int month, int year) {
  		Calendar cal = Calendar.getInstance();
  		cal.set(Calendar.YEAR, year);
  		cal.set(Calendar.MONTH, month);
  		cal.set(Calendar.DATE, day);
  		return cal.getTime();
  	}
docs: Get the date for the given values.
  
  @param day
  The day.
  @param month
  The month.
  @param year
  The year.
  @return The date represented by the given values.