Uses of Interface
javax.time.calendar.DateAdjuster
Packages that use DateAdjuster
Package
Description
Provides classes to manage the human time scale including date, time,
date-time and time-zone representations.
-
Uses of DateAdjuster in javax.time.calendar
Classes in javax.time.calendar that implement DateAdjusterModifier and TypeClassDescriptionprivate static final classClass implementing day-of-week in month adjuster.private static enumEnum implementing the adjusters.private static final classImplementation of next, previous or current day-of-week.final classA date without a time-zone in the ISO-8601 calendar system, such as2007-12-03.final classA date-time without a time-zone in the ISO-8601 calendar system, such as2007-12-03T10:15:30.final classA month-day in the ISO-8601 calendar system, such as--12-03.final classA date with a zone offset from UTC in the ISO-8601 calendar system, such as2007-12-03+01:00.final classA date-time with a zone offset from UTC in the ISO-8601 calendar system, such as2007-12-03T10:15:30+01:00.final classA year in the ISO-8601 calendar system, such as2007.final classA year-month in the ISO-8601 calendar system, such as2007-12.Methods in javax.time.calendar that return DateAdjusterModifier and TypeMethodDescriptionstatic DateAdjusterDateAdjusters.dayOfWeekInMonth(int ordinal, DayOfWeek dayOfWeek) Returns the day-of-week in month adjuster, which returns a new date in the same month with the ordinal day-of-week.static DateAdjusterDateAdjusters.firstDayOfMonth()Returns the first day-of-month adjuster, which returns a new date with the day-of-month changed to be the first day of the month.static DateAdjusterDateAdjusters.firstDayOfYear()Returns the first day-of-year adjuster, which returns a new date with the day-of-year changed to be the first day of the year - January 1.static DateAdjusterDateAdjusters.firstInMonth(DayOfWeek dayOfWeek) Returns the first in month adjuster, which returns a new date in the same month with the first matching day-of-week.static DateAdjusterDateAdjusters.lastDayOfMonth()Returns the last day-of-month adjuster, which returns a new date with the day-of-month changed to be the last valid day of the month.static DateAdjusterDateAdjusters.lastDayOfYear()Returns the last day-of-year adjuster, which returns a new date with the day-of-year changed to be the last day of the year - December 31.static DateAdjusterReturns the next day-of-week adjuster, which adjusts the date to be the next of the specified day-of-week after the specified date.static DateAdjusterDateAdjusters.nextNonWeekendDay()Returns the next non weekend day adjuster, which adjusts the date one day forward skipping Saturday and Sunday.static DateAdjusterDateAdjusters.nextOrCurrent(DayOfWeek dow) Returns the next or current day-of-week adjuster, which adjusts the date to be be the next of the specified day-of-week, returning the input date if the day-of-week matched.static DateAdjusterReturns the previous day-of-week adjuster, which adjusts the date to be the previous of the specified day-of-week after the specified date.static DateAdjusterDateAdjusters.previousOrCurrent(DayOfWeek dow) Returns the previous or current day-of-week adjuster, which adjusts the date to be be the previous of the specified day-of-week, returning the input date if the day-of-week matched.Methods in javax.time.calendar with parameters of type DateAdjusterModifier and TypeMethodDescriptionLocalDate.with(DateAdjuster adjuster) Returns a copy of thisLocalDatewith the date altered using the adjuster.LocalDateTime.with(DateAdjuster adjuster) Returns a copy of thisLocalDateTimewith the date altered using the adjuster.OffsetDate.with(DateAdjuster adjuster) Returns a copy of thisOffsetDatewith the date altered using the adjuster.OffsetDateTime.with(DateAdjuster adjuster) Returns a copy of this OffsetDateTime with the date altered using the adjuster.ZonedDateTime.with(DateAdjuster adjuster) Returns a copy of thisZonedDateTimewith the date altered using the adjuster.ZonedDateTime.with(DateAdjuster adjuster, ZoneResolver resolver) Returns a copy of thisZonedDateTimewith the date altered using the adjuster, providing a resolver to handle an invalid date-time.