Method category index
instance creation (class)
instance creation (non ANSI) (class)
Answer a duration of `d' days
days: d hours: h minutes: m seconds: s
Answer a duration of `d' days and the given number of hours, minutes, and seconds.
Initialize the receiver's instance variables
Answer a duration of `msec' milliseconds
Parse an instance of the receiver (hours/minutes/seconds) from aStream
Answer a duration of `w' weeks
Answer a duration of zero seconds.
Answer a duration of `d' days and `secs' seconds. The last parameter is unused; this message is available for interoperability with the DateTime class.
Answer a Duration that is `factor' times longer than the receiver
Answer a Duration that is the sum of the receiver and aDuration's lengths.
Answer a Duration that is the difference of the receiver and aDuration's lengths.
If the parameter is a Duration, answer the ratio between the receiver and factorOrDuration. Else divide the receiver by factorOrDuration (a Number) and answer a new Duration that is correspondingly shorter.
Answer a Duration that is as long as the receiver, but always in the future.
Answer the number of days in the receiver
Answer whether the receiver correspond to a duration of zero seconds.
Answer a Duration that is as long as the receiver, but with past and future exchanged.
Answer whether the receiver is in the past.
Answer whether the receiver is a zero-second duration or is in the future.
Print a represention of the receiver on aStream.
Answer a Delay waiting for the amount of time represented by the receiver and start waiting on it.
Store on aStream Smalltalk code compiling to the receiver