cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: RFC: Using icu4j for number formatting
Date Wed, 30 Jul 2008 15:35:24 GMT
Jeremy Quinn <jeremy <at> apache.org> writes:

> Currently, o.a.c.forms.datatype.convertor.FormattingDecimalConvertor  
> (the baseclass for all Number Formatting convertors), uses  
> java.text.DecimalFormat internally, without exposing the class to the  
> outside (except for one protected Method).
> 
> If I were to re-implement FormattingDecimalConvertor using icu4j,  
> should I leave the old one alone and create a new  
> icu4jFormattingDecimalConvertor, or work with the original class?

Please see [1].

> If this solves the problem, this would be the only decimal convertor  
> that would work properly with Dojo, so it would seem pointless to  
> leave the old one around, leading to confusion .....

But Dojo is not the only option. And considering the differences between icu4j
and java.text people might want to have the option to switch. I don't know if
Sylvain ever did what he wanted to do (last mail in mentioned thread).

Joerg

[1] http://marc.info/?t=110966545500001&r=1&w=4


Mime
View raw message