Commit graph

6 commits

Author SHA1 Message Date
59d2342104
docs(slides): add Otavio Santana as JSR-354 spec lead 2026-04-20 00:20:21 +02:00
50b6605285
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.
2026-04-20 00:19:32 +02:00
e8162f3f17
refactor(workshop): drop historical currency conversion exercises
Remove tasks depending on ECB-HIST as historical rate queries
are inconsistent and environment-dependent.
2026-04-20 00:18:14 +02:00
e7e8662414
refactor(workshop): remove redundant VAT rounding method
roundVatAmount duplicated default rounding logic and did not
demonstrate a distinct rounding use case.
2026-04-20 00:15:42 +02:00
21d835b9ca
feat(exercises): add JSR-354 workshop exercises (part1–part3)
Introduce hands-on exercises with tests covering:

* part1: MoneyExercises, ArithmeticExercises, RoundingExercises,
  FormattingExercises, ParsingExercises, IntegrationExercises
* part2: CurrencyConversionExercises, MonetaryOperatorExercises,
  MonetaryQueryExercises, MonetaryContextExercises,
  RoundingStrategyExercises
* part3: OrderExercises (end-to-end order workflow)

Use incomplete production methods with TODOs and complete JUnit 5 tests
(AssertJ only). Tests focus on observable behavior and avoid fragile
assertions (e.g., no fixed FX rates). Ensure clear progression from
basics to advanced concepts and final integration task.
2026-04-19 21:07:46 +02:00
e83a9a5b93
feat(slides): add workshop slides for JSR-354 Money and Currency API
Introduce complete slide deck covering:
- problem statement and limitations of double, BigDecimal, and Currency
- fundamentals of MonetaryAmount, CurrencyUnit, and Money
- arithmetic operations, rounding, formatting, and parsing
- advanced concepts: currency conversion, MonetaryOperator, MonetaryQuery, MonetaryContext
- architecture and integration topics
- hands-on exercises for all sections

Add informational slide about JSR-354, its origins, and key contributors.
Include exercise guidance, pause slide, and workshop wrap-up.

Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>
2026-04-19 20:52:27 +02:00