tag:blogger.com,1999:blog-741750605858169835.post1768713809388086741..comments2024-01-24T14:53:02.919+00:00Comments on Stephen Colebourne's blog: Joda-Money 0.5Stephen Colebournehttp://www.blogger.com/profile/01454237967846880639noreply@blogger.comBlogger14125tag:blogger.com,1999:blog-741750605858169835.post-51289392035047684262009-11-29T19:49:20.000+00:002009-11-29T19:49:20.000+00:00MoneyPrinter is the low level interface within the...MoneyPrinter is the low level interface within the formatting system. It allows anyone to plugin their own printer.Stephen Colebournenoreply@blogger.comtag:blogger.com,1999:blog-741750605858169835.post-39895542459716234382009-11-29T04:26:46.000+00:002009-11-29T04:26:46.000+00:00I don't understand what the MoneyPrinter inter...I don't understand what the MoneyPrinter interface is for. Is it connected to MoneyFormatter?Tim Peierlshttp://tembrel.blogspot.comnoreply@blogger.comtag:blogger.com,1999:blog-741750605858169835.post-9728429983979017972009-11-25T23:52:55.000+00:002009-11-25T23:52:55.000+00:00Actually, I just came across your earlier post con...Actually, I just came across your earlier post concerning Joda-Money, and there already were some discussion of Time&Money in the comments. <br /><br />Link to the earlier post for those who missed it (like I did) and are interested in the previous discussions:<br />http://www.jroller.com/scolebourne/entry/joda_moneyEtienne Neveunoreply@blogger.comtag:blogger.com,1999:blog-741750605858169835.post-14764391477540293422009-11-23T15:20:19.000+00:002009-11-23T15:20:19.000+00:00Hi,
This is great news!
When I was searching for...Hi,<br /><br />This is great news!<br /><br />When I was searching for a Money library, I remember coming across Time & Money ( http://timeandmoney.sourceforge.net/ ), which was developed by Eric Evans and other DDD practitioners.<br /><br />While the project is still in Alpha status and does not seem to be actively maintained, I think you could take some ideas from what they did there.<br /><br />Seeing the quality of Joda Time, I am sure this Money library will be great ;)Etienne Neveunoreply@blogger.comtag:blogger.com,1999:blog-741750605858169835.post-68132356421806123102009-11-19T16:50:24.000+00:002009-11-19T16:50:24.000+00:00@Danny
I don't think the main goal here is to ...@Danny<br />I don't think the main goal here is to support financial/investment banking applications. There are way too many complications in each possible market to manage it with simple api. I would rather consider web shop kind of apps - where you want to be sure that you are displaying correct sum depending on what country the client is ordering from.Artur Biesiadowskinoreply@blogger.comtag:blogger.com,1999:blog-741750605858169835.post-60833482953440545712009-11-19T07:56:27.000+00:002009-11-19T07:56:27.000+00:00@mebigfatguy - don't know how to remove the C:...@mebigfatguy - don't know how to remove the C: path from maven I'm afraid.<br /><br />@kutzi - the double methods are carefully javadocced as to how they handle rounding, and how they work. They make code a lot more readable in the absence of BigDecimal literals.<br /><br />@Ignacio - yep, a user guide would be useful, although its a pretty small API!<br /><br />@Tom, thanks for the spotStephen Colebournenoreply@blogger.comtag:blogger.com,1999:blog-741750605858169835.post-79966267565371064762009-11-18T21:05:23.000+00:002009-11-18T21:05:23.000+00:00I wonder if providing methods which accept 'do...I wonder if providing methods which accept 'double' parameters in a library is a good idea? Aren't they are always endangered to be affected by rounding errors?kutzinoreply@blogger.comtag:blogger.com,1999:blog-741750605858169835.post-77238490582793174392009-11-18T10:00:16.000+00:002009-11-18T10:00:16.000+00:00A "Getting started" page would be most w...A "Getting started" page would be most welcome :)Ignacio Colomahttp://icoloma.blogspot.comnoreply@blogger.comtag:blogger.com,1999:blog-741750605858169835.post-84193232311432432142009-11-18T01:37:41.000+00:002009-11-18T01:37:41.000+00:00ah, they're 'singleton's so to speak, ...ah, they're 'singleton's so to speak, so i guess == works. never mind then. back to 0. :)mebigfatguyhttp://fb-contrib.sf.netnoreply@blogger.comtag:blogger.com,1999:blog-741750605858169835.post-37265958168050475922009-11-17T23:32:34.000+00:002009-11-17T23:32:34.000+00:00two CurrencyUnits could compareTo --> 0 and not...two CurrencyUnits could compareTo --> 0 and not be equals().<br /><br />there -- i know it stinks to have no known bugs :)mebigfatguyhttp://fbcontrib.sf.netnoreply@blogger.comtag:blogger.com,1999:blog-741750605858169835.post-78454753307864434652009-11-17T23:16:45.000+00:002009-11-17T23:16:45.000+00:00this in your pom file:
C:\java\jdk1.5.0\bin\javac...this in your pom file:<br /><br />C:\java\jdk1.5.0\bin\javac<br /><br />doesn't seem right.mebigfatguyhttp://fbcontrib.sf.netnoreply@blogger.comtag:blogger.com,1999:blog-741750605858169835.post-55983806466431811962009-11-17T19:15:52.000+00:002009-11-17T19:15:52.000+00:00in order for a money api to be really useful, in t...in order for a money api to be really useful, in the cases i've seen at least, there needs to be a time element to the money as well. This 20 dollars was on june 15, 2004. As that's important when contracts, and exchange rates are involved.mebigfatguyhttp://fb-contrib.sf.netnoreply@blogger.comtag:blogger.com,1999:blog-741750605858169835.post-23720132796780399302009-11-17T16:30:15.000+00:002009-11-17T16:30:15.000+00:00Hi Tom,
I love your interface "BigMoneyProv...Hi Tom, <br /><br />I love your interface "BigMoneyProvider", it's just more than cool!<br /><br />Cheers, <br /><br />DannyDanny Leenoreply@blogger.comtag:blogger.com,1999:blog-741750605858169835.post-91855284237790564282009-11-17T14:02:00.000+00:002009-11-17T14:02:00.000+00:00Neat, the joda-money site says that version 0.5 wa...Neat, the joda-money site says that version 0.5 was release on 17th Nov 2008 though.. typo one suspects.Tomnoreply@blogger.com