GitHub user asciborek opened a pull request:

    https://github.com/apache/commons-lang/pull/382

    Proposal: Duration Utils - round value of the duration in  a given unit

    For instance, in case of duration equals 90 minuts, the method 
roundHoursQuantity should return 2 (hours), and in case of duration 60 minutes 
and 1 second roundUpHoursQuantity should return also 2 (hours)


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/382.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 #382
    
----
commit 386a432b6df51a953161c38c4c50e5cd8d9c86b4
Author: Aleksander Sciborek <aleksandersciborek@...>
Date:   2018-11-15T20:21:19Z

    [LANG-1407] implement DurationUtils with methods for rounding value of 
Duration in a given unit of time

----


---

Reply via email to