static OffsetDate |
OffsetDate.from(java.time.temporal.TemporalAccessor temporal) |
Obtains an instance of OffsetDate from a temporal object.
|
OffsetDate |
OffsetDate.minus(long amountToSubtract,
java.time.temporal.TemporalUnit unit) |
Returns a copy of this date with the specified amount subtracted.
|
OffsetDate |
OffsetDate.minus(java.time.temporal.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(java.time.Clock clock) |
Obtains the current date from the specified clock.
|
static OffsetDate |
OffsetDate.now(java.time.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,
java.time.ZoneOffset offset) |
Obtains an instance of OffsetDate from a year, month, day
and offset.
|
static OffsetDate |
OffsetDate.of(java.time.LocalDate date,
java.time.ZoneOffset offset) |
Obtains an instance of OffsetDate from a local date and an offset.
|
static OffsetDate |
OffsetDate.ofInstant(java.time.Instant instant,
java.time.ZoneId zone) |
Obtains an instance of OffsetDate from an Instant and zone ID.
|
static OffsetDate |
OffsetDate.parse(java.lang.CharSequence text) |
Obtains an instance of OffsetDate from a text string such as 2007-12-03+01:00.
|
static OffsetDate |
OffsetDate.parse(java.lang.CharSequence text,
java.time.format.DateTimeFormatter formatter) |
Obtains an instance of OffsetDate from a text string using a specific formatter.
|
OffsetDate |
OffsetDate.plus(long amountToAdd,
java.time.temporal.TemporalUnit unit) |
Returns a copy of this date with the specified amount added.
|
OffsetDate |
OffsetDate.plus(java.time.temporal.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(java.time.temporal.TemporalAdjuster adjuster) |
Returns an adjusted copy of this date.
|
OffsetDate |
OffsetDate.with(java.time.temporal.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(java.time.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.
|