Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-7278

Make template Calendar configurable in DateRangePrefixTree

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.1
    • Component/s: modules/spatial-extras
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      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).

        Attachments

        1. LUCENE_7278.patch
          20 kB
          David Smiley
        2. LUCENE_7278.patch
          19 kB
          David Smiley
        3. LUCENE-7278-clover.patch
          1 kB
          Steve Rowe

          Issue Links

            Activity

              People

              • Assignee:
                dsmiley David Smiley
                Reporter:
                dsmiley David Smiley
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: