This returns a month-day with the specified month. If the day-of-month is invalid for the specified month, the day will be adjusted to the last valid day-of-month.
This instance is immutable and unaffected by this method call. @param month the month-of-year to set in the returned month-day, from 1 (January) to 12 (December) @return a {@code MonthDay} based on this month-day with the requested month, not null @throws DateTimeException if the month-of-year value is invalid
|
|