LocalDateTime.MonthValue 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 month-of-year field from 1 to 12.
public int MonthValue { [Android.Runtime.Register("getMonthValue", "()I", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getMonthValue", "()I", "", ApiSince=26)>]
member this.MonthValue : int
Property Value
the month-of-year, from 1 to 12
- Attributes
Remarks
Gets the month-of-year field from 1 to 12.
This method returns the month as an int
from 1 to 12. Application code is frequently clearer if the enum Month
is used by calling #getMonth()
.
Java documentation for java.time.LocalDateTime.getMonthValue()
.
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.