Hi, maybe use Clock.systemDefaultZone() is okay? Users will specify the JVM 
timezone if necessary.


Yours sincerely


Yao Haishi
yhs0...@163.com


On 12/12/2019 16:50??Ang Li<liang951...@qq.com> wrote??
Hi Team,
I am currently solving issue 
[SBC-1559](https://issues.apache.org/jira/browse/SCB-1559). The core idea of 
this issue is using java.time.Clock instead 
of&nbsp;java.lang.System#currentTimeMillis to get time for mocking 
purpose.&nbsp;
java.time.Clock provides many different ways to generate a clock. I am 
wondering which one should we use and do we need to specify a zone?
Thanks a lot if someone can help.


--------------------------------------
Ang Li

Reply via email to