Skip to main content

[JSR-354] Re: Extending Regions with additional data.

  • From: Werner Keil <werner.keil@...>
  • To: "jcurrency_mail@..." <jcurrency_mail@...>
  • Subject: [JSR-354] Re: Extending Regions with additional data.
  • Date: Tue, 10 Sep 2013 20:01:24 +0200

Some interesting stuff, Twitter did with CLDR for Ruby, also especially
related to Monetary parsing and formatting:
https://blog.twitter.com/2012/twittercldr-improving-internationalization-support-ruby

Werner


On Tue, Sep 3, 2013 at 9:51 AM, Anatole Tresch <atsticks@...> wrote:

> I think even more flexible would be add the methods to the Regions
> singleton (adding the Region as parameter), so arbitrary Region related
> data can be provided by independent ExtendedRegionDataProviderSpi impls:
>
> public static Collection<Class> getExtendedRegionDataTypes(Region region);
> public static <T> T getExtendedRegionData(Class<T> type);
>
> Cheers
> Anatole
>
> -
> Anatole Tresch
> Gl√§rnischweg 10
> 8620 Wetzikon
> Tel +41 (43) 317 05 30
> -
> Send from Mobile
>
> Am 31.08.2013 um 08:49 schrieb Anatole Tresch <atsticks@...>:
>
> public <T> Class<T> getAdditionalDataType();
>    // may return null, if not supported
>
> public <T> T getAdditionalData(Class<T> type);
>
>


[JSR-354] Re: Extending Regions with additional data.

Anatole Tresch 09/03/2013

[JSR-354] Re: Extending Regions with additional data.

Werner Keil 09/10/2013
 
 
Close
loading
Please Confirm
Close