3 ms·
I am using java.time.Clock class in Java - really similar to what’s mentioned for Go in the article! It works great and enables us to write reliable, comprehens
by cmwelsh 6y ago
I am using java.time.Clock class in Java - really similar to what’s mentioned for Go in the article! It works great and enables us to write reliable, comprehensive, reproduce-able unit tests.
- oftenwrong 6y agoSame here. Any code that references the current time gets it from a Clock parameter.
- deleted 6y ago[deleted]