[Cuis] Time Methods

Phil (list) pbpublist at gmail.com
Thu Mar 5 20:37:54 CST 2015


On Thu, 2015-03-05 at 21:15 -0500, Dan Norton wrote:
> On 5 Mar 2015 at 15:34, Phil (list) wrote:
> 
> > On Thu, 2015-03-05 at 11:17 -0500, Dan Norton wrote:
> > > The methods Time>>subtractTime: and Time>>asSeconds went away. 
> > > 
> > > 
> > > Do equivalent methods exist by other names? 
> > > 
> > 1) -
> > 
> > 2) second (shouldn't that be seconds?)
> > 
> 
> Ah, now I understand your point about "seconds" and plural does seem better for the method 
> name, but at least it's consistent with "hour, minute, and nanoSecond". 
> 
> It seems to behave differently from #asSeconds on Squeak tho.
> 

You are correct... that's not an equivalent.  It appears to just be
returning the seconds component of the time.  My mistake.

>  - Dan
> 
> _______________________________________________
> Cuis mailing list
> Cuis at jvuletich.org
> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org






More information about the Cuis mailing list