GitHub user asciborek opened a pull request:
https://github.com/apache/commons-lang/pull/360
Lang 1407
I've added an utils class with methods to rounding Duration
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/asciborek/commons-lang LANG_1407
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/commons-lang/pull/360.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #360
----
commit 2ccdca97268df1b9d4cd78f4331eafab2952618b
Author: Aleksander Sciborek <aleksandersciborek@...>
Date: 2018-09-25T20:06:29Z
[LANG_1407] implement methods to round quantity of hours of duration
instance
commit 443d8a85ee8d5a023e49bdef59519c677b979298
Author: Aleksander Sciborek <aleksandersciborek@...>
Date: 2018-09-26T15:22:00Z
[LANG_1407] implement methods to round the quantity of minutes of duration
instance
commit 8cadd675f718a11bfb988ae3e20dd625d07d6bf3
Author: Aleksander Sciborek <aleksandersciborek@...>
Date: 2018-09-27T00:25:21Z
[LANG_1407] implement methods to round the quantity of seconds of duration
instance
commit c21c5a107b912635436861b7be6763dc1a82b42f
Author: Aleksander Sciborek <aleksandersciborek@...>
Date: 2018-09-27T15:50:33Z
[LANG_1407] implements methods to round the quantity of days of duration
instance
----
---