Next: , Previous: Time class-initialization, Up: Time


1.195.5 Time class: instance creation

fromSeconds: secondCount
Answer a Time representing secondCount seconds past midnight


hour: h
Answer a Time that is the given number of hours past midnight


hour: h minute: m second: s
Answer a Time that is the given number of hours, minutes and seconds past midnight


hours: h
Answer a Time that is the given number of hours past midnight


hours: h minutes: m seconds: s
Answer a Time that is the given number of hours, minutes and seconds past midnight


minute: m
Answer a Time that is the given number of minutes past midnight


minutes: m
Answer a Time that is the given number of minutes past midnight


new
Answer a Time representing midnight


now
Answer a time representing the current time of day


readFrom: aStream
Parse an instance of the receiver (hours/minutes/seconds) from aStream


second: s
Answer a Time that is the given number of seconds past midnight


seconds: s
Answer a Time that is the given number of seconds past midnight