title: Parsing a string to a datetime does not return the correct time
body: <p>In Android...I am expecting 3:12 pm as time out put of the following code but I get 4:12 pm. Whats the correct way to parse this date time format.</p>
  
  <pre><code>String dt = "2018-09-02T19:12:00-0400";
  SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ");
  
  try {
      Date date = dateFormat.parse(dt);
      System.out.println(date);
  } catch (ParseException e) {
      e.printStackTrace();
  }
  </code></pre>