How to parse time durations from a list of Strings with 2 different Format and add them?
<p>I Have a list of Strings with two different format e.g.</p>

<p>08:50 09:50</p>

<p>10:30</p>

<p>06:40 07:30</p>

<p>03:50 05:50</p>

<p>03:32</p>

<p>i need to iterate on them and subtract the first to be 01:00 &amp; the third to be 00:50 and the fourth to be 02:00 and calculate to get the total for all of them to be 17:52 
N.B.
The list consist of thousands of records not these records only i need a generic solution please </p>
