title: GSON DateTypeException when Converting Date in typed in Milliseconds
body: <p>I have a Contact class with a <code>created</code> Date property.  I'm attempting to do the following:</p>
  
  <pre><code>    Contact received = gson.fromJson(contactJson, Contact.class);
  </code></pre>
  
  <p>However I get the exception:</p>
  
  <pre><code> com.google.gson.JsonSyntaxException: 1433444958703
  at com.google.gson.internal.bind.DateTypeAdapter.deserializeToDate(DateTypeAdapter.java:81)
  at com.google.gson.internal.bind.DateTypeAdapter.read(DateTypeAdapter.java:66)
  </code></pre>
  
  <p>There is a similar solution to this posted already:
  <a href="https://stackoverflow.com/questions/5671373/unparseable-date-1302828677828-trying-to-deserialize-with-gson-a-millisecond">&quot;Unparseable date: 1302828677828&quot; trying to deserialize with Gson a millisecond-format date received from server</a></p>
  
  <p>However it does not work for me (Will not compile).</p>
  
  <p>Gson version 2.3.1</p>
  
  <p>Thoughts?</p>
  
  <p>TIA,
  - Ole</p>