On Wed, Jul 1, 2020 at 1:18 AM Gary Gregory <garydgreg...@gmail.com> wrote:

> I am not sure we should have something so language dependent here. Making
> it plugable feels out of scope with one resource bundle per language and so
> on. Might be worth seeing how java.time deals with this kind of issue if at
> all.
>

java.time internally uses DateTimeFormatter[1] and that internally
uses  Locale[2]

I think we can create the Utility with default English and provision to
plugin different Locale.

[1]
https://docs.oracle.com/javase/8/docs/api/java/time/format/DateTimeFormatter.html
[2]https://docs.oracle.com/javase/8/docs/api/java/util/Locale.html

Regards,
Amey

>
>
> Gary
>
> On Tue, Jun 30, 2020, 14:47 Jason Pyeron <jpye...@pdinc.us> wrote:
>
> > > -----Original Message-----
> > > From: Amey Jadiye Sent: Tuesday, June 30, 2020 2:04 PM
> > >
> > > Hi,
> > >
> > > Does anyone know if apache commons have any utility which converts
> number
> > > to words ?
> > >
> > > Ex. 3957 = Three Thousand Nine Hundred and fifty seven.
> >
> > If not, can dig up the one we made for united states (English) checks and
> > donate it to Apache.
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> > For additional commands, e-mail: dev-h...@commons.apache.org
> >
> >
>

---------------------------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to