Fix in inbox: Name: SLICE-Issue-5913-Remove-Squeak-epoch-SeanDeNigris.1
This was a complicated change that's obviously at the core of the system.
Although all 385 of KernelTests-Chronology tests pass[1], I'd really
appreciate some feedback and testing...
[1] except the DateAndTime*EpochTest classes, which should be removed; see
below
General
* Update all comments referencing the Squeak Epoch
* There is a VM primitive that returns current seconds since the Squeak
epoch. For now, I have adjusted all users of this primitive for the Unix
epoch, but it would be cleaner to change the primitive and remove this hack
Kernel-Chronology
* Change SqueakEpoch from ChronologyConstants
- rename to UnixEpoch
- change value to that of UnixEpoch
* Replace all uses of SqueakEpoch with UnixEpoch
* change DateAndTime class>>epoch to use UTC
KernelTests-Chronology
* Fix all tests to pass, except the DateAndTime*EpochTest classes, which are
incredibly redundant and should be removed (Issue 5910: [Cleanup]: Gut
DateAndTimeDosEpochTests)
* Removed many magic numbers
* cleaned and refactored
Other
* Fix MailMessage and MessageList to use new epoch
--
View this message in context:
http://forum.world.st/Epoch-returns-local-offset-tp4630549p4630698.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.