We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cbc7054 commit 23730c4Copy full SHA for 23730c4
1 file changed
google-cloud-bigquery/src/main/java/com/google/cloud/bigquery/FieldValue.java
@@ -303,7 +303,7 @@ public long timestampValue() {
303
public long getTimestampValue() {
304
// timestamps are encoded in the format 1408452095.22 where the integer part is seconds since
305
// epoch (e.g. 1408452095.22 == 2014-08-19 07:41:35.220 -05:00)
306
- return new Double(((Double.valueOf(getStringValue())) * MICROSECONDS)).longValue();
+ return new Double(Double.valueOf(getStringValue()) * MICROSECONDS).longValue();
307
}
308
309
/**
0 commit comments