title: Addition of two times in JAVA
body: <p>I want to make the addition of two times (java.sql.Time) without using any other library (java.date, LocalTime..), I get always the time under 1 hour.</p>
  <pre><code>java.sql.Time
  
  Time heureDebut=&quot;09:00:00&quot;;
  Time heureFin=&quot;00:15:00&quot;;
  long heureDebuts = heureDebut.getTime()+heureFin.getTime();
  Time tt = new Time(heureDebuts);
  //I get 08:15:00 as a result
  </code></pre>