public class DateTimeFieldImpl extends AbstractField implements DateTimeField
Date
or Resent-Date
.Modifier and Type | Field and Description |
---|---|
static FieldParser<DateTimeField> |
PARSER |
monitor, rawField
Modifier and Type | Method and Description |
---|---|
Date |
getDate() |
org.apache.james.mime4j.field.datetime.parser.ParseException |
getParseException()
Returns the exception that was thrown by the field parser while parsing
the field value.
|
getBody, getName, getRaw, getRawField, isValidField, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isValidField
public static final FieldParser<DateTimeField> PARSER
public Date getDate()
getDate
in interface DateTimeField
DateTimeField.getDate()
public org.apache.james.mime4j.field.datetime.parser.ParseException getParseException()
ParsedField
null
if the field is valid
and no errors were encountered.getParseException
in interface ParsedField
getParseException
in class AbstractField
null
if the field is valid.ParsedField.getParseException()
Copyright © 2004–2013 The Apache Software Foundation. All rights reserved.