Android InputType time to long
<p>In my layout I have an EditText with InputType of time.</p>

<pre><code>android:inputType="time"
</code></pre>

<p>How can I convert this to long?</p>

<p>I have a function that will convert from long to string using SimpleDateFormat, but I now need to do the opposite.</p>
