public Date convertDateTime(String isodate) throws ParseException {
  Date date=iso8601DateFormat.parse(isodate);
  return date;
}

public Date convertDateTime ( String isodate ) throws ParseException { Date date = iso8601DateFormat . parse ( isodate ) ; return date ; }
converts an iso 8601 datetime string into the equivalent java date object .
