Skip to main content

[JSR-354] Re: Mathematical Operations on MonetaryAmount

  • From: Werner Keil <werner.keil@...>
  • To: jcurrency_mail@...
  • Subject: [JSR-354] Re: Mathematical Operations on MonetaryAmount
  • Date: Sun, 28 Jul 2013 22:34:38 +0200

I may have only discussed this with Anatole or members of the Unit API
team, but Mark Davis from Google (represented it at EC F2F in Zurich, we
had a discussion then, and Anatole followed up on it since) but taking
current updates to the CLDR
http://cldr.unicode.org/index/downloads/cldr-24#TOC-Narrow-currency-symbols

This looks quite similar where "$123" won't tell whether you deal with USD,
CAD, AUD, or any other Dollar including places like Hong Kong.
So the + or - with a number could be seen somewhat similar, while the
Monetary amount unlike such a string must know the currency to narrow down
on already. In above example one could not parse to a MonetaryAmount,
unless of course a currency object is provided from elsewhere.

Cheers,
Werner


[JSR-354] Re: Mathematical Operations on MonetaryAmount

(continued)

[JSR-354] Re: Mathematical Operations on MonetaryAmount

Chris Pheby 07/13/2013

[JSR-354] Re: Mathematical Operations on MonetaryAmount

Werner Keil 07/13/2013

[JSR-354] Re: Mathematical Operations on MonetaryAmount

tom.huesler@... 07/13/2013

[JSR-354] Re: Mathematical Operations on MonetaryAmount

Werner Keil 07/14/2013

[JSR-354] Re: Mathematical Operations on MonetaryAmount

Chris Pheby 07/14/2013

[JSR-354] Re: Mathematical Operations on MonetaryAmount

Stephen Colebourne 07/14/2013

[JSR-354] Re: Mathematical Operations on MonetaryAmount

Werner Keil 07/14/2013

[JSR-354] Re: Mathematical Operations on MonetaryAmount

Werner Keil 07/14/2013

[JSR-354] Re: Mathematical Operations on MonetaryAmount

Werner Keil 07/16/2013

[JSR-354] Re: Mathematical Operations on MonetaryAmount

Sascha Freitag 07/28/2013

[JSR-354] Re: Mathematical Operations on MonetaryAmount

Werner Keil 07/28/2013

[JSR-354] Re: Mathematical Operations on MonetaryAmount

Anatole Tresch 07/14/2013

[JSR-354] Re: Mathematical Operations on MonetaryAmount

Stephen Colebourne 07/14/2013
 
 
Close
loading
Please Confirm
Close