[JAVAMONEY-20] Formatting and Parsing Created: 01/Feb/13  Updated: 10/Mar/14  Resolved: 10/Mar/14

Status: Closed
Project: javamoney
Component/s: API
Affects Version/s: None
Fix Version/s: 0.8

Type: New Feature Priority: Major
Reporter: atsticks Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Tags: Locale_extensions, builder, format, parsing, styles

 Description   

Define comprehensive and powerful formatting and parsing features for the different artifacts and use cases defined in Java Money. Hereby support

  • multiple styles
  • multiple locales
  • additional custom attributes required by the parser/formatter.
  • For programmatic use cases provide also a builder pattern.

The Locale extensions available since SE 7 provide a good starting point. Also the Unicode standard gives additional input.



 Comments   
Comment by chrispheby [ 05/Feb/13 ]

One point is that in almost all locales western number formatting and English are used for financial calculations even if alternatives are used in other contexts. Also we need to consider use case specific representations - e.g. use of '(' and ')' in financial accounts. i.e. common use of the API may not simply be render in the users locale.

Comment by atsticks [ 05/Feb/13 ]

I made some tests with the new Unicode Locale extensions support, valid starting from JDK7. In my opinion the possibilities are very strict, so I still think we need some style artifacts as the ones designed currently.

Comment by atsticks [ 10/Mar/14 ]

There is a simple formatting API since 0.8.

Generated at Wed Jul 29 10:24:35 UTC 2015 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.