TemporalAdjusters.lastDayOfYear

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

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

class TemporalAdjusters
static
lastDayOfYear
()

Meta