title: generate random LocalTime in a specific range
body: <p>I have two LocalTime objects:</p>
  
  <pre><code>LocalTime time1 = LocalTime.of(8, 0, 0);
  LocalTime time2 = LocalTime.of(15, 0, 0);
  </code></pre>
  
  <p>and I want to generate a random LocalTime object between these two objects.</p>
  
  <p>I already tried to do it with <code>rand.nexInt()</code></p>
  
  <pre><code>Random rand = new Random();
  
  int hours = rand.nextInt((time2.getHour() - time1.getHour()) + 1) + time1.getHour();
  int minutes =  rand.nextInt((time2.getMinute() - time1.getMinute()) + 1) + time1.getMinute();
  int seconds = rand.nextInt((time2.getSecond() - time1.getSecond()) + 1) + time1.getSecond(); 
  
  LocalTime random = LocalTime.of(hours,minutes,seconds);
  </code></pre>
  
  <p>but only full hours like <code>9:00:00</code> will be generated.</p>