commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Colebourne <>
Subject Re: [Proposal] Create a sandbox commons-money component?
Date Sat, 14 Feb 2009 11:00:42 GMT
Ralph Goers wrote:
>> I've checked the commons-money code into the sandbox. I don't have any 
>> time to write more code there ATM, but more needs doing before any 
>> release. If anyone likes the code, and the idea behind BigMoney, or 
>> formatting/parsing then please go ahead and make some changes. Thats 
>> what the sandbox is for.
>> Stephen
> I was very surprised not to see a method like ofMinor(Locale locale, 
> long amountMinor) or even ofMinor(long amountMinor). The currency should 
> be derivable from the locale and when none is specified the default 
> should be used.

Adding Locale factory variants would be OK I think.

I'm not a huge fan of using the default locale - it adds a hidden 
dependency that you don't see in testing.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message