DatePickerDialog.UpdateDate Method

Definition

Overloads

UpdateDate(DateTime)

Sets the current date.

UpdateDate(Int32, Int32, Int32)

Sets the current date.

UpdateDate(DateTime)

Sets the current date.

public void UpdateDate (DateTime date);
member this.UpdateDate : DateTime -> unit

Parameters

date
DateTime

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.

Applies to

UpdateDate(Int32, Int32, Int32)

Sets the current date.

[Android.Runtime.Register("updateDate", "(III)V", "GetUpdateDate_IIIHandler")]
public virtual void UpdateDate (int year, int month, int dayOfMonth);
[<Android.Runtime.Register("updateDate", "(III)V", "GetUpdateDate_IIIHandler")>]
abstract member UpdateDate : int * int * int -> unit
override this.UpdateDate : int * int * int -> unit

Parameters

year
Int32

the year

month
Int32

the month (0-11 for compatibility with Calendar#MONTH)

dayOfMonth
Int32

the day of month (1-31, depending on month)

Attributes

Remarks

Sets the current date.

Java documentation for android.app.DatePickerDialog.updateDate(int, int, int).

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