jsr354-ri
jsr354-ri copied to clipboard
JSR 354 - Moneta: Reference Implementation
The Money.class implements the MonetaryAmount interface that specifies a negate method. According to the JavaDocs, the negate function shall return " a MonetaryAmount whose value is -this, and whose scale...
I notice some hanging when grabbing fresh data, specifically with the IMF resources. I see that there is an override for `useragent` in the properties for this provider, likely for...
hi, i have to provide a dependency license report for the projects we build. is it possible for you to put the LICENSE file into the jar files? because several...
This PR fixes #346 issue and adds some basic conversion tests --- This change is [](https://reviewable.io/reviews/javamoney/jsr354-ri/347)
Line 122 in Money.java references the `monetaryContext` parameter, not the field (`this.monetaryContext`) which is updated on lines 117/119. https://github.com/JavaMoney/jsr354-ri/blob/fdb10996697842f5544a23618fa12aa6fc694baa/moneta-core/src/main/java/org/javamoney/moneta/Money.java#L122
I belive the `roundFactor` method in `AbstractCurrencyConversion` uses a wrong scale in case the amount has a context and the allowes a much higher scale then the factor has. The...
After upgrading our application to Java 11 we are observing a `UnknownCurrencyException` exception similar to #158. We are already using version 1.3 of moneta together with [jackson-datatype-money](https://github.com/zalando/jackson-datatype-money). implementation('org.javamoney:moneta:1.3') implementation('org.zalando:jackson-datatype-money:1.1.1') The...
It would be nice to have a configuration property for `setMaxScale` and `setFixedScale` for `DefaultMonetaryContextFactory`. For example through the properties: * `org.javamoney.moneta.Money.defaults.maxScale` * `org.javamoney.moneta.Money.defaults.fixedScale`
Bringing the discussion from Gitter to here, as I was asked to implement a test case without frameworks, just raw moneta. Below is my pom.xml file: ``` 4.0.0 com.example test...
When an instance of `RoundedMoney` is created the rounding operator is not applied. This compounded by the fact that operations assume the instance is rounded so the shortcuts or add,...