Skip to content

Commit

Permalink
docs(bigquery): Add javadoc description of timestamp() parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
whuffman36 committed Dec 11, 2024
1 parent 528426b commit 6cada9e
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 6cada9e

Please sign in to comment.