title: SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ") parse in java gives wrong date?
body: <p>I used this <code>SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ")</code>.So when I pass date <code>2016-01-01T10:30:00-0800</code> more than or equal to 10:30:00-0800 time then it will parse(date) response which is next day date 2016-01-02T00:00:00+0530 which is not expected.It changes date by one day.If I give 2016-01-01T10:20:00-0800 then give exact date.So if time should be less t10:30:00-0800 then get expected result otherwise next day date.</p>
  
  <p>Full code:</p>
  
  <pre><code>SimpleDateFormat dt = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ");
  public Date deserialize(JsonParser jsonparser, DeserializationContext arg1)   {
    String date = jsonparser.getText();
    dt.parse(date);
  }
  </code></pre>