title: Changing Match's Status Depending On Time (Fail When it's over the mid night 00:00 )
body: <p>I've an app that contains items, each item contain a time and a status .
  the status is based on time, it takes the items form a Json, the time is a match time, and the status is the match's status (Soccer). Now let me explain it.</p>
  
  <p>Example for item : </p>
  
  <blockquote>
    <p>Local (Device) Date : 22:00, 2016/4/28.</p>
    
    <p>Match Date : 23:00, 2016/4/28 .</p>
    
    <p>Match Status : Didn't Start Yet.</p>
  </blockquote>
  
  <p>Now, When the local time is "23:00", the status will be " First Half ", when it's "23:45", the status will be "Halftime Break", When it's over "00:00", the status will revert back to "Didn't Start Yet" .</p>
  
  <p>My logic for this is as the following : </p>
  
  <ol>
  <li>Check If it's the match date (day/month/year).</li>
  <li>True? check the time, (I'm conveting time to Millis, in long type ), based on comparing i'm setting the status .</li>
  </ol>
  
  <p>But, the problem when it's over 00:00 it will revert back to the original status ( didn't start yet ), because the condifion "if it's the day" will be false .</p>
  
  <p>Any ideas for this ?</p>