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.
getMonthValue()
Diagram: LocalDate