Skip to content

Add a initializer to Google_Protobuf_Timestamp with rounding control#1748

Merged
thomasvl merged 4 commits intoapple:mainfrom
thomasvl:better_timestamp_rounding_api
Jan 28, 2025
Merged

Add a initializer to Google_Protobuf_Timestamp with rounding control#1748
thomasvl merged 4 commits intoapple:mainfrom
thomasvl:better_timestamp_rounding_api

Conversation

@thomasvl
Copy link
Collaborator

Provide a new initializer with explicit rounding controls and map the other initializer though the single code paths.

Deprecate the old apis to direct folks to the new one to acknowledge the rounding that is happening on their values.

Provide a new initializer with explicit rounding controls and map the
other initializer though the single code paths.

Deprecate the old apis to direct folks to the new one to acknowledge the
rounding that is happening on their values.
Rephrase comments

Co-authored-by: Tony Allevato <tony.allevato@gmail.com>
@thomasvl thomasvl added the 🆕 semver/minor Adds new public API. label Jan 24, 2025
@thomasvl thomasvl merged commit c4a2ec0 into apple:main Jan 28, 2025
13 checks passed
@thomasvl thomasvl deleted the better_timestamp_rounding_api branch January 28, 2025 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🆕 semver/minor Adds new public API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants