Uses of Class
org.threeten.extra.YearWeek

Packages that use YearWeek
Package
Description
Value types and utilities that extend java.time.*.
  • Uses of YearWeek in org.threeten.extra

    Methods in org.threeten.extra that return YearWeek
    Modifier and Type
    Method
    Description
    static YearWeek
    YearWeek.from(TemporalAccessor temporal)
    Obtains an instance of YearWeek from a temporal object.
    YearWeek.minus(long amountToSubtract, TemporalUnit unit)
    Returns a copy of this year-week with the specified amount subtracted.
    YearWeek.minus(TemporalAmount amountToSubtract)
    Returns a copy of this year-week with the specified amount subtracted.
    YearWeek.minusWeeks(long weeksToSubtract)
    Returns a copy of this year-week with the specified number of weeks subtracted.
    YearWeek.minusYears(long yearsToSubtract)
    Returns a copy of this year-week with the specified number of years subtracted.
    static YearWeek
    YearWeek.now()
    Obtains the current year-week from the system clock in the default time-zone.
    static YearWeek
    YearWeek.now(Clock clock)
    Obtains the current year-week from the specified clock.
    static YearWeek
    YearWeek.now(ZoneId zone)
    Obtains the current year-week from the system clock in the specified time-zone.
    static YearWeek
    YearWeek.of(int weekBasedYear, int week)
    Obtains an instance of YearWeek from a week-based-year and week.
    static YearWeek
    YearWeek.of(Year year, int week)
    Obtains an instance of YearWeek from a year and week.
    static YearWeek
    YearWeek.parse(CharSequence text)
    Obtains an instance of YearWeek from a text string such as 2007-W13.
    static YearWeek
    YearWeek.parse(CharSequence text, DateTimeFormatter formatter)
    Obtains an instance of YearWeek from a text string using a specific formatter.
    YearWeek.plus(long amountToAdd, TemporalUnit unit)
    Returns a copy of this year-week with the specified amount added.
    YearWeek.plus(TemporalAmount amountToAdd)
    Returns a copy of this year-week with the specified amount added.
    YearWeek.plusWeeks(long weeksToAdd)
    Returns a copy of this year-week with the specified number of weeks added.
    YearWeek.plusYears(long yearsToAdd)
    Returns a copy of this year-week with the specified number of years added.
    YearWeek.with(TemporalAdjuster adjuster)
    Returns an adjusted copy of this year-week.
    YearWeek.with(TemporalField field, long newValue)
    Returns a copy of this year-week with the specified field set to a new value.
    YearWeek.withWeek(int week)
    Returns a copy of this YearWeek with the week altered.
    YearWeek.withYear(int weekBasedYear)
    Returns a copy of this YearWeek with the week-based-year altered.
    Methods in org.threeten.extra with parameters of type YearWeek
    Modifier and Type
    Method
    Description
    int
    YearWeek.compareTo(YearWeek other)
    Compares this year-week to another
    boolean
    YearWeek.isAfter(YearWeek other)
    Is this year-week after the specified year-week.
    boolean
    YearWeek.isBefore(YearWeek other)
    Is this year-week before the specified year-week.