Skip to content

Commit 6ee0c10

Browse files
authored
docs(bigquery): Add javadoc description of timestamp() parameter. (#3604)
* docs(bigquery): Add javadoc description of timestamp() parameter. * Fix formatting.
1 parent 528426b commit 6ee0c10

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/QueryParameterValue.java

+6-1
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,12 @@ public static QueryParameterValue bytes(byte[] value) {
300300
return of(value, StandardSQLTypeName.BYTES);
301301
}
302302

303-
/** Creates a {@code QueryParameterValue} object with a type of TIMESTAMP. */
303+
/**
304+
* Creates a {@code QueryParameterValue} object with a type of TIMESTAMP.
305+
*
306+
* @param value Microseconds since epoch, e.g. 1733945416000000 corresponds to 2024-12-11
307+
* 19:30:16.929Z
308+
*/
304309
public static QueryParameterValue timestamp(Long value) {
305310
return of(value, StandardSQLTypeName.TIMESTAMP);
306311
}

0 commit comments

Comments
 (0)