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

Frank Shearar frank.shearar at gmail.com
Fri May 3 19:57:21 UTC 2013


On 3 May 2013 18:17, Chris Muller <asqueaker at gmail.com> wrote:
> "hence" is equally meaningful as "fromNow", but more old-world
> sounding.  I think "ago" and "fromNow" are more compatible with each
> other in terms of modern language use.
>
> IMO, "ahead" and "toGo" are not a good fit.

"5 minutes toGo" sounds a lot like a Delay!

frank

> On Fri, May 3, 2013 at 11:44 AM, Nicolas Cellier
> <nicolas.cellier.aka.nice at gmail.com> 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
>>
>>
>> 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!
>>>
>>>
>>
>>
>>
>>
>


More information about the Squeak-dev mailing list