public static long timeTakenStringToInt(String timeTakenString){
  RaptorStringTokenizer tok=new RaptorStringTokenizer(timeTakenString,":().",true);
  int minutes=Integer.parseInt(tok.nextToken());
  int seconds=Integer.parseInt(tok.nextToken());
  int millis=Integer.parseInt(tok.nextToken());
  return (minutes * 60 + seconds) * 1000 + millis;
}

public static long timeTakenStringToInt ( String timeTakenString ) { RaptorStringTokenizer tok = new RaptorStringTokenizer ( timeTakenString , ":()." , true ) ; int minutes = Integer . parseInt ( tok . nextToken ( ) ) ; int seconds = Integer . parseInt ( tok . nextToken ( ) ) ; int millis = Integer . parseInt ( tok . nextToken ( ) ) ; return ( minutes * 60 + seconds ) * 1000 + millis ; }
parses a string in ( 0 : 00 . 000 ) format into a long .
