title: TimeDelta java?
body: <p>I am trying to convert code from Python to Java. I need to rewrite the <code>timedelta</code> function in Java. Here is the code in Python:</p>
  <pre class="lang-py prettyprint-override"><code>def timeDate(date):
      return (timedelta(seconds=date * 3600 % 86400))
  </code></pre>
  <p>Does anyone have any idea on how to make a function that acts the same?</p>