-
-
Notifications
You must be signed in to change notification settings - Fork 117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for formatter formats #38
Comments
Its something I was too busy to finish. I think patterns like that would be a good feature. |
I agree. Is this something you're going to get back to? I would probably want to use the standard notation for patterns (i.e. I would actually have put those in a MoneyFormat class, similar to On Mon, Mar 17, 2014 at 3:10 PM, Stephen Colebourne <
|
I think a combination of ### type patterns and $ type patterns would be useful. Feel free to propose something, I'm not going to get to work on it anytime soon. In general, Joda-Time tends to try to be reasonably compatible with JDK patterns, so I'd expect money to do the same. No need to slavishly follow JDK mistakes though. |
I agree re: compatibility. The main issue I see right now with the Joda The Printer/Parser concept works well outside of the builder in any case; I On Mon, Mar 17, 2014 at 3:24 PM, Stephen Colebourne <
|
Just to note that the elements within the formatter do not have to be singletons, they can be private immutable inner classes with state. See Joda-Time/JSR-310 formatter for examples of this. Currency/Money data is present in CLDR, which is where Oracle/JDK gets its data. |
Hi,
I was looking at the source for Joda Money as it has no way to get a formatter for a specific locale, and noticed a couple commented out functions in MoneyFormatterBuilder taking patterns... Is that something you are working on and is coming up, or something that was abandoned?
The text was updated successfully, but these errors were encountered: