Commit graph

4 commits

Author SHA1 Message Date
f307005c6d
feat(workshop): add bonus exercises for custom providers and currencies
Introduce optional bonus tasks in part4 covering:
- CSV-based exchange rate provider
- historical exchange rate provider with date handling
- custom currency (DKP) with bidirectional conversion

Provide exercise scaffolding and tests for all scenarios.

Signed-off-by: Marcus Fihlon <marcus@fihlon.swiss>
2026-04-20 10:04:51 +02:00
4f915afb06
feat(workshop): add reference implementations for exercises (part1–part3)
Add complete solutions for all workshop exercises covering:
- part1: basics (amounts, arithmetic, rounding, formatting, parsing)
- part2: operators and queries
- part3: integration scenarios

Implementations follow JSR-354 best practices and align with
exercise tests and workshop structure.
2026-04-19 23:58:13 +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