I am making an airplane reservation system on java. i got a sample database from online. only problem i have is the way the time is inputted.

[![enter image description here](https://i.stack.imgur.com/Hode3.png)](https://i.stack.imgur.com/Hode3.png)

and some times are 917 , or 22 , or 2. there is no 0 so i cannot just try and put a semicolon after 2 spaces.

Any one know if their is a way to do this, or some work around.