New test to expose critical bug in the proposed UTCDateAndTime.
=============== Diff against Chronology-Tests-dtl.10 ===============
Item was added:
+ ----- Method: DateAndTimeTest>>testRestoreFromChronologyTicksAndOffset (in category 'Tests') -----
+ "Legacy serialized instances are made up of 3 SmallIntegers knowns as 'ticks' plus an 'offset' Duration. Ensure a serialized DateAndTime can be correctly restored from these values."
+ | dt newDt |
+ dt := '2018-11-17T14:19:42.887676-06:00' asDateAndTime.
+ newDt := DateAndTime basicNew ticks: dt ticks offset: dt offset.
+ self assert: dt = newDt!
> Chris Muller uploaded a new version of Chronology-Tests to project The Trunk:
> http://source.squeak.org/trunk/Chronology-Tests-cmm.11.mcz >
> ==================== Summary ====================
> Name: Chronology-Tests-cmm.11
> Author: cmm
> Time: 17 November 2018, 10:40:40.86556 pm
> UUID: 13d8a1e2-6c40-453d-ae49-ea6326bac912
> Ancestors: Chronology-Tests-dtl.10
> New test to expose critical bug in the proposed UTCDateAndTime.
Good catch, the fix for the UTC flavor of Chronology is on squeaksource