This is an implementation of primitiveUtcWithOffset, a named (not numbered) primitive that answers UTC microseconds and local timezone offset in an atomic prim call. Required for the UTCDateAndTime enhancements to Squeak's base Chronology package. DateAndTime>>now is 70x faster (!) with this implementation versus traditional Squeak Chronology when running on SqueakJS.
This is an implementation of primitiveUtcWithOffset, a named (not numbered) primitive that answers UTC microseconds and local timezone offset in an atomic prim call. Required for the UTCDateAndTime enhancements to Squeak's base Chronology package. DateAndTime>>now is 70x faster (!) with this implementation versus traditional Squeak Chronology when running on SqueakJS.