Skip to content

Commit e30d0b9

Browse files
committed
2 parents cb4a85b + b201848 commit e30d0b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/asciidoc/JavaMoneySpecification.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3192,7 +3192,7 @@ MonetaryAmount inEUR = inCHF.with(conv);
31923192
Also 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
31983198
To cover also more complex usage scenarios we can also pass a +ConversionQuery+ with additional parameters for
@@ -3202,7 +3202,7 @@ conversion, e.g.:
32023202
-------------------------------------------------------------------
32033203
MonetaryAmount inCHF =...;
32043204
CurrencyConversion 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))

0 commit comments

Comments
 (0)