Skip to main content
This revision made August 02, 2012 12:43, by keilw

Java Currency and Money API Wiki

Target markets
Scope
Design Principles
Precision
Requirements
Implementation notes
Use Cases

GitHub Repository

Caveat Emptor

  • This JSR will not satisfy everyone
  • Goal is 80% of use cases for the 9+ million JVM developers

External Links
JFire Accounting
and JFire Currency Interface Joda Money can be referred to as an inspiration for API and design style. it is based on real-world use cases in an e-commerce application for airlines
(must be from a small or US airline, as there is no currency conversion;-) Note from Joda author Stephen Colebourne - my current company wants estimated amounts at high performance, so uses double directly M-Pesa-Mobile Money in Africa
Grails Currencies
Why not to use BigDecimal for Money
ICU4J
Currency Internationalization (i18n), Multiple Currencies and Foreign Exchange (FX).
http://en.wikipedia.org/wiki/Japanese_units_of_measurement#Money
Discussion of internationalization of currencies, rounding, grouping and formatting, separators etc]
MoneyDance API
http://speleotrove.com/decimal/http://sourceforge.net/projects/oquote/ Speaking of Insurance, one of my UK colleagues here at Maersk is co-contributor to this SF project: It has an interesting Currency and CurrencyAmount structure in it, too. Maybe a good inspiration, and given it is aimed at the UK and International Insurance industry, it sounds like a welcome project to get in touch with. Contains specifications for decimal floating point arithmetic-Werner Keil
Karatsuba Algorithm for Fast Big Decimal Multiplication

Related Initiatives
Eric Evans Time and Money Library

Difference compared to previous revision
* Goal is 80% of use cases for the 9+ million JVM developers External Links
[http://download.nightlabs.de/jfire/builds/modules/JFire-Max/HEAD/apidocs/org/nightlabs/jfire/accounting/package-summary.html JFire Accounting]
and [http://download.nightlabs.de/jfire/builds/modules/JFire-Max/HEAD/apidocs/org/nightlabs/l10n/Currency.html JFire Currency Interface] [http://
joda-money.sourceforge.net/ Joda Money] can be referred to as an inspiration for API and design style. it is based on real-world use cases in an e-commerce application for airlines
(must be from a small or US airline, as there is no currency conversion;-) Note from Joda author Stephen Colebourne - my current company wants estimated amounts at high performance, so uses double directly [http://thenextweb.com/africa/2012/02/05/learning-from-kenya-mobile-money-transfer-and-co-working-spaces/?awesm=tnw.to_1DEWI M-Pesa-Mobile Money in Africa]
[https://github.com/ricardojmendez/grails-currencies Grails Currencies]
 
 
Close
loading
Please Confirm
Close