Home Segments Index Top Previous Next

534: Mainline

You can compare Time instances:

Workspace
Time1 := Time fromSeconds: 40271. 
Time2 := Time fromSeconds: 3600. 
Transcript show: (Time1 = Time1) printString; cr; 
           show: (Time1 = Time2) printString; cr; 
           show: (Time2 < Time1) printString; cr; 
           show: (Time1 < Time2) printString 
Transcript 
true 
false 
true 
false