FogBugz (Case [Issue]5952) Chronology - Remove Squeak epoch

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

FogBugz (Case [Issue]5952) Chronology - Remove Squeak epoch

Pharo Issue Tracker
A FogBugz case was edited by Nicolas Cellier.

Case ID:      5952
Title:        Remove Squeak epoch
Status:       On Hold
Category:     Bug
Project:      Chronology
Area:         Misc
Priority:     6 - Fix If Time
Milestone:    Later
Assigned To:  Camillo Bruni

URL:          https://pharo.fogbugz.com/default.asp?5952

1) The Squeak epoch is not vague, it's the beginning of Squeak century (January 1st 1901).
2) once correctly set to be the UTC epoch (it should always have been, and it currently is), and not a floating epoch depending on local time (horrible thing!), then it's not bogus at all.
3) the Squeak epoch is transparent and should not be revealed in DateAndTime API
4) the primitives (including microseconds clock) are aware of this epoch, so it's difficult to change and creates an unecessary fork with COG (think of reducing maintenance cost).

The only reason I see to change the epoch is to reduce the LargeInteger cost. But with microsecond clock, we very soon get a LargeInteger (after 1074 seconds...), so beat it, it's better wait the 64-bit images.


You are subscribed to this case.  If you do not want to receive automatic notifications in the future, unsubscribe (https://pharo.fogbugz.com/default.asp?pre=preUnsubscribe&pg=pgEditBug&command=view&ixBug=5952) from this case.

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker