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 DateAdjuster
    Modifier and Type
    Class
    Description
    private static final class 
    Class implementing day-of-week in month adjuster.
    private static enum 
    Enum implementing the adjusters.
    private static final class 
    Implementation of next, previous or current day-of-week.
    final class 
    A date without a time-zone in the ISO-8601 calendar system, such as 2007-12-03.
    final class 
    A date-time without a time-zone in the ISO-8601 calendar system, such as 2007-12-03T10:15:30.
    final class 
    A month-day in the ISO-8601 calendar system, such as --12-03.
    final class 
    A date with a zone offset from UTC in the ISO-8601 calendar system, such as 2007-12-03+01:00.
    final class 
    A date-time with a zone offset from UTC in the ISO-8601 calendar system, such as 2007-12-03T10:15:30+01:00.
    final class 
    A year in the ISO-8601 calendar system, such as 2007.
    final class 
    A year-month in the ISO-8601 calendar system, such as 2007-12.
    Methods in javax.time.calendar that return DateAdjuster
    Modifier and Type
    Method
    Description
    DateAdjusters.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.
    DateAdjusters.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.
    DateAdjusters.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.
    DateAdjusters.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.
    DateAdjusters.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.
    DateAdjusters.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.
    DateAdjusters.next(DayOfWeek dow)
    Returns the next day-of-week adjuster, which adjusts the date to be the next of the specified day-of-week after the specified date.
    DateAdjusters.nextNonWeekendDay()
    Returns the next non weekend day adjuster, which adjusts the date one day forward skipping Saturday and Sunday.
    DateAdjusters.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.
    DateAdjusters.previous(DayOfWeek dow)
    Returns the previous day-of-week adjuster, which adjusts the date to be the previous of the specified day-of-week after the specified date.
    DateAdjusters.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 DateAdjuster
    Modifier and Type
    Method
    Description
    LocalDate.with(DateAdjuster adjuster)
    Returns a copy of this LocalDate with the date altered using the adjuster.
    LocalDateTime.with(DateAdjuster adjuster)
    Returns a copy of this LocalDateTime with the date altered using the adjuster.
    OffsetDate.with(DateAdjuster adjuster)
    Returns a copy of this OffsetDate with 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 this ZonedDateTime with the date altered using the adjuster.
    ZonedDateTime.with(DateAdjuster adjuster, ZoneResolver resolver)
    Returns a copy of this ZonedDateTime with the date altered using the adjuster, providing a resolver to handle an invalid date-time.