static YearHalf |
YearHalf.from(TemporalAccessor temporal) |
Obtains an instance of YearHalf from a temporal object.
|
YearHalf |
YearHalf.minus(long amountToSubtract,
TemporalUnit unit) |
Returns a copy of this year-half with the specified amount subtracted.
|
YearHalf |
YearHalf.minus(TemporalAmount amountToSubtract) |
Returns a copy of this year-half with the specified amount subtracted.
|
YearHalf |
YearHalf.minusHalves(long halvesToSubtract) |
Returns a copy of this year-half with the specified period in halves subtracted.
|
YearHalf |
YearHalf.minusYears(long yearsToSubtract) |
Returns a copy of this year-half with the specified period in years subtracted.
|
static YearHalf |
YearHalf.now() |
Obtains the current year-half from the system clock in the default time-zone.
|
static YearHalf |
YearHalf.now(Clock clock) |
Obtains the current year-half from the specified clock.
|
static YearHalf |
YearHalf.now(ZoneId zone) |
Obtains the current year-half from the system clock in the specified time-zone.
|
static YearHalf |
YearHalf.of(int year,
int half) |
Obtains an instance of YearHalf from a year and half.
|
static YearHalf |
YearHalf.of(int year,
Half half) |
Obtains an instance of YearHalf from a year and half.
|
static YearHalf |
YearHalf.of(Year year,
int half) |
Obtains an instance of YearHalf from a year and half.
|
static YearHalf |
YearHalf.of(Year year,
Half half) |
Obtains an instance of YearHalf from a year and half.
|
static YearHalf |
YearHalf.parse(CharSequence text) |
Obtains an instance of YearHalf from a text string such as 2007-H2 .
|
static YearHalf |
YearHalf.parse(CharSequence text,
DateTimeFormatter formatter) |
Obtains an instance of YearHalf from a text string using a specific formatter.
|
YearHalf |
YearHalf.plus(long amountToAdd,
TemporalUnit unit) |
Returns a copy of this year-half with the specified amount added.
|
YearHalf |
YearHalf.plus(TemporalAmount amountToAdd) |
Returns a copy of this year-half with the specified amount added.
|
YearHalf |
YearHalf.plusHalves(long halvesToAdd) |
Returns a copy of this year-half with the specified period in halves added.
|
YearHalf |
YearHalf.plusYears(long yearsToAdd) |
Returns a copy of this year-half with the specified period in years added.
|
YearHalf |
YearHalf.with(TemporalAdjuster adjuster) |
Returns an adjusted copy of this year-half.
|
YearHalf |
YearHalf.with(TemporalField field,
long newValue) |
Returns a copy of this year-half with the specified field set to a new value.
|
YearHalf |
YearHalf.withHalf(int half) |
Returns a copy of this YearHalf with the half-of-year altered.
|
YearHalf |
YearHalf.withYear(int year) |
Returns a copy of this YearHalf with the year altered.
|