title: Convert time field H:M into integer field (minutes) in JAVA
body: <p>The JTable includes the time field, e.g. "01:50". I need to read this value into the integer variable. For this I´d like to convert time into minutes. For instance "01:50" should be converted into 110.</p>
  
  <p>To solve the task, first I saved the time value as a String. </p>
  
  <pre><code>String minutS = tableModel.getValueAt(1,1).toString();
  </code></pre>
  
  <p>Secondly, I´m going to process this String and extract the integers before and after the symbol <code>:</code>. Finally I will calculate the total minutes.
  Is this solution efficient? Perhaps, it´s possible to substitute it with Calendar or sth like this?</p>