title: Converting duration string into milliseconds in Java
body: <p>I apologize if this has already been discussed.</p>
  
  <p>I have a clip duration in a string:</p>
  
  <pre><code>00:10:17
  </code></pre>
  
  <p>I would like to convert that to value in milliseconds. (Basically 617000 for the above string)</p>
  
  <p>Is there some API that I could use to do this in one or two steps. 
  On basic way would be to split the string and then add the minutes, seconds and hours.</p>
  
  <p>But is there a shorter way to do this?</p>
  
  <p>Thanks.</p>