On 3 May 2013 17:44, Nicolas Cellier <[hidden email]> wrote:
> Then we should close > http://bugs.squeak.org/bug_view_advanced_page.php?bug_id=7255 > See also the link to > http://english.stackexchange.com/questions/24457/general-purpose-antonym-for-ago Really, this should have been done about 5 years ago: it's a nice feature, and M8R provided tests. What else might be lurking in there? frank > 2013/5/3 <[hidden email]> > >> Chris Muller uploaded a new version of Kernel to project The Trunk: >> http://source.squeak.org/trunk/Kernel-cmm.757.mcz >> >> ==================== Summary ==================== >> >> Name: Kernel-cmm.757 >> Author: cmm >> Time: 3 May 2013, 11:37:02.186 am >> UUID: 655c18f5-1a73-4fae-bd0d-0e2bb4bb06d7 >> Ancestors: Kernel-dtl.756 >> >> - Added convenience methods for creating DateAndTimes relative to now. >> - When materializing Floats via fromIEEE32Bit:, use the canonicalized 0.0. >> >> =============== Diff against Kernel-dtl.756 =============== >> >> Item was added: >> + ----- Method: Duration>>ago (in category 'squeak protocol') ----- >> + ago >> + "Answer the DateAndTime which was the receiver's duration ago. >> + e.g., 5 minutes ago. 2 days ago." >> + ^ DateAndTime now - self! >> >> Item was added: >> + ----- Method: Duration>>fromNow (in category 'squeak protocol') ----- >> + fromNow >> + "Answer the DateAndTime which which occurs the receiver's duration >> from now. >> + e.g., 5 minutes fromNow. 2 days fromNow." >> + ^ DateAndTime now + self! >> >> > > > > |
+1 I'm pretty sure I loaded these in one image and prepared to commit...Then I forgot... (my image probably had many changes pending).
2013/5/3 Frank Shearar <[hidden email]> On 3 May 2013 17:44, Nicolas Cellier <[hidden email]> wrote: |
Free forum by Nabble | Edit this page |