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 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 © 2019. All rights reserved.