hengfengli commented on code in PR #17200:
URL: https://github.com/apache/beam/pull/17200#discussion_r844489873


##########
sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/spanner/changestreams/restriction/TimestampUtils.java:
##########
@@ -30,6 +30,11 @@
       BigDecimal.valueOf(Timestamp.MIN_VALUE.getSeconds());
   private static final int NANOS_PER_SECOND = (int) 
TimeUnit.SECONDS.toNanos(1);
 
+  /** This interface is only used for replacing now() with a constant 
timestamp for testing. */
+  public interface TimeFunction {

Review Comment:
   Nice suggestion. Updated. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to