Time
Time represents an abstraction for a time of day, based on a 24-hour clock. In contrast to Date, class Time is much more clearly specified in the Blue Book, and consequently there is much less variation between the vendor implementations. Smalltalk/V adds additional protocol to Time class to control the real-time clock on a personal computer. As with Date, the form is that Time provides protocol for manipulating Time instances, while Time class supports instance creation and general queries.
Accessing
hours, minutes, seconds
Calculating
addTime:, asSeconds, subtractTime:
Creating instances
dateAndTimeNow, fromSeconds:, now
Querying
millisecondsPerDay, millisecondsToRun:, millisecondClockValue
Porting tip:
Neither Objectworks\Smalltalk or Smalltalk/V support millisecondsPerDay.
Last modified date: 01/29/2015