Returns a {@code LocalDate} at the end of the month.
!(p)
This returns a {@code LocalDate} based on this year-month.
The day-of-month is set to the last valid day of the month, taking
into account leap years.
!(p)
This method can be used as part of a chain to produce a date:
!(pre)
LocalDate date = year.atMonth(month).atEndOfMonth();
</pre>
@return the last valid date of this year-month, not null
Returns a {@code LocalDate} at the end of the month. !(p) This returns a {@code LocalDate} based on this year-month. The day-of-month is set to the last valid day of the month, taking into account leap years. !(p) This method can be used as part of a chain to produce a date: !(pre) LocalDate date = year.atMonth(month).atEndOfMonth(); </pre>
@return the last valid date of this year-month, not null