Java.Util.Calendar.CompareTo Method
Compares the time represented by this Calendar to that represented by the given Calendar.

Syntax

[Android.Runtime.Register("compareTo", "(Ljava/util/Calendar;)I", "GetCompareTo_Ljava_util_Calendar_Handler")]
public virtual int CompareTo (Calendar anotherCalendar)

Parameters

anotherCalendar
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.NullPointerExceptionif the argument is null.
Java.Lang.IllegalArgumentExceptionif the argument does not include a valid time value.

Remarks

Compares the time represented by this Calendar to that represented by the given Calendar.

[Android Documentation]

Requirements

Namespace: Java.Util
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1