Skip to main content
This revision made August 01, 2012 18:27, 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
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
[http://www.xencraft.com/resources/multi-currency.html 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]
[http://moneydance.com/dev/apidoc/index.html 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.
 
 
Close
loading
Please Confirm
Close