Java.Util.Calendar.Before Method
Returns whether the Date represented by this Calendar instance is before the Date represented by the parameter.

Syntax

[Android.Runtime.Register("before", "(Ljava/lang/Object;)Z", "GetBefore_Ljava_lang_Object_Handler")]
public virtual bool Before (Java.Lang.Object calendar)

Parameters

calendar
the Calendar instance to compare.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionif the time is not set and the time cannot be computed from the current field values.

Remarks

Returns whether the Date represented by this Calendar instance is before the Date represented by the parameter. The comparison is not dependent on the time zones of the 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