共用方式為


DatePicker.MaxDate Property

Definition

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

public virtual long MaxDate { [Android.Runtime.Register("getMaxDate", "()J", "GetGetMaxDateHandler")] get; [Android.Runtime.Register("setMaxDate", "(J)V", "GetSetMaxDate_JHandler")] set; }
[<get: Android.Runtime.Register("getMaxDate", "()J", "GetGetMaxDateHandler")>]
[<set: Android.Runtime.Register("setMaxDate", "(J)V", "GetSetMaxDate_JHandler")>]
member this.MaxDate : int64 with get, set

Property Value

The maximal supported date.

Attributes

Remarks

Property getter documentation:

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

Note: The default maximal date is 12/31/2100.

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

Property setter documentation:

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

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