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

Nicolas Cellier nicolas.cellier.aka.nice at gmail.com
Fri May 3 16:44:01 UTC 2013


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


2013/5/3 <commits at source.squeak.org>

> 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!
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20130503/0bf14af7/attachment.htm


More information about the Squeak-dev mailing list