You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Tellier Benoit (JIRA)" <se...@james.apache.org> on 2019/05/20 04:04:00 UTC
[jira] [Closed] (JAMES-2702) TimeConverter class should rely on
Duration
[ https://issues.apache.org/jira/browse/JAMES-2702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tellier Benoit closed JAMES-2702.
---------------------------------
> 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: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org