Skip to content

Add a new PartialYearMonth to available partial structs (#288)#342

Merged
nekevss merged 8 commits into
boa-dev:mainfrom
robot-head:partialyearmonth
Jun 21, 2025
Merged

Add a new PartialYearMonth to available partial structs (#288)#342
nekevss merged 8 commits into
boa-dev:mainfrom
robot-head:partialyearmonth

Conversation

@robot-head

Copy link
Copy Markdown
Contributor

Issue: #288

  • introduce PartialYearMonth
  • update calendar API to accept PartialYearMonth
  • migrate YearMonth methods and tests to the new partial struct
  • expose PartialYearMonth from library
  • add unit tests for PartialYearMonth

@nekevss nekevss left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this!

This is looking good overall. I have one small nit, but then everything should be good to go.

Comment thread src/builtins/core/calendar.rs
@nekevss nekevss added C-enhancement New feature or request C-api Changes related to the public API labels Jun 20, 2025
@robot-head robot-head requested a review from nekevss June 21, 2025 23:12

@nekevss nekevss left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect! Thanks for addressing the nitpick.

@nekevss nekevss merged commit 531cee1 into boa-dev:main Jun 21, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-api Changes related to the public API C-enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants