[JSR-354] Re: Mathematical Operations on MonetaryAmount
- From: Stephen Colebourne <scolebourne@...>
- To: jcurrency_mail@...
- Subject: [JSR-354] Re: Mathematical Operations on MonetaryAmount
- Date: Sun, 14 Jul 2013 15:32:44 +0100
On 14 July 2013 12:25, Anatole Tresch <atsticks@...> wrote:
> along the discussion on amounts, I would like to add an additional point,
> which may be interesting. Often, when we are working with amounts, or
> passing them around in our logic, an "amount is not an amount", meaning that
> it would be a big advantage, when we would be able to classify amounts using
> something like an amount type. Also when working with collections of amounts
> according functions (FunctionalInterface) passed to such collections can
> also easily benefit from such a feature.
AmountType is not part of the intrinsic nature of the money value
type, and should not be modelled by this group.
Currency, Money and formatting. Thats all.