Skip to main content

[JSR-354] Re: Ballot - please reply soon!

  • From: Stephen Colebourne <scolebourne@...>
  • To: jcurrency_mail@...
  • Subject: [JSR-354] Re: Ballot - please reply soon!
  • Date: Tue, 9 Apr 2013 13:22:38 +0100

On 8 April 2013 22:35, Anatole Tresch <atsticks@...> wrote:
> Core (answer with Y or N, my opinions are inline):
> 1) Remove LocalizableCurrencyUnit, LocalizableAmount?
Y

> 2) Use 310 names for methods on MonetaryAmount:
Y
http://blog.joda.org/2006/05/immutable-pojos-improving-on_6406.html ;(from 
2006)
http://blog.joda.org/2011/08/common-java-method-names.html

> 3) Should we replace the methods asType, intValue, doubleValue etc. on
> MonetaryAmount, with BigDecimal getBigDecimal()?
In the context of what the interface is currently trying to be,
getAmountAsBigDecimal() is better. (I prefer a different kind of
interface though)

> 4) Should we support Number as input type on algorithmic operation on
> MonetaryAmount also?
N
Its entirely unsuited to that task, as you can't extract data from it reliably

> 5) Should we rename the Rounding interface to MonetaryAdjuster?
N
I was proposing Rouding is a special case of adjustment, so such a
class would still exist.

> 6) Should we CHange Rounding:  public MonetaryAmount round(MOnetaryAmount
> amount); would be changed to public <T extends MonetaryAmount> T round(T
> amount);:
Y

> 8) Should we introduce an additional RoundingType, to distinguish the usage
> such as cash, online, card?
N

Stephen


[JSR-354] Ballot - please reply soon!

Anatole Tresch 04/08/2013

[JSR-354] Re: Ballot - please reply soon!

Werner Keil 04/08/2013

[JSR-354] Re: Ballot - please reply soon!

Tresch Anatole (KFSC 225) 04/09/2013

[JSR-354] Re: Ballot - please reply soon!

Sascha Freitag 04/16/2013

[JSR-354] Re: Ballot - please reply soon!

Stephen Colebourne 04/09/2013

[JSR-354] Re: Ballot - please reply soon!

Werner Keil 04/09/2013

[JSR-354] Re: Ballot - please reply soon!

Werner Keil 04/09/2013

[JSR-354] Re: Ballot - please reply soon!

Tresch Anatole (KFSC 225) 04/09/2013

[JSR-354] Re: Ballot - please reply soon!

Werner Keil 04/09/2013

[JSR-354] Re: Ballot - please reply soon!

Tresch Anatole (KFSC 225) 04/09/2013

[JSR-354] Re: Ballot - please reply soon!

Werner Keil 04/09/2013

[JSR-354] Re: Ballot - please reply soon!

KFSC 52 04/16/2013

[JSR-354] Re: Ballot - please reply soon!

Werner Keil 04/16/2013

[JSR-354] Re: Ballot - please reply soon!

KFSC 52 04/16/2013

[JSR-354] Re: Ballot - please reply soon!

Werner Keil 04/16/2013
 
 
Close
loading
Please Confirm
Close