commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asciborek <>
Subject [GitHub] commons-lang pull request #382: Proposal: Duration Utils - round value of th...
Date Thu, 15 Nov 2018 23:22:08 GMT
GitHub user asciborek opened a pull request:

    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 LANG_1407

Alternatively you can review and apply these changes as the patch at:

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



View raw message