Replace DateTime with Timestamp#1947
Merged
shinfan merged 4 commits intogoogleapis:masterfrom Apr 19, 2017
Merged
Conversation
| assertThat(Timestamp.MAX_VALUE.getNanos()).isEqualTo(999999999); | ||
| } | ||
|
|
||
| @Test |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| } | ||
|
|
||
| @Test | ||
| public void testRunInTransaction() { |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| * | ||
| * @throws IllegalArgumentException if the timestamp is outside the representable range | ||
| */ | ||
| public static Timestamp ofTimeMicroseconds(long microseconds) { |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Contributor
Author
|
PTAL |
Contributor
garrettjonesgoogle
left a comment
There was a problem hiding this comment.
LGTM after you fix the doc nits
| return new Timestamp(seconds, nanos); | ||
| } | ||
|
|
||
| /** |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| return new Timestamp(seconds, nanos); | ||
| } | ||
|
|
||
| /** |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
chingor13
pushed a commit
that referenced
this pull request
Jan 22, 2026
* feat: Add sample code for connection pooling * Fix header * chore: generate libraries at Wed Aug 20 23:03:06 UTC 2025 --------- Co-authored-by: cloud-java-bot <cloud-java-bot@google.com>
chingor13
pushed a commit
that referenced
this pull request
Feb 20, 2026
* chore(bazel): update protobuf to v3.21.12 PiperOrigin-RevId: 503267695 Source-Link: googleapis/googleapis@c790590 Source-Link: https://github.com/googleapis/googleapis-gen/commit/b98230b9e68a3828cf138296e9a20e03749ae0a0 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjk4MjMwYjllNjhhMzgyOGNmMTM4Mjk2ZTlhMjBlMDM3NDlhZTBhMCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
chingor13
pushed a commit
that referenced
this pull request
Feb 20, 2026
) (#2460) Source-Link: googleapis/synthtool@349943b Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:033161f610016d155d58f96769ad5a821d203824684e8a13fc50be8c25a5f9cf Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
suztomo
pushed a commit
that referenced
this pull request
Mar 9, 2026
) (#3227) * chore: adding 'infrastructure-public-image-' tags for owlbot-java (#1947) Source-Link: googleapis/synthtool@349943b Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-java:latest@sha256:033161f610016d155d58f96769ad5a821d203824684e8a13fc50be8c25a5f9cf * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
lqiu96
pushed a commit
that referenced
this pull request
Mar 20, 2026
* feat: Add sample code for connection pooling * Fix header * chore: generate libraries at Wed Aug 20 23:03:06 UTC 2025 --------- Co-authored-by: cloud-java-bot <cloud-java-bot@google.com>
suztomo
pushed a commit
to suztomo/google-cloud-java
that referenced
this pull request
Mar 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #1920