[squeak-dev] The Trunk: Chronology-Core-ul.58.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Sep 6 12:29:23 UTC 2020


Levente Uzonyi uploaded a new version of Chronology-Core to project The Trunk:
http://source.squeak.org/trunk/Chronology-Core-ul.58.mcz

==================== Summary ====================

Name: Chronology-Core-ul.58
Author: ul
Time: 6 September 2020, 2:28:59.102076 pm
UUID: 67bb8acc-c81b-4e0c-a6f2-e9603c284236
Ancestors: Chronology-Core-dtl.57

Simplify DateAndTime class>>unixEpoch

=============== Diff against Chronology-Core-dtl.57 ===============

Item was changed:
  ----- Method: DateAndTime class>>unixEpoch (in category 'squeak protocol') -----
  unixEpoch
  	"Answer a DateAndTime representing the Unix epoch (1 January 1970, midnight UTC)"
  
+ 	^self utcMicroseconds: 0 offset: 0!
- 	^ self basicNew
- 		ticks: #(2440588 0 0) offset: Duration zero;
- 		yourself.
- !



More information about the Squeak-dev mailing list