CalendarView.Date Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
The selected date.
- Attributes
Exceptions
of the provided date is before the minimal or after the maximal date.
Remarks
Property getter documentation:
Gets the selected date in milliseconds since January 1, 1970 00:00:00 in TimeZone#getDefault()
time zone.
Java documentation for android.widget.CalendarView.getDate()
.
Property setter documentation:
Sets the selected date in milliseconds since January 1, 1970 00:00:00 in TimeZone#getDefault()
time zone.
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.