title: Jackson date deserialization wrong
body: <p>I've developing a Rest API and using Jackson library for Json processing.</p>
  
  <p>In my POJO I've defined few java.util.Date fields and I'm parsing these dates using ObjectMapper.</p>
  
  <p>Problem is that all the dates are coming as wrong.</p>
  
  <p>Here is example Json data received from client:</p>
  
  <pre><code>{
   "Date1":"20161208 121500",
   "Date2":"20161205 131515",
   "Date3":"19830201 122718"
  }
  </code></pre>
  
  <p>Here is code snippet:</p>
  
  <pre><code>private final SimpleDateFormat df =  new SimpleDateFormat("yyyyMMDD hhmmss");
  
  ObjectMapper mapper = new ObjectMapper();
  mapper.setTimeZone(TimeZone.getDefault());
  mapper.setDateFormat(df);
  MetaData mData = null;
  
  try {      
    mData = mapper.readValue(metaData, MetaData.class);
  }
  catch(JsonProcessingException jpe) {
    return Response.status(Status.BAD_REQUEST).build();
  }
  </code></pre>
  
  <p>When Date object is created, its off by few months. When I print the dates in log, I get the following:</p>
  
  <pre><code>Date1: 01/08/16 00:15:00 (Original date is 12/08/2016)
  Date2: 01/05/16 13:15:15 (Original date is 12/05/2016)
  Date3: 01/01/83 00:27:18 (Original date is 02/01/1981)
  </code></pre>
  
  <p>Can anyone see what I'm doing wrong :(</p>
  
  <p>Thanks a lot!</p>