From 6cada9e8fc29bd865f86e6ed7b3f62bbf2e8066e Mon Sep 17 00:00:00 2001 From: Liam Huffman Date: Wed, 11 Dec 2024 11:32:53 -0800 Subject: [PATCH] docs(bigquery): Add javadoc description of timestamp() parameter. --- .../java/com/google/cloud/bigquery/QueryParameterValue.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/QueryParameterValue.java b/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/QueryParameterValue.java index 900d04b4e..3fc12c1a8 100644 --- a/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/QueryParameterValue.java +++ b/google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/QueryParameterValue.java @@ -300,7 +300,11 @@ public static QueryParameterValue bytes(byte[] value) { return of(value, StandardSQLTypeName.BYTES); } - /** Creates a {@code QueryParameterValue} object with a type of TIMESTAMP. */ + /** + * Creates a {@code QueryParameterValue} object with a type of TIMESTAMP. + * @param value Microseconds since epoch, e.g. 1733945416000000 corresponds + * to 2024-12-11 19:30:16.929Z + * */ public static QueryParameterValue timestamp(Long value) { return of(value, StandardSQLTypeName.TIMESTAMP); }