Time.compare(a,b)

Compares two Times chronologically. The method returns: - the value 0 if the Time "a" is equal to the Time "b", - a value less than 0 if the Time "b" is previous chronologically to "a", - a value greater than 0 otherwise. If one of the parameters is null, it will be considered lesser than the other

Arguments:

Name Type Description Mode
a Time Time first Time to be compared. in
b Time Time second Time to be compared. in