共用方式為


Month.Value Property

Definition

Gets the month-of-year int value.

public int Value { [Android.Runtime.Register("getValue", "()I", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getValue", "()I", "", ApiSince=26)>]
member this.Value : int

Property Value

the month-of-year, from 1 (January) to 12 (December)

Attributes

Remarks

Gets the month-of-year int value.

The values are numbered following the ISO-8601 standard, from 1 (January) to 12 (December).

Java documentation for java.time.Month.getValue().

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