code: private Date getDate(final String isoFormat) {
  		try {
  			final DateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
  			return dateFormat.parse(isoFormat);
  		} catch (ParseException e) {
  			// TODO Auto-generated catch block
  			e.printStackTrace();
  			return null;
  		}
  	}
docs: Parse an ISO 8601 (YYYY-MM-DD) String to Date
  
  @param isoFormat
  String to parse.
  @return Created date instance.
  @throws ParseException
  Thrown if parsing fails.