public class DateTimeFormatter extends Object
Constructor and Description |
---|
DateTimeFormatter() |
public static Date parse(Label label, String dateTime, int lineNumber) throws LabelParserException
Date
. Throws error exceptions
with respect to a designated label, if there are parse errors.label
- the label in which the date/time string appearsdateTime
- the date/time string from the labellineNumber
- the line number within the label where the date/time string
appearsLabelParserException
- if there are any parse errorspublic static Date lenientParse(Label label, String dateTime, int lineNumber) throws LabelParserException
LabelParserException
Copyright © 2005–2015 Planetary Data System. All rights reserved.