CalendarView.Date Property

Definition

Gets the selected date in milliseconds since January 1, 1970 00:00:00 in TimeZone#getDefault() time zone. -or- Sets the selected date in milliseconds since January 1, 1970 00:00:00 in TimeZone#getDefault() time zone.

public virtual long Date { [Android.Runtime.Register("getDate", "()J", "GetGetDateHandler")] get; [Android.Runtime.Register("setDate", "(J)V", "GetSetDate_JHandler")] set; }
[<get: Android.Runtime.Register("getDate", "()J", "GetGetDateHandler")>]
[<set: Android.Runtime.Register("setDate", "(J)V", "GetSetDate_JHandler")>]
member this.Date : int64 with get, set

Property Value

Int64

The selected date.

Attributes

Exceptions

of the provided date is before the minimal or after the maximal date.

of the provided date is before the minimal or after the maximal date.

of the provided date is before the minimal or after the maximal date.

of the provided date is before the minimal or after the maximal date.

of the provided date is before the minimal or after the maximal date.

of the provided date is before the minimal or after the maximal date.

Remarks

Property getter documentation:

Java documentation for android.widget.CalendarView.getDate().

Property setter documentation:

Java documentation for android.widget.CalendarView.setDate(long).

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.

Applies to

See also

  • <xref:Android.Widget.CalendarView.SetDate(System.Int64%2c+System.Boolean%2c+System.Boolean)>
  • MinDate
  • MaxDate