static YearWeek |
YearWeek.from(TemporalAccessor temporal) |
Obtains an instance of YearWeek from a temporal object.
|
YearWeek |
YearWeek.minus(long amountToSubtract,
TemporalUnit unit) |
Returns a copy of this year-week with the specified amount subtracted.
|
YearWeek |
YearWeek.minus(TemporalAmount amountToSubtract) |
Returns a copy of this year-week with the specified amount subtracted.
|
YearWeek |
YearWeek.minusWeeks(long weeksToSubtract) |
Returns a copy of this year-week with the specified number of weeks subtracted.
|
YearWeek |
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 |
YearWeek.plus(long amountToAdd,
TemporalUnit unit) |
Returns a copy of this year-week with the specified amount added.
|
YearWeek |
YearWeek.plus(TemporalAmount amountToAdd) |
Returns a copy of this year-week with the specified amount added.
|
YearWeek |
YearWeek.plusWeeks(long weeksToAdd) |
Returns a copy of this year-week with the specified number of weeks added.
|
YearWeek |
YearWeek.plusYears(long yearsToAdd) |
Returns a copy of this year-week with the specified number of years added.
|
YearWeek |
YearWeek.with(TemporalAdjuster adjuster) |
Returns an adjusted copy of this year-week.
|
YearWeek |
YearWeek.with(TemporalField field,
long newValue) |
Returns a copy of this year-week with the specified field set to a new value.
|
YearWeek |
YearWeek.withWeek(int week) |
Returns a copy of this YearWeek with the week altered.
|
YearWeek |
YearWeek.withYear(int weekBasedYear) |
Returns a copy of this YearWeek with the week-based-year altered.
|