Calculate with negative times

Andreas Raab Andreas.Raab at gmx.de
Thu Mar 14 20:33:31 UTC 2002


> Whats the smartest way to do
>   '07:30' + '6:10' - '16:10'?

('07:30' asTime addTime: '6:10' asTime) subtractTime: '16:10' asTime.

=>  9:30 pm

Cheers,
  - Andreas

> -----Original Message-----
> From: squeak-dev-admin at lists.squeakfoundation.org 
> [mailto:squeak-dev-admin at lists.squeakfoundation.org] On 
> Behalf Of Markus Fritsche
> Sent: Thursday, March 14, 2002 9:27 PM
> To: squeak-dev at lists.squeakfoundation.org
> Subject: Q: Calculate with negative times
> 
> 
> Whats the smartest way to do
>   '07:30' + '6:10' - '16:10'?
> 
> Thanks, Markus
> 
> -- 
> SIGSTOP
> 
> GMX - Die Kommunikationsplattform im Internet.
> http://www.gmx.net
> 
> 
> 





More information about the Squeak-dev mailing list