David Smiley created LUCENE-7278:
------------------------------------
Summary: Make template Calendar configurable in DateRangePrefixTree
Key: LUCENE-7278
URL: https://issues.apache.org/jira/browse/LUCENE-7278
Project: Lucene - Core
Issue Type: Improvement
Components: modules/spatial-extras
Reporter: David Smiley
Assignee: David Smiley
Fix For: 6.1
DateRangePrefixTree (a SpatialPrefixTree designed for dates and date ranges)
currently uses a hard-coded Calendar template for making new instances. This
ought to be configurable so that, for example, the Gregorian change date can be
configured. This is particularly important for compatibility with Java 8's
java.time API which uses the Gregorian calendar for all time (there is no use
of Julian prior to 1582).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]