Converts a year and a month to YearMonth

All 3 scenarios hold

expected outcome broken scenario
ScenarioInput valueParameter type?YearMonth year?YearMonth month?YearMonth length?
March 20172017-03java.time.YearMonth2017MARCH31
December 20252025-12java.time.YearMonth2025DECEMBER31
February 20242024-02java.time.YearMonth2024FEBRUARY29