Package javax.time.calendar
Interface DateAdjuster
-
- All Known Implementing Classes:
DateAdjusters.DayOfWeekInMonth
,DateAdjusters.Impl
,DateAdjusters.RelativeDayOfWeek
,LocalDate
,LocalDateTime
,MonthDay
,OffsetDate
,OffsetDateTime
,Year
,YearMonth
public interface DateAdjuster
Strategy for adjusting a date.This interface provides a common way to access many different date adjustments. Examples might be an adjuster that sets the date avoiding weekends, or one that sets the date to the last day of the month.
DateAdjuster is an interface and must be implemented with care to ensure other classes in the framework operate correctly. All instantiable implementations must be final, immutable and thread-safe.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LocalDate
adjustDate(LocalDate date)
Adjusts the input date returning the adjusted date.
-