OffsetDateTime.Month Property

Definition

Gets the month-of-year field using the Month enum.

public Java.Time.Month? Month { [Android.Runtime.Register("getMonth", "()Ljava/time/Month;", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getMonth", "()Ljava/time/Month;", "", ApiSince=26)>]
member this.Month : Java.Time.Month

Property Value

the month-of-year, not null

Attributes

Remarks

Gets the month-of-year field using the Month enum. This method returns the enum Month for the month. This avoids confusion as to what int values mean. If you need access to the primitive int value then the enum provides the int value.

Java reference for java.time.OffsetDateTime.getMonth.

Applies to