String to integer convertion
<p>For one of my project I have to convert String to integer.  How to convert <code>"16:45:20"</code> string to integer in java. I am using</p>

<pre><code>int time = Integer.parseInt(string)
</code></pre>

<p>It's giving me <code>NumberFormatException</code> error. How to solve this</p>

<p>Thanks</p>
