Skip to content

Replace DateTime with Timestamp#1947

Merged
shinfan merged 4 commits intogoogleapis:masterfrom
shinfan:datastore
Apr 19, 2017
Merged

Replace DateTime with Timestamp#1947
shinfan merged 4 commits intogoogleapis:masterfrom
shinfan:datastore

Conversation

@shinfan
Copy link
Contributor

@shinfan shinfan commented Apr 19, 2017

Fixes #1920

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Apr 19, 2017
assertThat(Timestamp.MAX_VALUE.getNanos()).isEqualTo(999999999);
}

@Test

This comment was marked as spam.

This comment was marked as spam.

}

@Test
public void testRunInTransaction() {

This comment was marked as spam.

This comment was marked as spam.

*
* @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.

@shinfan
Copy link
Contributor Author

shinfan commented Apr 19, 2017

PTAL

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.004%) to 80.836% when pulling 43e0919 on shinfan:datastore into ff8376e on GoogleCloudPlatform:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.01%) to 80.828% when pulling 43e0919 on shinfan:datastore into ff8376e on GoogleCloudPlatform:master.

Copy link
Contributor

@garrettjonesgoogle garrettjonesgoogle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after you fix the doc nits

return new Timestamp(seconds, nanos);
}

/**

This comment was marked as spam.

return new Timestamp(seconds, nanos);
}

/**

This comment was marked as spam.

@shinfan shinfan merged commit 0c2a6cd into googleapis:master Apr 19, 2017
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants