I am getting time from server it's like this
12:00PM-3:00PM,7:00PM-10:30PM
This time in 12 Hours format. I applied some operation on this string and I separated all times. Now I have four strings like following
(aftr1=> 12:00PM aftr2=> 3:00PM) (evng1=> 7:00PM evng2=> 10:30PM)
Now I want to convert them in 24 hours time, because I want to check the time which was entered by user it is between afternoon time 12:00pm to 3:00pm or in evening 7:00pm to 10.30pm.
Or any other idea how to complete this task in j2me?