Megosztás a következőn keresztül:


Date.GetDate Method

Definition

Caution

deprecated

Returns the day of the month represented by this Date object.

[Android.Runtime.Register("getDate", "()I", "GetGetDateHandler")]
[System.Obsolete("deprecated")]
public virtual int GetDate ();
[<Android.Runtime.Register("getDate", "()I", "GetGetDateHandler")>]
[<System.Obsolete("deprecated")>]
abstract member GetDate : unit -> int
override this.GetDate : unit -> int

Returns

the day of the month represented by this date.

Attributes

Remarks

Returns the day of the month represented by this Date object. The value returned is between 1 and 31 representing the day of the month that contains or begins with the instant in time represented by this Date object, as interpreted in the local time zone.

This member is deprecated. As of JDK version 1.1, replaced by Calendar.get(Calendar.DAY_OF_MONTH).

Java documentation for java.util.Date.getDate().

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