Hi,
I've got a JSP page which allows users to enter time periods throughout a 24 hour period, they are stored as Strings from the request such as :
- 13:00
- 14:00
- 15:00
Whilst iterating through these values, I need to perform a check to make sure that the time in question is after the previous one, such as the above.
I'm trying to avoid the following scenario
- 13:00
- 15:00
- 14:00
Any suggestions on how I should deal with this?