StructTimespec.CompareTo(StructTimespec) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Compares this time value with another by seconds, then by nanoseconds.
[Android.Runtime.Register("compareTo", "(Landroid/system/StructTimespec;)I", "", ApiSince=27)]
public int CompareTo(Android.Systems.StructTimespec? other);
[<Android.Runtime.Register("compareTo", "(Landroid/system/StructTimespec;)I", "", ApiSince=27)>]
member this.CompareTo : Android.Systems.StructTimespec -> int
Parameters
- other
- StructTimespec
The time value to compare with this instance.
Returns
-1 if this time value is less than other; 0 if both components are equal; otherwise, 1.
- Attributes
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.