File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3192,7 +3192,7 @@ MonetaryAmount inEUR = inCHF.with(conv);
3192
3192
Also we can define the providers to be used for currency conversion by passing the provider names explicitly:
3193
3193
[source,java]
3194
3194
-------------------------------------------------------------------------------
3195
- CurrencyConversion conv = MonetaryConversions.getConversion("EUR", "EZB ", "IMF");
3195
+ CurrencyConversion conv = MonetaryConversions.getConversion("EUR", "ECB ", "IMF");
3196
3196
-------------------------------------------------------------------------------
3197
3197
3198
3198
To cover also more complex usage scenarios we can also pass a +ConversionQuery+ with additional parameters for
@@ -3202,7 +3202,7 @@ conversion, e.g.:
3202
3202
-------------------------------------------------------------------
3203
3203
MonetaryAmount inCHF =...;
3204
3204
CurrencyConversion conv = MonetaryConversions.getConversion(ConversionQueryBuilder.of()
3205
- .setProviders("CS", "EZB ", "IMF")
3205
+ .setProviders("CS", "ECB ", "IMF")
3206
3206
.setTermCurrency("EUR")
3207
3207
.set(MonetaryAmount.class, inCHF, MonetaryAmount.class)
3208
3208
.set(LocalDate.of(2008, 1, 1))
You can’t perform that action at this time.
0 commit comments