Matthieu Baechler created JAMES-2702:
----------------------------------------

             Summary: 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


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-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to