You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Till Rohrmann (Jira)" <ji...@apache.org> on 2019/09/24 09:50:00 UTC
[jira] [Resolved] (FLINK-14182) Make TimeUtils able to parse
duration string with plural form labels
[ https://issues.apache.org/jira/browse/FLINK-14182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Till Rohrmann resolved FLINK-14182.
-----------------------------------
Resolution: Done
Done via b3722800586780670a4f3e059c9c36ce10b7c839
> Make TimeUtils able to parse duration string with plural form labels
> --------------------------------------------------------------------
>
> Key: FLINK-14182
> URL: https://issues.apache.org/jira/browse/FLINK-14182
> Project: Flink
> Issue Type: Sub-task
> Components: Runtime / Coordination
> Affects Versions: 1.10.0
> Reporter: Zhu Zhu
> Assignee: Zhu Zhu
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.10.0
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Scala Duration supports parsing plural form time unit label except for the shortest label of a TimeUnit. Namely:
> {
> "d day days",
> "h hour s",
> "min minute minutes",
> "s sec secs second seconds",
> "ms milli millis millisecond milliseconds",
> "µs micro micros microsecond microseconds",
> "ns nano nanos nanosecond nanoseconds"
> }
> TimeUtils should support them as well.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)