public class DateTimeFieldImpl extends AbstractField implements DateTimeField
Date or Resent-Date.| Modifier and Type | Field and Description |
|---|---|
private java.util.Date |
date |
private boolean |
parsed |
private ParseException |
parseException |
static FieldParser<DateTimeField> |
PARSER |
monitor, rawField| Constructor and Description |
|---|
DateTimeFieldImpl(Field rawField,
DecodeMonitor monitor) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Date |
getDate() |
ParseException |
getParseException()
Returns the exception that was thrown by the field parser while parsing
the field value.
|
private void |
parse() |
getBody, getName, getRaw, getRawField, isValidField, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisValidFieldprivate boolean parsed
private java.util.Date date
private ParseException parseException
public static final FieldParser<DateTimeField> PARSER
DateTimeFieldImpl(Field rawField, DecodeMonitor monitor)
public java.util.Date getDate()
getDate in interface DateTimeFieldDateTimeField.getDate()public ParseException getParseException()
ParsedFieldnull if the field is valid
and no errors were encountered.getParseException in interface ParsedFieldgetParseException in class AbstractFieldnull if the field is valid.ParsedField.getParseException()private void parse()