title: Parsing a timezoned Date string java
body: <p>i m trying to parse a date in a json response in my android project .
  the json is as follows :</p>
  
  <pre><code>{
      //some fields ..
      "date": "2019-12-29T17:01:58.000Z",
  }
  </code></pre>
  
  <p>here is what i tried so far : </p>
  
  <pre><code> SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss'Z'");
   sdf.setTimeZone(TimeZone.getTimeZone("GMT"));
   Date date = sdf.parse(jsonObject.getString("date"));
  </code></pre>
  
  <p>but i m getting java.text.ParseException: Unparseable date: "2019-12-29T17:01:58.000Z" exception ..
  Any help please</p>