You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2018/07/18 16:55:00 UTC
[jira] [Created] (SOLR-12561) Port ExtractionDateUtil to java.time
API
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org