Skip to content

Add a proposal for the definition of a UTCClock #1342

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

Merged
merged 11 commits into from
Jun 10, 2025

Conversation

phausler
Copy link
Contributor

@phausler phausler commented Jun 9, 2025

This adds a new API defining an additional clock primitive that uses Date as an Instant and additionally adds routines for looking up historical leap seconds for high precision calculations that involve leap seconds.

@itingliu itingliu added the proposal This PR is for a proposal label Jun 10, 2025
@itingliu
Copy link
Contributor

@swift-ci please test

@itingliu itingliu merged commit 1fc2be3 into swiftlang:main Jun 10, 2025
3 checks passed
chloe-yeo pushed a commit to chloe-yeo/swift-foundation that referenced this pull request Jun 11, 2025
* Add a proposal for the definition of a UTCClock

* Update Proposals/NNNN-UTCClock.md

Co-authored-by: Tina L <[email protected]>

* Update Proposals/NNNN-UTCClock.md

Co-authored-by: Tina L <[email protected]>

* Update Proposals/NNNN-UTCClock.md

Co-authored-by: Tina L <[email protected]>

* Update Proposals/NNNN-UTCClock.md

Co-authored-by: Tina L <[email protected]>

* Update Proposals/NNNN-UTCClock.md

Co-authored-by: Tina L <[email protected]>

* Update Proposals/NNNN-UTCClock.md

Co-authored-by: Tina L <[email protected]>

* Update Proposals/NNNN-UTCClock.md

Co-authored-by: Tina L <[email protected]>

* Update Proposals/NNNN-UTCClock.md

Co-authored-by: Tina L <[email protected]>

* Update Proposals/NNNN-UTCClock.md

Co-authored-by: Tina L <[email protected]>

* Update Proposals/NNNN-UTCClock.md

Co-authored-by: Tina L <[email protected]>

---------

Co-authored-by: Tina L <[email protected]>
chloe-yeo pushed a commit to chloe-yeo/swift-foundation that referenced this pull request Jun 16, 2025
* Add a proposal for the definition of a UTCClock

* Update Proposals/NNNN-UTCClock.md

Co-authored-by: Tina L <[email protected]>

* Update Proposals/NNNN-UTCClock.md

Co-authored-by: Tina L <[email protected]>

* Update Proposals/NNNN-UTCClock.md

Co-authored-by: Tina L <[email protected]>

* Update Proposals/NNNN-UTCClock.md

Co-authored-by: Tina L <[email protected]>

* Update Proposals/NNNN-UTCClock.md

Co-authored-by: Tina L <[email protected]>

* Update Proposals/NNNN-UTCClock.md

Co-authored-by: Tina L <[email protected]>

* Update Proposals/NNNN-UTCClock.md

Co-authored-by: Tina L <[email protected]>

* Update Proposals/NNNN-UTCClock.md

Co-authored-by: Tina L <[email protected]>

* Update Proposals/NNNN-UTCClock.md

Co-authored-by: Tina L <[email protected]>

* Update Proposals/NNNN-UTCClock.md

Co-authored-by: Tina L <[email protected]>

---------

Co-authored-by: Tina L <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal This PR is for a proposal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants