CompareTo

<< Click to Display Table of Contents >>

Navigation:  EasyDotNet documentation > Classes > TSystemTimeSpan class > Methods >

CompareTo

Previous pageReturn to chapter overviewNext page

Compares this instance to a specified SystemTimeSpan object and returns an integer that indicates whether this instance is shorter than, equal to, or longer than the SystemTimeSpan object.

 

ts - An object to compare to this instance.

 

Returns:

A negative integer: This instance is shorter than value.

Zero: This instance is equal to value.

A positive integer: This instance is longer than value.

 

CompareTo                       PROCEDURE(TSystemTimeSpan ts), LONG