David Smiley created SOLR-12561:
-----------------------------------

             Summary: Port ExtractionDateUtil to java.time API
                 Key: SOLR-12561
                 URL: https://issues.apache.org/jira/browse/SOLR-12561
             Project: Solr
          Issue Type: Improvement
      Security Level: Public (Default Security Level. Issues are Public)
          Components: contrib - Solr Cell (Tika extraction)
            Reporter: David Smiley
            Assignee: David Smiley
             Fix For: master (8.0)


The ExtractionDateUtil class in the extraction contrib uses 
SimpleDateFormatter.  The Java 8 java.time API is superior; you can find 
articles out there why.  One thing that comes to mind is less timezone 
bugginess – SOLR-10243.  Although the API may be a bit baroque IMO 
(over-engineered).  Here I'd like to switch over the API and furthermore have 
the patterns be pre-parsed so that at runtime we don't need to re-parse the 
patterns.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to