[ https://issues.apache.org/jira/browse/JAMES-2702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16802387#comment-16802387 ]
Tellier Benoit commented on JAMES-2702: --------------------------------------- https://github.com/linagora/james-project/pull/2269 contributed this > 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 > > 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