Uses of Interface
org.threeten.bp.temporal.TemporalAdjuster
Packages that use TemporalAdjuster
Package
Description
The main API for dates, times, instants, and durations.
Support for calendar systems other than the default ISO.
Access to date and time using fields and units.
-
Uses of TemporalAdjuster in org.threeten.bp
Classes in org.threeten.bp that implement TemporalAdjusterModifier and TypeClassDescriptionclass
A day-of-week, such as 'Tuesday'.class
An instantaneous point on the time-line.class
A date without a time-zone in the ISO-8601 calendar system, such as2007-12-23
.class
A date-time without a time-zone in the ISO-8601 calendar system, such as2007-12-23T10:15:30
.class
A time without time-zone in the ISO-8601 calendar system, such as10:15:30
.class
A month-of-year, such as 'July'.class
A month-day in the ISO-8601 calendar system, such as--12-03
.class
A date-time with an offset from UTC/Greenwich in the ISO-8601 calendar system, such as2007-12-23T10:15:30+01:00
.class
A time with an offset from UTC/Greenwich in the ISO-8601 calendar system, such as10:15:30+01:00
.class
A year in the ISO-8601 calendar system, such as2007
.class
A year-month in the ISO-8601 calendar system, such as2007-12
.class
A time-zone offset from Greenwich/UTC, such as+02:00
.Methods in org.threeten.bp with parameters of type TemporalAdjusterModifier and TypeMethodDescriptionInstant.with(TemporalAdjuster adjuster)
Returns an adjusted copy of this instant.LocalDate.with(TemporalAdjuster adjuster)
Returns an adjusted copy of this date.LocalDateTime.with(TemporalAdjuster adjuster)
Returns an adjusted copy of this date-time.LocalTime.with(TemporalAdjuster adjuster)
Returns an adjusted copy of this time.OffsetDateTime.with(TemporalAdjuster adjuster)
Returns an adjusted copy of this date-time.OffsetTime.with(TemporalAdjuster adjuster)
Returns an adjusted copy of this time.Year.with(TemporalAdjuster adjuster)
Returns an adjusted copy of this year.YearMonth.with(TemporalAdjuster adjuster)
Returns an adjusted copy of this year-month.ZonedDateTime.with(TemporalAdjuster adjuster)
Returns an adjusted copy of this date-time. -
Uses of TemporalAdjuster in org.threeten.bp.chrono
Subinterfaces of TemporalAdjuster in org.threeten.bp.chronoClasses in org.threeten.bp.chrono that implement TemporalAdjusterModifier and TypeClassDescriptionclass
A date without time-of-day or time-zone in an arbitrary chronology, intended for advanced globalization use cases.class
ChronoLocalDateTime<D extends ChronoLocalDate>
A date-time without a time-zone in an arbitrary chronology, intended for advanced globalization use cases.class
A date in the Hijrah calendar system.class
An era in the Hijrah calendar system.class
An era in the ISO calendar system.class
A date in the Japanese Imperial calendar system.class
An era in the Japanese Imperial calendar system.class
A date in the Minguo calendar system.class
An era in the Minguo calendar system.class
A date in the Thai Buddhist calendar system.class
An era in the Thai Buddhist calendar system.Methods in org.threeten.bp.chrono with parameters of type TemporalAdjusterModifier and TypeMethodDescriptionChronoLocalDate.with(TemporalAdjuster adjuster)
ChronoLocalDateTime.with(TemporalAdjuster adjuster)
ChronoZonedDateTime.with(TemporalAdjuster adjuster)
HijrahDate.with(TemporalAdjuster adjuster)
JapaneseDate.with(TemporalAdjuster adjuster)
MinguoDate.with(TemporalAdjuster adjuster)
ThaiBuddhistDate.with(TemporalAdjuster adjuster)
-
Uses of TemporalAdjuster in org.threeten.bp.temporal
Methods in org.threeten.bp.temporal that return TemporalAdjusterModifier and TypeMethodDescriptionstatic TemporalAdjuster
TemporalAdjusters.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 TemporalAdjuster
TemporalAdjusters.firstDayOfMonth()
Returns the "first day of month" adjuster, which returns a new date set to the first day of the current month.static TemporalAdjuster
TemporalAdjusters.firstDayOfNextMonth()
Returns the "first day of next month" adjuster, which returns a new date set to the first day of the next month.static TemporalAdjuster
TemporalAdjusters.firstDayOfNextYear()
Returns the "first day of next year" adjuster, which returns a new date set to the first day of the next year.static TemporalAdjuster
TemporalAdjusters.firstDayOfYear()
Returns the "first day of year" adjuster, which returns a new date set to the first day of the current year.static TemporalAdjuster
TemporalAdjusters.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 TemporalAdjuster
TemporalAdjusters.lastDayOfMonth()
Returns the "last day of month" adjuster, which returns a new date set to the last day of the current month.static TemporalAdjuster
TemporalAdjusters.lastDayOfYear()
Returns the "last day of year" adjuster, which returns a new date set to the last day of the current year.static TemporalAdjuster
TemporalAdjusters.lastInMonth(DayOfWeek dayOfWeek)
Returns the last in month adjuster, which returns a new date in the same month with the last matching day-of-week.static TemporalAdjuster
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.static TemporalAdjuster
TemporalAdjusters.nextOrSame(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.static TemporalAdjuster
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.static TemporalAdjuster
TemporalAdjusters.previousOrSame(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.Methods in org.threeten.bp.temporal with parameters of type TemporalAdjusterModifier and TypeMethodDescriptiondefault Temporal
Temporal.with(TemporalAdjuster adjuster)
Returns an adjusted object of the same type as this object with the adjustment made.