static YearWeek |
YearWeek.from(java.time.temporal.TemporalAccessor temporal) |
Obtains an instance of YearWeek from a temporal object.
|
YearWeek |
YearWeek.minus(long amountToSubtract,
java.time.temporal.TemporalUnit unit) |
Returns a copy of this year-week with the specified amount subtracted.
|
YearWeek |
YearWeek.minus(java.time.temporal.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(java.time.Clock clock) |
Obtains the current year-week from the specified clock.
|
static YearWeek |
YearWeek.now(java.time.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(java.time.Year year,
int week) |
Obtains an instance of YearWeek from a year and week.
|
static YearWeek |
YearWeek.parse(java.lang.CharSequence text) |
Obtains an instance of YearWeek from a text string such as 2007-W13.
|
static YearWeek |
YearWeek.parse(java.lang.CharSequence text,
java.time.format.DateTimeFormatter formatter) |
Obtains an instance of YearWeek from a text string using a specific formatter.
|
YearWeek |
YearWeek.plus(long amountToAdd,
java.time.temporal.TemporalUnit unit) |
Returns a copy of this year-week with the specified amount added.
|
YearWeek |
YearWeek.plus(java.time.temporal.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(java.time.temporal.TemporalAdjuster adjuster) |
Returns an adjusted copy of this year-week.
|
YearWeek |
YearWeek.with(java.time.temporal.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.
|