Skip to main content

[JSR-354] Re: Absolute value support

  • From: Werner Keil <werner.keil@...>
  • To: jcurrency_mail@...
  • Subject: [JSR-354] Re: Absolute value support
  • Date: Sun, 14 Apr 2013 14:15:53 +0200

Anatole/all,

Two more observations, why did UnsignedMonetaryAmount end up in the platform implementation next to the "official" JDK style Money while IntegralMoney is in a standalone RI module?

First it may sound a little more consistent, if that was also IntegralMonetaryAmount (or have all use prefix *Money, that would also work) second of course, why would one be considered part of the platform and the other not? IMHO if Money was the only "official" implementation of MonetaryAmount, all other implementations should be in a separate place like standalone RI or (if not part of the RI) an "extra" like bundle, sort of like Stephen also maintains for 310.

Beside, what was the compelling reason to keep a separate LocalizableCurrencyUnit while handling  this elsewhere for Money?

Thanks,
Werner

On Sat, Apr 13, 2013 at 6:56 PM, Anatole Tresch <atsticks@...> wrote:
Hi Jez

Are you able to give feedback until tuesday evening your time? I try to finalize things for edr on wednesday...

Cheers
Anatole

-
Anatole Tresch
Glärnischweg 10
8620 Wetzikon
-
Send from Mobile

Am 11.04.2013 um 18:41 schrieb Jeremy Davies <jerdavies@...>:

Hi all,

Have been unable to look at any of this due to new job and new baby. Plan on re engaging next week as have more capacity then. 

Anatole - will review doc and get back to you with precision update then as well. 

Jez

Sent from my iPhone

On 10 Apr 2013, at 18:15, Anatole Tresch <atsticks@...> wrote:

In booking systems i agree this the case since the sides of the accounts on which is booked (debit/credit or efforts/benefits) is relevant. But i would not model it into the amount, i would write a decorator that adds the constraints to an amount. Outside of booking systems, in investment & finance calculations negative values ( eg when modeling expected monetary cash outflows) are normal, as well as within shopping carts ( eg discounts) or in simple milkman calculations...

Cheers
Anatole

-
Anatole Tresch
Glärnischweg 10
8620 Wetzikon
-
Send from Mobile

Am 10.04.2013 um 15:15 schrieb "Freitag Sascha (KFSQ 3)" <sascha.freitag@...>:

Hi all,

 

Just had a conversation with an financial accounting systems specialists. He mentioned that typically all money amounts carry it’s currencies also in financial accounting systems. But he pointed out that typically the value is an absolute value i.e. has no sign. Since this is determined by the kind of booking and the value is always absolute.

We mention accounting systems as targeted. So I like to raise the question, if a money type should support that it only can contain absolute values.

 

Regards Sascha

 




[JSR-354] Re: Absolute value support

(continued)

[JSR-354] Re: Absolute value support

Freitag Sascha (KFSQ 3) 04/11/2013

[JSR-354] Re: Absolute value support

Werner Keil 04/11/2013

[JSR-354] Re: Absolute value support

Anatole Tresch 04/11/2013

[JSR-354] Re: Absolute value support

Anatole Tresch 04/10/2013

[JSR-354] Re: Absolute value support

Werner Keil 04/10/2013

[JSR-354] Re: Absolute value support

Freitag Sascha (KFSQ 3) 04/11/2013

[JSR-354] Re: Absolute value support

Anatole Tresch 04/11/2013

[JSR-354] Re: Absolute value support

Werner Keil 04/11/2013

[JSR-354] Re: Absolute value support

Jeremy Davies 04/11/2013

[JSR-354] Re: Absolute value support

Anatole Tresch 04/13/2013

[JSR-354] Re: Absolute value support

Werner Keil 04/14/2013

[JSR-354] Re: Absolute value support

Anatole Tresch 04/14/2013
 
 
Close
loading
Please Confirm
Close