[squeak-dev] UTCDateAndTime updated for Squeak trunk Chronology and Spur (was: UTCDateAndTime updated for Squeak 4.6/5.0)

David T. Lewis lewis at mail.msen.com
Wed Mar 23 23:51:28 UTC 2016


On Wed, Mar 23, 2016 at 04:22:21PM -0700, Eliot Miranda wrote:
> 
> Turns out this isn't needed for Cog.  I have ioLocalSecondsOffset which
> answers a value determined at start-up and only changed
> via ioUpdateVMTimezone, which itself is controlled by
> primitiveUpdateTimezone, #243.  So ioUTCMicroseconds is all that's needed
> to get at the clock and timezone atomically.

If it is updated at start-up, then it's wrong. Think of daylight savings
time transitions.

Dave



More information about the Squeak-dev mailing list