Next: , Previous: , Up: Time   [Index]


1.199.8 Time: arithmetic

addSeconds: timeAmount

Answer a new Time that is timeAmount seconds after the receiver

addTime: timeAmount

Answer a new Time that is timeAmount seconds after the receiver; timeAmount is a Time.

printOn: aStream

Print a representation of the receiver on aStream

subtractTime: timeAmount

Answer a new Time that is timeAmount seconds before the receiver; timeAmount is a Time.