[ 
https://issues.apache.org/jira/browse/LANG-1407?focusedWorklogId=214877&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-214877
 ]

ASF GitHub Bot logged work on LANG-1407:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 18/Mar/19 16:48
            Start Date: 18/Mar/19 16:48
    Worklog Time Spent: 10m 
      Work Description: ericbarnhill commented on issue #406: [LANG-1407] 
DurationUtils - methods for rounding duration 
URL: https://github.com/apache/commons-lang/pull/406#issuecomment-474000979
 
 
   "Rounding a number means replacing it with a different number that is 
approximately equal to the original, but has a shorter, simpler, or more 
explicit representation"
   
   Read more at https://en.wikipedia.org/wiki/Rounding
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 214877)
    Time Spent: 40m  (was: 0.5h)

> Duration Utils - Rounding Duration
> ----------------------------------
>
>                 Key: LANG-1407
>                 URL: https://issues.apache.org/jira/browse/LANG-1407
>             Project: Commons Lang
>          Issue Type: Task
>            Reporter: Aleksander Ściborek
>            Priority: Minor
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> In Java 8 Duration is always rounded down - for instance if we have 
> LocalDates instances with values 20:00 and 22:40, we will get 2 hours of 
> duration between them. Purpose of this util class is to provide an easy way 
> to round up a duration in a given time unit. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to