The Trunk: Chronology-Core-dtl.40.mcz

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

The Trunk: Chronology-Core-dtl.40.mcz

commits-2
David T. Lewis uploaded a new version of Chronology-Core to project The Trunk:
http://source.squeak.org/trunk/Chronology-Core-dtl.40.mcz

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

Name: Chronology-Core-dtl.40
Author: dtl
Time: 27 January 2019, 6:03:22.297765 pm
UUID: 1a41ff47-716c-4625-9be2-38eaa73f2640
Ancestors: Chronology-Core-dtl.38

Implement Timespan>>beCanonical from Chronology-Core-cmm.15, accidentally omitted in recent UTC updates.

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

Item was added:
+ ----- Method: Timespan>>beCanonical (in category 'squeak protocol') -----
+ beCanonical
+ "Chronology preserves Timespans that are extracted from DateAndTime's, making Dates, Months and Years in Squeak able to represent a true Timespan of those durations starting at a specific local DateAndTime.  In case a canonical version is needed, make the receiver independent of any Timezone by removing it."
+ start makeUTC!