fix(slides): correct date type in historical exchange rate example

Use `LocalDate` instead of `LocalDateTime` to align with
Moneta/ECB-HIST expectations for date-based queries.
This commit is contained in:
Marcus Fihlon 2026-04-20 00:19:32 +02:00
parent e8162f3f17
commit 50b6605285
Signed by: McPringle
GPG key ID: C6B7F469EE363E1F

View file

@ -676,7 +676,7 @@ MonetaryAmount amountCHF = Money.of(10, "CHF");
ConversionQuery query = ConversionQueryBuilder.of()
.setTermCurrency("EUR")
.set(LocalDateTime.class, LocalDateTime.of(2026, 3, 13, 14, 3, 27))
.set(LocalDate.class, LocalDate.of(2026, 3, 13))
.build();
CurrencyConversion conversion = MonetaryConversions.getConversion(query);