Groovy
  1. Groovy
  2. GROOVY-3162

DGM.minus(Date, Date) is conspicuously missing

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.7
    • Fix Version/s: 1.6-rc-2, 1.5.8
    • Component/s: None
    • Labels:
      None

      Description

      The method DefaultGroovyMethods.minus(Date, Date) doesn't exist which breaks the arithmetic type treatment for dates.

      The result should be an int to be consistent with the existing plus(Date, int) and minus(Date, int) methods.

        Activity

          People

          • Assignee:
            James P. White
            Reporter:
            James P. White
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development