Levente Uzonyi uploaded a new version of Chronology-Core to project The Trunk:
http://source.squeak.org/trunk/Chronology-Core-ul.10.mcz==================== Summary ====================
Name: Chronology-Core-ul.10
Author: ul
Time: 21 January 2018, 10:47:08.890119 pm
UUID: 415cc09f-0491-491c-b6a1-d4e696597018
Ancestors: Chronology-Core-pre.9
- applied SourceCodeFixer
=============== Diff against Chronology-Core-pre.9 ===============
Item was changed:
----- Method: DateAndTime>>< (in category 'ansi protocol') -----
< comparand
"comparand conforms to protocol DateAndTime,
or can be converted into something that conforms."
| lvalue rvalue comparandAsDateAndTime |
+ comparandAsDateAndTime := comparand asDateAndTime.
- comparandAsDateAndTime _ comparand asDateAndTime.
self offset = comparandAsDateAndTime offset
ifTrue:
[ lvalue := self.
rvalue := comparandAsDateAndTime ]
ifFalse:
[ lvalue := self asUTC.
rvalue := comparandAsDateAndTime asUTC ].
^ lvalue julianDayNumber < rvalue julianDayNumber or:
[ lvalue julianDayNumber > rvalue julianDayNumber
ifTrue: [ false ]
ifFalse:
[ lvalue secondsSinceMidnight < rvalue secondsSinceMidnight or:
[ lvalue secondsSinceMidnight > rvalue secondsSinceMidnight
ifTrue: [ false ]
ifFalse: [ lvalue nanoSecond < rvalue nanoSecond ] ] ] ]!