commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephen Colebourne <scolebou...@btopenworld.com>
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.

Stephen

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message