Closed ineiti closed 3 years ago
Kudos, SonarCloud Quality Gate passed!
0 Bugs
0 Vulnerabilities (and 0 Security Hotspots to review)
0 Code Smells
No Coverage information
0.0% Duplication
Comment from @ubamrein:
you say you want to prevent mixing of different clocks
but with the PR you use systemUTC for UTCInstant.now() and systemDefaultZone for the clock offset
so this introduces a mixing of clocks no?
Which is correct. Back to the drawing-board...
Closed in favour of #261
Mixing UTC-clock and local clock calculations while setting the clock can end up on the wrong side of the day. This PR uses the same clock for the calculation of noon and as the baseClock.