static OffsetDate |
OffsetDate.from(TemporalAccessor temporal) |
Obtains an instance of OffsetDate from a temporal object.
|
OffsetDate |
OffsetDate.minus(long amountToSubtract,
TemporalUnit unit) |
Returns a copy of this date with the specified amount subtracted.
|
OffsetDate |
OffsetDate.minus(TemporalAmount amountToSubtract) |
Returns a copy of this date with the specified amount subtracted.
|
OffsetDate |
OffsetDate.minusDays(long days) |
Returns a copy of this OffsetDate with the specified number of days subtracted.
|
OffsetDate |
OffsetDate.minusMonths(long months) |
Returns a copy of this OffsetDate with the specified number of months subtracted.
|
OffsetDate |
OffsetDate.minusWeeks(long weeks) |
Returns a copy of this OffsetDate with the specified number of weeks subtracted.
|
OffsetDate |
OffsetDate.minusYears(long years) |
Returns a copy of this OffsetDate with the specified number of years subtracted.
|
static OffsetDate |
OffsetDate.now() |
Obtains the current date from the system clock in the default time-zone.
|
static OffsetDate |
OffsetDate.now(Clock clock) |
Obtains the current date from the specified clock.
|
static OffsetDate |
OffsetDate.now(ZoneId zone) |
Obtains the current date from the system clock in the specified time-zone.
|
static OffsetDate |
OffsetDate.of(int year,
int month,
int dayOfMonth,
ZoneOffset offset) |
Obtains an instance of OffsetDate from a year, month, day
and offset.
|
static OffsetDate |
OffsetDate.of(LocalDate date,
ZoneOffset offset) |
Obtains an instance of OffsetDate from a local date and an offset.
|
static OffsetDate |
OffsetDate.ofInstant(Instant instant,
ZoneId zone) |
Obtains an instance of OffsetDate from an Instant and zone ID.
|
static OffsetDate |
OffsetDate.parse(CharSequence text) |
Obtains an instance of OffsetDate from a text string such as 2007-12-03+01:00 .
|
static OffsetDate |
OffsetDate.parse(CharSequence text,
DateTimeFormatter formatter) |
Obtains an instance of OffsetDate from a text string using a specific formatter.
|
OffsetDate |
OffsetDate.plus(long amountToAdd,
TemporalUnit unit) |
Returns a copy of this date with the specified amount added.
|
OffsetDate |
OffsetDate.plus(TemporalAmount amountToAdd) |
Returns a copy of this date with the specified period added.
|
OffsetDate |
OffsetDate.plusDays(long days) |
Returns a copy of this OffsetDate with the specified number of days added.
|
OffsetDate |
OffsetDate.plusMonths(long months) |
Returns a copy of this OffsetDate with the specified number of months added.
|
OffsetDate |
OffsetDate.plusWeeks(long weeks) |
Returns a copy of this OffsetDate with the specified number of weeks added.
|
OffsetDate |
OffsetDate.plusYears(long years) |
Returns a copy of this OffsetDate with the specified number of years added.
|
OffsetDate |
OffsetDate.with(TemporalAdjuster adjuster) |
Returns an adjusted copy of this date.
|
OffsetDate |
OffsetDate.with(TemporalField field,
long newValue) |
Returns a copy of this date with the specified field set to a new value.
|
OffsetDate |
OffsetDate.withDayOfMonth(int dayOfMonth) |
Returns a copy of this OffsetDate with the day-of-month altered.
|
OffsetDate |
OffsetDate.withDayOfYear(int dayOfYear) |
Returns a copy of this OffsetDate with the day-of-year altered.
|
OffsetDate |
OffsetDate.withMonth(int month) |
Returns a copy of this OffsetDate with the month-of-year altered.
|
OffsetDate |
OffsetDate.withOffsetSameLocal(ZoneOffset offset) |
Returns a copy of this OffsetDate with the specified offset ensuring
that the result has the same local date.
|
OffsetDate |
OffsetDate.withYear(int year) |
Returns a copy of this OffsetDate with the year altered.
|