TemporalAdjusters.lastDayOfMonth

Returns the "last day of month" adjuster, which returns a new date set to the last day of the current month. !(p) The ISO calendar system behaves as follows:!(br) The input 2011-01-15 will return 2011-01-31.!(br) The input 2011-02-15 will return 2011-02-28.!(br) The input 2012-02-15 will return 2012-02-29 (leap year).!(br) The input 2011-04-15 will return 2011-04-30. !(p) The behavior is suitable for use with most calendar systems. It is equivalent to: !(pre) long lastDay = temporal.range(DAY_OF_MONTH).getMaximum(); temporal._with(DAY_OF_MONTH, lastDay); </pre>

@return the last day-of-month adjuster, not null

class TemporalAdjusters
static
lastDayOfMonth
()

Meta