title: How to map timestamp to date in Object mapper
body: <p>Right now I am mapping my timestamp to date using object mapper, but this is turning my date object's date to something like this, if timestamp is 1359657000, then it's date should be 01/31/2013, but it is showing me date as 01/31/1970, so I didn't get it what is the issue with this approach.</p>
  
  <pre><code>public class Abcd{ 
     private Date year
   }
  </code></pre>
  
  <p>And now I get this json </p>
  
  <pre><code>{
  "data":
  {
  "fromDate": 1335810600"
  }
  }
  </code></pre>
  
  <p>and when I map it like this from Object Mapper</p>
  
  <pre><code>ObjectMapper mapper =new Mapper();
  mapper.readValue(data,Abcd.class);
  </code></pre>
  
  <p>now the value of year is coming as 31st Dec 1970, although it should be coming 31st Dec 2013</p>