james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gross <gros...@gmail.com>
Subject Non-standart date format parsing by LenientFieldParser.
Date Fri, 30 Sep 2011 08:32:17 GMT
Hello, all!

To parse date rfc822 message I use LenientFieldParser, and it
internally uses DateTimeFieldLenientImpl.PARSER.
This parser use only one standard date format from DEFAULT_DATE_FORMAT
const. And there's no usual method to parse non-standard date formats.
How it can be added to FieldImpl?
I see a workaround: to parse field manually, not using
LenientFieldParser, but it seems to be ugly.

-- Konstantin Gribov aka gross

View raw message