commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aleksander Ściborek (JIRA) <j...@apache.org>
Subject [jira] [Updated] (LANG-1407) Duration Utils - Rounding Duration
Date Mon, 06 Aug 2018 21:04:00 GMT

     [ https://issues.apache.org/jira/browse/LANG-1407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Aleksander Ściborek updated LANG-1407:
--------------------------------------
    Affects Version/s:     (was: 3.8)
          Description: In Java 8 Duration is always rounded down - for instance if we have
8:00 PM and 10:40 PM LocalDates we will get 2 hours of duration between them. Purpose of this
Util Class is to create utils to round up a duration in a given time unit. 

> Duration Utils - Rounding Duration
> ----------------------------------
>
>                 Key: LANG-1407
>                 URL: https://issues.apache.org/jira/browse/LANG-1407
>             Project: Commons Lang
>          Issue Type: Task
>          Components: lang.time.*
>            Reporter: Aleksander Ściborek
>            Priority: Minor
>
> In Java 8 Duration is always rounded down - for instance if we have 8:00 PM and 10:40
PM LocalDates we will get 2 hours of duration between them. Purpose of this Util Class is
to create utils to round up a duration in a given time unit. 



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

Mime
View raw message