title: Convert int to time Java
body: <p>I have an <code>int</code> counter that starts at 600 and in a <code>Runnable</code> and is increased by 1.</p>
  
  <p>600 represents 6 am, and 2400 represents midnight.</p>
  
  <p>This <code>int</code> is compared to a <code>int</code> received from an API in the same format.</p>
  
  <p>I need to compare them both; however, the problem is my <code>int</code> has 100 mins in an hour at the moment, so as time goes on it gets more and more out of time.</p>
  
  <p>Is there a way to convert the <code>int</code> counter to a time format? (The Java format of 18000000 = 6am doesn't work)</p>
  
  <p>Cheers Phil</p>