[squeak-dev] The Trunk: Kernel-cmm.992.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Feb 18 04:08:14 UTC 2016

Chris Muller uploaded a new version of Kernel to project The Trunk:

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

Name: Kernel-cmm.992
Author: cmm
Time: 17 February 2016, 10:07:45.342973 pm
UUID: 06f233cb-83a0-466a-b96a-362a4d63864d
Ancestors: Kernel-bf.991

DateAndTime class>>#nowWithOffset: was part of the public API needed by applications.

=============== Diff against Kernel-bf.991 ===============

Item was added:
+ ----- Method: DateAndTime class>>nowWithOffset: (in category 'squeak protocol') -----
+ nowWithOffset: aDuration 
+ 	^ self
+ 		now: self clock localMicrosecondClockWithOffset first
+ 		offset: aDuration!

Item was changed:
  ----- Method: Timespan class>>current (in category 'squeak protocol') -----
+ 	^ self starting: (DateAndTime nowWithOffset: self defaultOffset)!
- 	^ self starting: DateAndTime now!

More information about the Squeak-dev mailing list