Tim Allison created TIKA-3951:
---------------------------------

             Summary: Refactor MailDateParser along lines of mime4j's date 
parsing
                 Key: TIKA-3951
                 URL: https://issues.apache.org/jira/browse/TIKA-3951
             Project: Tika
          Issue Type: Task
            Reporter: Tim Allison


mime4j does a cleaner job of parsing common dates via a static 
DateTimeFormatterBuilder which creates a threadsafe static DateTimeFormat.  Our 
current code creates a new SimpleDateFormat for each attempt to parse a date.

Because of a bug in jdk8 (see TIKA-3735), we can't literally use their code, 
but we can, for now, copy it and use it as a model for our MailDateParser.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to