org.apache.james.mime4j.field
Class DateTimeFieldImpl
java.lang.Object
org.apache.james.mime4j.field.AbstractField
org.apache.james.mime4j.field.DateTimeFieldImpl
- All Implemented Interfaces:
- DateTimeField, ParsedField, Field
public class DateTimeFieldImpl
- extends AbstractField
- implements DateTimeField
Date-time field such as Date
or Resent-Date
.
PARSER
public static final FieldParser<DateTimeField> PARSER
getDate
public Date getDate()
- Specified by:
getDate
in interface DateTimeField
- See Also:
DateTimeField.getDate()
getParseException
public org.apache.james.mime4j.field.datetime.parser.ParseException getParseException()
- Description copied from interface:
ParsedField
- Returns the exception that was thrown by the field parser while parsing
the field value. The result is
null
if the field is valid
and no errors were encountered.
- Specified by:
getParseException
in interface ParsedField
- Overrides:
getParseException
in class AbstractField
- Returns:
- the exception that was thrown by the field parser or
null
if the field is valid. - See Also:
ParsedField.getParseException()
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.