I have a range of times with a start and an end, both of which are java.sql.Time
objects`. I want to populate a JComboBox with a list of times between them, in intervals of 15 minutes. For instance, if the start is 11:00 and the end is 12:00, I want the options in the JComboBox to be 11:00, 11:15, 11:30, 11:45 and 12:00.
Whats the most efficient way to do this?