Android.Widget.CalendarView.SetDate Method
Sets the selected date in milliseconds since January 1, 1970 00:00:00 in Java.Util.TimeZone.Default time zone.

Syntax

[Android.Runtime.Register("setDate", "(JZZ)V", "GetSetDate_JZZHandler")]
public virtual void SetDate (long date, bool animate, bool center)

See Also

CalendarView.MinDate
CalendarView.MaxDate

Parameters

date
The date.
animate
Whether to animate the scroll to the current date.
center
Whether to center the current date even if it is already visible.

Exceptions

TypeReason
Java.Lang.IllegalArgumentExceptionof the provided date is before the minimal or after the maximal date.

Remarks

Sets the selected date in milliseconds since January 1, 1970 00:00:00 in Java.Util.TimeZone.Default time zone.

[Android Documentation]

Requirements

Namespace: Android.Widget
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 11