Date.Month Property

Definition

Caution

deprecated

Returns a number representing the month that contains or begins with the instant in time represented by this Date object. -or- Sets the month of this date to the specified value.

[System.Obsolete("deprecated")]
public virtual int Month { [Android.Runtime.Register("getMonth", "()I", "GetGetMonthHandler")] get; [Android.Runtime.Register("setMonth", "(I)V", "GetSetMonth_IHandler")] set; }
[<System.Obsolete("deprecated")>]
[<get: Android.Runtime.Register("getMonth", "()I", "GetGetMonthHandler")>]
[<set: Android.Runtime.Register("setMonth", "(I)V", "GetSetMonth_IHandler")>]
member this.Month : int with get, set

Property Value

Int32

the month represented by this date.

Attributes

Remarks

Property getter documentation:

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

Property setter documentation:

Java documentation for java.util.Date.setMonth(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