exercism / exercism/java

Meetup: Add hints.md to guide students towards TemporalAdjusters

Open
#2,935 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
834
Forks
779
Avg merge
1d 1h
Merged PRs (30d)
3

Description

The Java "Meetup" exercise requires calculating specific dates based on rules like "first Monday", "third Tuesday", "teenth Wednesday", or "last Friday" of a given month and year. While solvable by manually iterating through days, the idiomatic and most efficient solution leverages the java.time API, specifically the java.time.temporal.TemporalAdjusters utility class.

Many students, especially those less familiar with Java 8+ date/time features, may not be aware of TemporalAdjusters. This can lead to frustration or reliance on more verbose, less efficient manual implementations, potentially missing a key learning opportunity about the standard library.

## Proposed Solution:

Add a hints.md file to the exercises/practice/meetup/ directory to gently guide students towards the relevant java.time features without giving away the implementation details.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.