groovy-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Sun (Jira)" <j...@apache.org>
Subject [jira] [Closed] (GROOVY-9274) Add DGM `minus` to `LocalDate`
Date Sat, 12 Oct 2019 13:05:00 GMT

     [ https://issues.apache.org/jira/browse/GROOVY-9274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Daniel Sun closed GROOVY-9274.
------------------------------
    Resolution: Fixed

Fixed by https://github.com/apache/groovy/commit/9541f467e9a718c79200cfa72a2720e30c5897fa

> Add DGM `minus` to `LocalDate`
> ------------------------------
>
>                 Key: GROOVY-9274
>                 URL: https://issues.apache.org/jira/browse/GROOVY-9274
>             Project: Groovy
>          Issue Type: Improvement
>            Reporter: Daniel Sun
>            Assignee: Daniel Sun
>            Priority: Major
>             Fix For: 3.0.0-rc-1
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> {code:java}
>         def date1 = LocalDate.of(2019, Month.OCTOBER, 10)
>         def date2 = LocalDate.of(2019, Month.OCTOBER, 1)
>         assert 9 == date1 - date2
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message