title: Convert String (timestamp) to integer
body: <p>I have to convert a String "1392298553937999872" into an int. The string is a timestamp. Normally this should be possible to convert it into a int by using:</p>
  
  <pre><code>Integer i = Integer.valueOf(1392298553937999872);
  </code></pre>
  
  <p>But I receive the following exception:</p>
  
  <blockquote>
    <p>java.lang.NumberFormatException: For input string:
    "1392298553937999872"</p>
  </blockquote>
  
  <p>If I use double it works, but the number is wrong. So how can I convert a timestamp into an int?</p>