TimeSpanStatic: Compare |
Compares two TimeSpan values and returns an integer that indicates whether the first value is shorter than, equal to, or longer than the second value.
Public Function Compare( ByRef t1 As TimeSpan, ByRef t2 As TimeSpan ) As Long
Value | Description |
---|---|
-1 | t1 is shorter than t2. |
0 | t1 is equal to t2. |
1 | t1 is longer than t2. |