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

Tellier Benoit resolved JAMES-2702.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 3.4.0


{code:java}
a142a230c0 JAMES-2702 DurationParser should handle weeks, months and years
d983389d9d JAMES-2702 Improve DurationParser tests
1497fb2908 JAMES-2702 Improve DurationParser exception handling
02a63a3915 JAMES-2702 TimeConverter is more a DurationParser
{code}


Solved that

> TimeConverter class should rely on Duration
> -------------------------------------------
>
>                 Key: JAMES-2702
>                 URL: https://issues.apache.org/jira/browse/JAMES-2702
>             Project: James Server
>          Issue Type: Improvement
>            Reporter: Matthieu Baechler
>            Priority: Major
>             Fix For: 3.4.0
>
>
> TimeConverter is used to read duration as expressed in configuration files, 
> like "2 days".
> However, it relies on the false assumption that 2 days are a fixed number of 
> milliseconds and convert the value into long.
> It has to use Duration instead that handle nicely all the hard logic of 
> duration and date handling.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to