TemporalAdjusters.previous

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. !(p) The ISO calendar system behaves as follows:!(br) The input 2011-01-15 (a Saturday) for parameter (MONDAY) will return 2011-01-10 (five days earlier).!(br) The input 2011-01-15 (a Saturday) for parameter (WEDNESDAY) will return 2011-01-12 (three days earlier).!(br) The input 2011-01-15 (a Saturday) for parameter (SATURDAY) will return 2011-01-08 (seven days earlier). !(p) The behavior is suitable for use with most calendar systems. It uses the {@code DAY_OF_WEEK} field and the {@code DAYS} unit, and assumes a seven day week.

@param dayOfWeek the day-of-week to move the date to, not null @return the previous day-of-week adjuster, not null

class TemporalAdjusters
static
previous

Meta