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-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to