<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 6 oct. 2020 à 07:19,  <<a href="mailto:commits@source.squeak.org">commits@source.squeak.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Eliot Miranda uploaded a new version of Chronology-Core to project The Trunk:<br>
<a href="http://source.squeak.org/trunk/Chronology-Core-eem.61.mcz" rel="noreferrer noreferrer" target="_blank">http://source.squeak.org/trunk/Chronology-Core-eem.61.mcz</a><br>
<br>
==================== Summary ====================<br>
<br>
Name: Chronology-Core-eem.61<br>
Author: eem<br>
Time: 5 October 2020, 10:19:35.996376 pm<br>
UUID: 13de44be-afb9-4f0f-81b1-5f3f8fa821db<br>
Ancestors: Chronology-Core-dtl.60<br>
<br>
Provide Time class>>millisecondClock and DateAndTime class>>millisecondClock to indicate that this is now a proiper clock.  It will not roll-over after 45 days like the old 30 bit millisecond clock.<br>
<br>
Nw code should use millisecondClock, not millisecondClockValue, and old code (senders of millisecondClockValue) should be migrated whenever convenient.<br>
<br>
=============== Diff against Chronology-Core-dtl.60 ===============<br>
<br>
Item was added:<br>
+ ----- Method: DateAndTime class>>millisecondClock (in category 'smalltalk-80') -----<br>
+ millisecondClock<br>
+ <br>
+       ^self clock millisecondClock!<br>
<br>
Item was added:<br>
+ ----- Method: Time class>>millisecondClock (in category 'general inquiries') -----<br>
+ millisecondClock<br>
+       "Answer the value of the millisecond clock. Unlike older implementatins, this is a clock; it will never roll-over."<br></blockquote></div></div><div dir="auto">+1</div><div dir="auto"><br></div><div dir="auto">Oh, but didn't traditional clock use to rollover every 12 hours or so ? ;)</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
+ <br>
+       ^self utcMicrosecondClock // 1000!<br>
<br>
<br>
</blockquote></div></div></div>