Re: [Pharo-dev] method return-typing (was Re: Date&Time api)

2015-08-19 Thread Richard Sargent
Ben Coman wrote >> On Tue, Aug 18, 2015 at 1:21 AM, Yuriy Tymchuk < > yuriy.tymchuk@ > > wrote: >>> >>> Hi, >>> >>> there are some weird things around the data & time API. So time-related >>> classes are using methods like #asNanoSeconds. And numbers do not >>> implements >>> it. But they do impl

[Pharo-dev] method return-typing (was Re: Date&Time api)

2015-08-18 Thread Ben Coman
> On Tue, Aug 18, 2015 at 1:21 AM, Yuriy Tymchuk wrote: >> >> Hi, >> >> there are some weird things around the data & time API. So time-related >> classes are using methods like #asNanoSeconds. And numbers do not implements >> it. But they do implement methods as #nanoSeconds, #milliSeconds, #sec