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

Next part of removals #2914

Merged
merged 4 commits into from
Jul 20, 2024
Merged

Next part of removals #2914

merged 4 commits into from
Jul 20, 2024

Conversation

ptomato
Copy link
Collaborator

@ptomato ptomato commented Jul 11, 2024

I was planning to do just one more PR to implement the removal of time zones and calendars from the July 2024 meeting, but I'm still working on removing complexity from the spec text that only made sense when we had time zones and calendars with user calls.

So here's a partial PR of things that I consider finished. We can get it reviewed and merged while I finish the rest.

ptomato and others added 2 commits July 11, 2024 16:51
…hods

TimeZone.p.getNextTransition → ZonedDateTime.p.nextTransition
TimeZone.p.getPreviousTransition → ZonedDateTime.p.previousTransition

This is one step towards removing Temporal.TimeZone. The functionality of
querying UTC offset transition remains, but is moved to ZonedDateTime.

See: #2826

Co-Authored-By: Richard Gibson <[email protected]>
Calendars and time zones will be only strings, not objects. Therefore
these methods that return the calendar or time zone as an object are not
needed.

See: #2826
@ptomato ptomato mentioned this pull request Jul 11, 2024
91 tasks
docs/zoneddatetime.md Outdated Show resolved Hide resolved
ptomato and others added 2 commits July 19, 2024 23:01
The whole Temporal.TimeZone is going to be removed in the following
commit, but since this method is being replaced with an idiom that needs
documentation, I'm removing it in a separate commit for ease of review.

See: #2628

Co-Authored-By: Richard Gibson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants