Year.atMonth

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, not null @return the year-month formed from this year and the specified month, not null

  1. YearMonth atMonth(Month month)
    class Year
  2. YearMonth atMonth(int month)

Meta