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

Make template Calendar configurable in DateRangePrefixTree

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.1
    • modules/spatial-extras
    • None
    • 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
          Steven Rowe

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: