Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-1331

Overloaded plus on java.sql.Date returns java.util.Date

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-JSR-5
    • 1.0
    • groovy-jdk
    • None

    Description

      As per this posting:
      http://javajeff.blogspot.com/2006/05/operator-overloading-in-groovy.html

      A plus operator for java.sql.Date should be provided to fix the problem

      Attachments

        1. SqlDateTest.groovy
          2 kB
          Jeff Brown
        2. DefaultGroovyMethods.patch
          2 kB
          Jeff Brown

        Activity

          People

            tug John Wilson
            graemerocher Graeme Rocher
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: