Jaa


TimeOfDay.CompareTo Method

Definition

Overloads

CompareTo(TimeOfDay)

Compares the value of this instance to a specified TimeOfDay value and returns an integer that indicates whether this instance is earlier than, the same as, or later than the specified TimeOfDay value.

CompareTo(Object)

Compares the value of this instance to a object value and returns an integer that indicates whether this instance is earlier than, the same as, or later than the object if it is a TimeOfDay.

CompareTo(TimeOfDay)

Compares the value of this instance to a specified TimeOfDay value and returns an integer that indicates whether this instance is earlier than, the same as, or later than the specified TimeOfDay value.

public int CompareTo (Microsoft.OData.Edm.TimeOfDay other);
abstract member CompareTo : Microsoft.OData.Edm.TimeOfDay -> int
override this.CompareTo : Microsoft.OData.Edm.TimeOfDay -> int
Public Function CompareTo (other As TimeOfDay) As Integer

Parameters

other
TimeOfDay

The object to compare to the current instance

Returns

Value Description Less than zero This instance is earlier than value. Zero This instance is the same as value. Greater than zero This instance is later than value.

Implements

Applies to

CompareTo(Object)

Compares the value of this instance to a object value and returns an integer that indicates whether this instance is earlier than, the same as, or later than the object if it is a TimeOfDay.

public int CompareTo (object obj);
abstract member CompareTo : obj -> int
override this.CompareTo : obj -> int
Public Function CompareTo (obj As Object) As Integer

Parameters

obj
Object

The object to compare to the current instance

Returns

Value Description Less than zero This instance is earlier than value. Zero This instance is the same as value. Greater than zero This instance is later than value.

Implements

Applies to