Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial implementation of ZonedDateTime, TimeZone, and Instant #3495

Closed
wants to merge 1 commit into from

Conversation

nekevss
Copy link
Member

@nekevss nekevss commented Dec 3, 2023

Depends on #3461.

This is the initial work on implementing ZonedDateTime, TimeZone, and Instant in boa_temporal.

This PR doesn't completely integrate with the Temporal builtins yet, so TimeZone's CustomTimeZone object integration is not totally proven, but the concept should be the same. To integrate properly, the PR seemed slightly dependent on the parser, which wasn't migrated to the new crate yet. So I thought I'd work on that next and submit this PR over another omnibus.

It changes the following:

  • Builds out ZonedDateTime, TimeZone, and Instant.
  • Adds balance methods to IsoDateTime, IsoTime

@nekevss nekevss added the builtins PRs and Issues related to builtins/intrinsics label Dec 3, 2023
@nekevss nekevss added this to the v0.18.0 milestone Dec 3, 2023
@jedel1043 jedel1043 deleted the branch temporal-crate-migration December 4, 2023 03:20
@jedel1043 jedel1043 closed this Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
builtins PRs and Issues related to builtins/intrinsics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants