자답
String sDuration = "00:00:6.20";
SimpleDateFormat dateFormat = new SimpleDateFormat("HH:mm:ss.SS");
Date end = null;
try {
end = dateFormat.parse(sDuration);
} catch (ParseException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
Date start = null;
try {
start = dateFormat.parse("00:00:00.00");
} catch (ParseException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
System.out.println("Duration: " + (end.getTime() - start.getTime()));