Combines this time with a date to create an OffsetDateTime
.
Combines this instant with an offset to create an OffsetDateTime
.
Combines this date-time with an offset to create an OffsetDateTime
.
Combines this date with an offset time to create an OffsetDateTime
.
Obtains an instance of OffsetDateTime
from a temporal object.
Returns a copy of this date-time with the specified amount subtracted.
Returns a copy of this date-time with the specified amount subtracted.
Returns a copy of this OffsetDateTime
with the specified number of days subtracted.
Returns a copy of this OffsetDateTime
with the specified number of hours subtracted.
Returns a copy of this OffsetDateTime
with the specified number of minutes subtracted.
Returns a copy of this OffsetDateTime
with the specified number of months subtracted.
Returns a copy of this OffsetDateTime
with the specified number of nanoseconds subtracted.
Returns a copy of this OffsetDateTime
with the specified number of seconds subtracted.
Returns a copy of this OffsetDateTime
with the specified number of weeks subtracted.
Returns a copy of this OffsetDateTime
with the specified number of years subtracted.
Obtains the current date-time from the system clock in the default time-zone.
Obtains the current date-time from the specified clock.
Obtains the current date-time from the system clock in the specified time-zone.
OffsetDateTime.of(int year,
int month,
int dayOfMonth,
int hour,
int minute,
int second,
int nanoOfSecond,
ZoneOffset offset)
Obtains an instance of OffsetDateTime
from a year, month, day,
hour, minute, second, nanosecond and offset.
Obtains an instance of OffsetDateTime
from a date, time and offset.
Obtains an instance of OffsetDateTime
from a date-time and offset.
Obtains an instance of OffsetDateTime
from an Instant
and zone ID.
Obtains an instance of OffsetDateTime
from a text string
such as 2007-12-03T10:15:30+01:00
.
Obtains an instance of OffsetDateTime
from a text string using a specific formatter.
Returns a copy of this date-time with the specified amount added.
Returns a copy of this date-time with the specified amount added.
Returns a copy of this OffsetDateTime with the specified number of days added.
Returns a copy of this OffsetDateTime
with the specified number of hours added.
Returns a copy of this OffsetDateTime
with the specified number of minutes added.
Returns a copy of this OffsetDateTime
with the specified number of months added.
Returns a copy of this OffsetDateTime
with the specified number of nanoseconds added.
Returns a copy of this OffsetDateTime
with the specified number of seconds added.
Returns a copy of this OffsetDateTime with the specified number of weeks added.
Returns a copy of this OffsetDateTime
with the specified number of years added.
Converts this date-time to an OffsetDateTime
.
Returns a copy of this OffsetDateTime
with the time truncated.
Returns an adjusted copy of this date-time.
Returns a copy of this date-time with the specified field set to a new value.
Returns a copy of this OffsetDateTime
with the day-of-month altered.
Returns a copy of this OffsetDateTime
with the day-of-year altered.
Returns a copy of this OffsetDateTime
with the hour-of-day altered.
Returns a copy of this OffsetDateTime
with the minute-of-hour altered.
Returns a copy of this OffsetDateTime
with the month-of-year altered.
OffsetDateTime.withNano(int nanoOfSecond)
Returns a copy of this OffsetDateTime
with the nano-of-second altered.
Returns a copy of this OffsetDateTime
with the specified offset ensuring
that the result is at the same instant.
Returns a copy of this OffsetDateTime
with the specified offset ensuring
that the result has the same local date-time.
Returns a copy of this OffsetDateTime
with the second-of-minute altered.
Returns a copy of this OffsetDateTime
with the year altered.