commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Work logged] (LANG-1407) Duration Utils - Rounding Duration
Date Thu, 04 Apr 2019 13:53:00 GMT


ASF GitHub Bot logged work on LANG-1407:

                Author: ASF GitHub Bot
            Created on: 04/Apr/19 13:52
            Start Date: 04/Apr/19 13:52
    Worklog Time Spent: 10m 
      Work Description: asciborek commented on pull request #406: [LANG-1407] DurationUtils
- methods for rounding duration 
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:

Issue Time Tracking

    Worklog Id:     (was: 223000)
    Time Spent: 50m  (was: 40m)

> Duration Utils - Rounding Duration
> ----------------------------------
>                 Key: LANG-1407
>                 URL:
>             Project: Commons Lang
>          Issue Type: Task
>            Reporter: Aleksander Ściborek
>            Priority: Minor
>          Time Spent: 50m
>  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

View raw message