[squeak-dev] The Inbox: Chronology-Core-cbc.8.mcz

Chris Cunningham cunningham.cb at gmail.com
Thu Sep 8 23:42:32 UTC 2016


This change is requested after I couldn't get get TimeZone compares to
work.  Try this before loading:
  (TimeZone offset: (Duration hours: -7 minutes: 0) name: 'Pacific Time (US
& Canada)' abbreviation: 'PDT')
  =
  (TimeZone offset: (Duration hours: -7 minutes: 0) name: 'Pacific Time (US
& Canada)' abbreviation: 'PDT')

Returns false - since the hash isn't the same (different instances),
although what they represent is exactly the same.

After this, returns true.

-cbc

On Thu, Sep 8, 2016 at 4:40 PM, <commits at source.squeak.org> wrote:

> A new version of Chronology-Core was added to project The Inbox:
> http://source.squeak.org/inbox/Chronology-Core-cbc.8.mcz
>
> ==================== Summary ====================
>
> Name: Chronology-Core-cbc.8
> Author: cbc
> Time: 8 September 2016, 4:39:41.903555 pm
> UUID: 7315e61d-3652-fe44-8472-8037bd3ecc83
> Ancestors: Chronology-Core-bf.7
>
> Add a rational #= to TimeZone - based on offset.
>
> =============== Diff against Chronology-Core-bf.7 ===============
>
> Item was added:
> + ----- Method: TimeZone>>= (in category 'comparing') -----
> + = aTimeZone
> +       ^offset = aTimeZone offset!
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20160908/486816b0/attachment.htm


More information about the Squeak-dev mailing list