org.das2.qds.util.MultiFieldTimeParser
Parse the record by recombining the separated fields, then parsing
the combined string. This is to be used with AsciiParser.
2010/03/11: Indeterminate field length is used when one field is in a record.
2010/03/11: The last field, if just one digit type (%S), can contain fractional part.
parseField
parseField( String field, int columnIndex ) → double
Either the field is accumulated in a string, and the entire string is parsed for the last field.
Parameters
field - the contents of the field.
columnIndex - the index of the column in the table.
Returns:
0 or the value for the time unit if it's the last field.
search for examples
view on GitHub
view source
unpack
unpack( QDataSet rank2, Units u ) → QDataSet
Returns:
org.das2.qds.QDataSet
search for examples
view on GitHub
view source