Constructor and Description |
---|
DateTime(Date date) |
DateTime(Label label,
String value,
int lineNumber) |
DateTime(Label label,
String value,
int lineNumber,
boolean lenient) |
public DateTime(Label label, String value, int lineNumber) throws LabelParserException
value
- represented as a string which is in a PDS compatible formatlineNumber
- in which this value was foundLabelParserException
public DateTime(Label label, String value, int lineNumber, boolean lenient) throws LabelParserException
value
- represented as a string which is in a PDS compatible formatlineNumber
- in which this value was foundlenient
- a flag to indicate how to parse the dateLabelParserException
public DateTime(Date date)
public Date getDate()
public String normalize()
public boolean isSupportedPDSType(Constants.DictionaryType type)
isSupportedPDSType
in class Scalar
Copyright © 2005–2015 Planetary Data System. All rights reserved.