Levente Uzonyi uploaded a new version of Kernel to project The Trunk: http://source.squeak.org/trunk/Kernel-ul.447.mcz
==================== Summary ====================
Name: Kernel-ul.447 Author: ul Time: 28 April 2010, 10:01:34.283 am UUID: e4508c46-01d1-b943-8c11-b4a471f12488 Ancestors: Kernel-ar.446
- use #quo: and #rem: instead of #// and #\ to handle negative arguments properly in Duration class >> #milliSeconds: - also removed the method comment which was obsolete
=============== Diff against Kernel-ar.446 ===============
Item was changed: ----- Method: Duration class>>milliSeconds: (in category 'squeak protocol') ----- milliSeconds: milliCount + + ^self + seconds: (milliCount quo: 1000) + nanoSeconds: (milliCount rem: 1000) * NanosInMillisecond! - "Since seconds is 0 we can call the instance directly." - ^ self - seconds: milliCount // 1000 - nanoSeconds: (milliCount \ 1000)*NanosInMillisecond!
packages@lists.squeakfoundation.org