title: Split time into equal intervals in Java
body: <p>Have a start time and end time that has to be split into equal interval.</p>
  
  <p>E.g.</p>
  
  <p><strong>Start Time:</strong> 10AM,
  <strong>End Time:</strong> 14PM,
  <strong>Split Time:</strong> 30 minutes</p>
  
  <p>The output has to be something like this - </p>
  
  <p>::::<strong>Output</strong> :::</p>
  
  <p>[{time:"10:00"},{time:"10:30"},{time:"11:00"},{time:"11:30"},{time:"12:00"},{time:"12:30"},{time:"13:00"},{time:"13:30"},{time:"14:00"}]</p>
  
  <p>Thanks everyone in advance.</p>