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

Bruno P. Kinoshita commented on TEXT-25:
----------------------------------------

Hi [~ameyjadiye], we decided to release 1.0 first, including mainly edit 
distances and classes migrated from Apache Commons Lang, before adding new 
features such as the duration parser.

If you would like to submit another pull request based on 
https://github.com/apache/commons-text/pull/24, or maybe keep a fork to compare 
with the current PR, it might make it easier to review your changes too.

I like these features too, by the way. We might have to think about a good way 
to support multiple currencies like NZD 1.000,00, and BRL 1,000.00 (one 
thousand new zealand dollars, and one thousand brazilian reals), support 
different locales (i.e. BRL 1,000.00 uses commas for thousand separator, and 
dots for cents, and it could be translated as "1000 reais" in Brazilian 
Portuguese), etc.

> Add a duration parser
> ---------------------
>
>                 Key: TEXT-25
>                 URL: https://issues.apache.org/jira/browse/TEXT-25
>             Project: Commons Text
>          Issue Type: New Feature
>            Reporter: Bruno P. Kinoshita
>            Assignee: Bruno P. Kinoshita
>            Priority: Minor
>             Fix For: 1.1
>
>
> Duration parses interpret text such as *2 hours, 1 mn and 22sec*.
> Examples exist, such as https://github.com/jchampemont/gunip, written in 
> Javaby Jean Champémont, inspired by https://github.com/domchristie/juration 
> (JavaScript).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to