Java java.time.temporal TemporalAdjusters fields, constructors, methods, implement or subclass

Example usage for Java java.time.temporal TemporalAdjusters fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.time.temporal TemporalAdjusters.

The text is from its open source code.

Method

TemporalAdjusterdayOfWeekInMonth(int ordinal, DayOfWeek dayOfWeek)
Returns the day-of-week in month adjuster, which returns a new date with the ordinal day-of-week based on the month.
TemporalAdjusterfirstDayOfMonth()
Returns the "first day of month" adjuster, which returns a new date set to the first day of the current month.
TemporalAdjusterfirstDayOfNextMonth()
Returns the "first day of next month" adjuster, which returns a new date set to the first day of the next month.
TemporalAdjusterfirstInMonth(DayOfWeek dayOfWeek)
Returns the first in month adjuster, which returns a new date in the same month with the first matching day-of-week.
TemporalAdjusterlastDayOfMonth()
Returns the "last day of month" adjuster, which returns a new date set to the last day of the current month.
TemporalAdjusterlastDayOfYear()
Returns the "last day of year" adjuster, which returns a new date set to the last day of the current year.
TemporalAdjusterlastInMonth(DayOfWeek dayOfWeek)
Returns the last in month adjuster, which returns a new date in the same month with the last matching day-of-week.
TemporalAdjusternext(DayOfWeek dayOfWeek)
Returns the next day-of-week adjuster, which adjusts the date to the first occurrence of the specified day-of-week after the date being adjusted.
TemporalAdjusternextOrSame(DayOfWeek dayOfWeek)
Returns the next-or-same day-of-week adjuster, which adjusts the date to the first occurrence of the specified day-of-week after the date being adjusted unless it is already on that day in which case the same object is returned.
TemporalAdjusterofDateAdjuster(UnaryOperator dateBasedAdjuster)
Obtains a TemporalAdjuster that wraps a date adjuster.
TemporalAdjusterprevious(DayOfWeek dayOfWeek)
Returns the previous day-of-week adjuster, which adjusts the date to the first occurrence of the specified day-of-week before the date being adjusted.
TemporalAdjusterpreviousOrSame(DayOfWeek dayOfWeek)
Returns the previous-or-same day-of-week adjuster, which adjusts the date to the first occurrence of the specified day-of-week before the date being adjusted unless it is already on that day in which case the same object is returned.