[ 
https://issues.apache.org/jira/browse/GEODE-3136?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16071678#comment-16071678
 ] 

Jacob S. Barrett commented on GEODE-3136:
-----------------------------------------

Also investigating a string parser that would convert to std::chrono::duration 
for handling timeouts from configuration files (xml, properties, etc.).

"1min" -> std::chrono::minutes(1)
"300s" -> std::chrono::seconds(300)

You get the picture.

> Replace all public API time values with std::chrono types
> ---------------------------------------------------------
>
>                 Key: GEODE-3136
>                 URL: https://issues.apache.org/jira/browse/GEODE-3136
>             Project: Geode
>          Issue Type: Improvement
>          Components: native client
>            Reporter: Jacob S. Barrett
>            Assignee: Jacob S. Barrett
>
> Remove ambiguity of time values by using 
> [{{std::chrono}}|http://en.cppreference.com/w/cpp/chrono] types in the public 
> API. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to