gec.gctparser
Class ParseTime

java.lang.Object
  extended by gec.gctparser.ParseTime

public class ParseTime
extends java.lang.Object

Parse a time string.

Author:
bburch Time strings are of the form T#99h99m99s99ms. However, fields are optional.

Constructor Summary
ParseTime(java.lang.String timeString)
          Parse the time string.
 
Method Summary
 int getTimeInMilliseconds()
          Return the parsed time, in ms.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParseTime

public ParseTime(java.lang.String timeString)
Parse the time string.

Parameters:
timeString -
Method Detail

getTimeInMilliseconds

public int getTimeInMilliseconds()
Return the parsed time, in ms.

Returns:
int - milliseconds