Introduction to JSR 354 Money & Currency



The presentation introduces the new JSR 354 (Java Currency and Money). It is shown how the new JSR allows to flexible represent and manipulate monetary amounts in different currencies (including virtual ones). It is shown how the current ISO currencies can effectively merged and extended with other currency schemes and also strives some aspects regarding the challenges of the ISO standard and the current java.util.Currency class. The presentation will shortly discuss numeric representation and will show what considerations must be done according to numeric precision and performance. Finally the presentation will also include more advanced usage scenarios such as currency exchange, complex rounding and formatting/parsing. Also included is a running demo that uses the JSR’s reference implementation.