| Constructor and Description |
|---|
DateTime(Date date) |
DateTime(Label label,
String value,
int lineNumber) |
DateTime(Label label,
String value,
int lineNumber,
boolean lenient) |
| Modifier and Type | Method and Description |
|---|---|
Date |
getDate() |
boolean |
isSupportedPDSType(Constants.DictionaryType type) |
String |
normalize() |
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 foundLabelParserExceptionpublic 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 dateLabelParserExceptionpublic DateTime(Date date)
public Date getDate()
public String normalize()
public boolean isSupportedPDSType(Constants.DictionaryType type)
isSupportedPDSType in class ScalarCopyright © 2019. All rights reserved.