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().
int
Month
getMonth()
Returns: the month-of-year, from 1 to 12
See also: getMonth()
Diagram: LocalDate