Uses of Class
org.threeten.extra.YearWeek
Packages that use YearWeek
-
Uses of YearWeek in org.threeten.extra
Methods in org.threeten.extra that return YearWeekModifier and TypeMethodDescriptionstatic YearWeekYearWeek.from(TemporalAccessor temporal) Obtains an instance ofYearWeekfrom 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 YearWeekYearWeek.now()Obtains the current year-week from the system clock in the default time-zone.static YearWeekObtains the current year-week from the specified clock.static YearWeekObtains the current year-week from the system clock in the specified time-zone.static YearWeekYearWeek.of(int weekBasedYear, int week) Obtains an instance ofYearWeekfrom a week-based-year and week.static YearWeekObtains an instance ofYearWeekfrom a year and week.static YearWeekYearWeek.parse(CharSequence text) Obtains an instance ofYearWeekfrom a text string such as2007-W13.static YearWeekYearWeek.parse(CharSequence text, DateTimeFormatter formatter) Obtains an instance ofYearWeekfrom 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 thisYearWeekwith the week altered.YearWeek.withYear(int weekBasedYear) Returns a copy of thisYearWeekwith the week-based-year altered.Methods in org.threeten.extra with parameters of type YearWeek