public Date convertStringToDate(final String dateInString) throws ParseException {
  final SimpleDateFormat sdf=new SimpleDateFormat("dd/MM/yyyy");
  final Date stringToDate=sdf.parse(dateInString);
  return stringToDate;
}

public Date convertStringToDate ( final String dateInString ) throws ParseException { final SimpleDateFormat sdf = new SimpleDateFormat ( "dd/MM/yyyy" ) ; final Date stringToDate = sdf . parse ( dateInString ) ; return stringToDate ; }
convert string to date
