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);
31923192Also we can define the providers to be used for currency conversion by passing the provider names explicitly:
31933193[source,java]
31943194-------------------------------------------------------------------------------
3195- CurrencyConversion conv = MonetaryConversions.getConversion("EUR", "EZB ", "IMF");
3195+ CurrencyConversion conv = MonetaryConversions.getConversion("EUR", "ECB ", "IMF");
31963196-------------------------------------------------------------------------------
31973197
31983198To cover also more complex usage scenarios we can also pass a +ConversionQuery+ with additional parameters for
@@ -3202,7 +3202,7 @@ conversion, e.g.:
32023202-------------------------------------------------------------------
32033203MonetaryAmount inCHF =...;
32043204CurrencyConversion conv = MonetaryConversions.getConversion(ConversionQueryBuilder.of()
3205- .setProviders("CS", "EZB ", "IMF")
3205+ .setProviders("CS", "ECB ", "IMF")
32063206 .setTermCurrency("EUR")
32073207 .set(MonetaryAmount.class, inCHF, MonetaryAmount.class)
32083208 .set(LocalDate.of(2008, 1, 1))
You can’t perform that action at this time.
0 commit comments