From: "Adrian Crum" <[email protected]>
Adam Heath wrote:
Adrian Crum commented on OFBIZ-3666:
------------------------------------
No, the type conversion hasn't changed. The issue is there is no type to
convert to. Quantity should be a type, and Money should
be a type. Strong data typing would prevent applying quantity precision to a
money, and money precision to a quantity.
Not replying to jira just yet.
I'm interested in working on typed-Foo conversion, in a generic
fashion. Might need to add yet another library, maybe a Units
library, time to do a google search.
Btw, I have been considering starting a project for often-needed Java data
types. The TimeAndMoney library is very similar to what
I have in mind, but it isn't being maintained. I would probably start with that
and update it. Also, I picture the library being
built around the ICU4J library - so internationalization can be kept current.
Would you put it in Apache Commons? It would have more support there, I guess.
Jacques