From jawahar.samuel at gmail.com Mon Oct 19 02:12:26 2009 From: jawahar.samuel at gmail.com (samuel jawahar) Date: Mon, 19 Oct 2009 14:42:26 +0530 Subject: Bug 100111 In-Reply-To: References: Message-ID: Hello, I have a requirement ?number to text conversion? Example:-123 is the number the equivalent text is:? one hundred and three? All the standings are as per international scientific standard Is there any API in java addressing this request? If not shall I send my implementation as part my contribution to next JDK Regards Jawahar > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/i18n-dev/attachments/20091019/f5307ad7/attachment.html From jawahar.samuel at gmail.com Mon Oct 19 23:26:52 2009 From: jawahar.samuel at gmail.com (samuel jawahar) Date: Tue, 20 Oct 2009 11:56:52 +0530 Subject: Bug 100111 In-Reply-To: References: Message-ID: > > Hello, I have a requirement ?number to text conversion? > Example:-123 is the number the equivalent text is:? one hundred and three? > All the standings are as per international scientific standard > Is there any API in java addressing this request? > If not shall I send my implementation as part my contribution to next > JDK > Regards > Jawahar > >> > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://mail.openjdk.java.net/pipermail/i18n-dev/attachments/20091020/b5d3de52/attachment.html From y.umaoka at gmail.com Tue Oct 20 13:14:28 2009 From: y.umaoka at gmail.com (Yoshito Umaoka) Date: Tue, 20 Oct 2009 16:14:28 -0400 Subject: Bug 100111 In-Reply-To: References: Message-ID: <4ADE1A24.9040406@gmail.com> FYI: Such API is not currently available in JDK. The Unicode CLDR project (http://www.unicode.org/cldr) maintains "Rule-Based Number Formatting" for various types in various locales - http://www.unicode.org/reports/tr35/#Rule-Based_Number_Formatting An implementation is provided by the ICU project (http://icu-project.org/) in C++ and Java. This is the API specification of the Java implementation, including the rule syntax definitions - http://www.icu-project.org/apiref/icu4j/com/ibm/icu/text/RuleBasedNumberFormat.html -Yoshito Umaoka samuel jawahar wrote: > Hello, I have a requirement ?number to text conversion? > Example:-123 is the number the equivalent text is:? one hundred and > three? > All the standings are as per international scientific standard > Is there any API in java addressing this request? > If not shall I send my implementation as part my contribution to > next JDK > Regards > Jawahar > > From Yuka.Kamiya at Sun.COM Wed Oct 21 02:41:09 2009 From: Yuka.Kamiya at Sun.COM (Yuka Kamiya) Date: Wed, 21 Oct 2009 18:41:09 +0900 Subject: Bug 100111 In-Reply-To: References: Message-ID: <4ADED735.8080204@sun.com> Hello, samuel jawahar wrote: > Hello, I have a requirement ?number to text conversion? > Example:-123 is the number the equivalent text is:? one hundred and three? > All the standings are as per international scientific standard > Is there any API in java addressing this request? > If not shall I send my implementation as part my contribution to next JDK > Regards > Jawahar Could you please file an RFE(Request for enhancement) from http://bugreport.sun.com/bugreport/ ? I think that we haven't received this kind of RFE and need to evaluate its demand first. Basically, we add a new API to Java SE's core library (only) when the API is wanted by many developers and/or it looks essential as a part of the _core_ library of Java. Yes, we are very careful about it, because there are developers who want us to keep Java SE small. And also, once a new API is added, it's very difficult to obsolete it or to change its specification even if there's a problem. We need to consider before adding. An independent library outside Java SE may be a good place to keep APIs which are needed by only a small group of people. In any case, we really appreciate it if you file a new RFE for this. Thanks, -- Yuka Kamiya