Udostępnij za pośrednictwem


DatePicker.MinDate Property

Definition

Gets the minimal date supported by this DatePicker in milliseconds since January 1, 1970 00:00:00 in TimeZone#getDefault() time zone. -or- Sets the minimal date supported by this NumberPicker in milliseconds since January 1, 1970 00:00:00 in TimeZone#getDefault() time zone.

public virtual long MinDate { [Android.Runtime.Register("getMinDate", "()J", "GetGetMinDateHandler")] get; [Android.Runtime.Register("setMinDate", "(J)V", "GetSetMinDate_JHandler")] set; }
[<get: Android.Runtime.Register("getMinDate", "()J", "GetGetMinDateHandler")>]
[<set: Android.Runtime.Register("setMinDate", "(J)V", "GetSetMinDate_JHandler")>]
member this.MinDate : int64 with get, set

Property Value

The minimal supported date.

Attributes

Remarks

Property getter documentation:

Gets the minimal date supported by this DatePicker in milliseconds since January 1, 1970 00:00:00 in TimeZone#getDefault() time zone.

Note: The default minimal date is 01/01/1900.

Java documentation for android.widget.DatePicker.getMinDate().

Property setter documentation:

Sets the minimal date supported by this NumberPicker in milliseconds since January 1, 1970 00:00:00 in TimeZone#getDefault() time zone.

Java documentation for android.widget.DatePicker.setMinDate(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