public class MultiFieldTimeParser extends java.lang.Object implements AsciiParser.FieldParser
| Constructor and Description |
|---|
MultiFieldTimeParser(int firstColumn,
java.lang.String[] timeFormats,
TimeParser parser,
Units units) |
| Modifier and Type | Method and Description |
|---|---|
double |
parseField(java.lang.String field,
int columnIndex)
Either the field is accumulated in a string, and the entire string is parsed for the last field.
|
public MultiFieldTimeParser(int firstColumn,
java.lang.String[] timeFormats,
TimeParser parser,
Units units)
public double parseField(java.lang.String field,
int columnIndex)
throws java.text.ParseException
parseField in interface AsciiParser.FieldParserfield - the contents of the field.columnIndex - the index of the column in the table.java.text.ParseException