TimeCompareTo(TimeSpan) Method

Compares this instance to a specified TimeSpan and returns an indication of their relative values.

Definition

Namespace: Gemstone.Units
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.187 -- Release Build+7bcde392e6ad6f75391609740b4385c2d8a0dd2a
public int CompareTo(
	TimeSpan value
)

Parameters

value  TimeSpan
A TimeSpan to compare.

Return Value

Int32
A signed number indicating the relative values of this instance and value. Returns less than zero if this instance is less than value, zero if this instance is equal to value, or greater than zero if this instance is greater than value.

Implements

IComparableTCompareTo(T)

See Also