e.g. using -Duser.timezone or read from system environment like
$TZ
-邮件原件-
发件人: Willem Jiang [mailto:willem.ji...@gmail.com]
发送时间: 2019年12月15日 9:36
收件人: dev
主题: Re: [DISCUSS][JavaChassis] Specify a way to generate java.time.Clock
It think we may provide a way to set the zone by checking
It think we may provide a way to set the zone by checking the System
variable such TZ[1], if we cannot find the variable, we could use the
system default as a fallback with some log information.
[1]https://www.gnu.org/software/libc/manual/html_node/TZ-Variable.html
Willem Jiang
Twitter: willemji
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 wrote??
Hi Team,
I am currently solving issue
[SBC-1559](https://issues.apache.org/jira/browse/SCB-1559). The core idea o
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 java.lang.System#currentTimeMillis to get time for mocking
purpose.
java.time.Clock provides many different ways to generate a clock