Combines this year with a month to create a {@code YearMonth}.
!(p)
This returns a {@code YearMonth} formed from this year and the specified month.
All possible combinations of year and month are valid.
!(p)
This method can be used as part of a chain to produce a date:
!(pre)
LocalDate date = year.atMonth(month).atDay(day);
</pre>
@param month the month-of-year to use, from 1 (January) to 12 (December)
@return the year-month formed from this year and the specified month, not null
@throws DateTimeException if the month is invalid
Combines this year with a month to create a {@code YearMonth}. !(p) This returns a {@code YearMonth} formed from this year and the specified month. All possible combinations of year and month are valid. !(p) This method can be used as part of a chain to produce a date: !(pre) LocalDate date = year.atMonth(month).atDay(day); </pre>
@param month the month-of-year to use, from 1 (January) to 12 (December) @return the year-month formed from this year and the specified month, not null @throws DateTimeException if the month is invalid