Combines this time with an offset to create an OffsetTime
.
Obtains an instance of OffsetTime
from a temporal object.
Returns a copy of this time with the specified amount subtracted.
Returns a copy of this time with the specified amount subtracted.
Returns a copy of this OffsetTime
with the specified number of hours subtracted.
Returns a copy of this OffsetTime
with the specified number of minutes subtracted.
Returns a copy of this OffsetTime
with the specified number of nanoseconds subtracted.
Returns a copy of this OffsetTime
with the specified number of seconds subtracted.
Obtains the current time from the system clock in the default time-zone.
Obtains the current time from the specified clock.
Obtains the current time from the system clock in the specified time-zone.
OffsetTime.of(int hour,
int minute,
int second,
int nanoOfSecond,
ZoneOffset offset)
Obtains an instance of OffsetTime
from an hour, minute, second and nanosecond.
Obtains an instance of OffsetTime
from a local time and an offset.
Obtains an instance of OffsetTime
from an Instant
and zone ID.
Obtains an instance of OffsetTime
from a text string such as 10:15:30+01:00
.
Obtains an instance of OffsetTime
from a text string using a specific formatter.
Returns a copy of this time with the specified amount added.
Returns a copy of this time with the specified amount added.
Returns a copy of this OffsetTime
with the specified number of hours added.
Returns a copy of this OffsetTime
with the specified number of minutes added.
Returns a copy of this OffsetTime
with the specified number of nanoseconds added.
Returns a copy of this OffsetTime
with the specified number of seconds added.
Converts this date-time to an OffsetTime
.
Returns a copy of this OffsetTime
with the time truncated.
Returns an adjusted copy of this time.
Returns a copy of this time with the specified field set to a new value.
Returns a copy of this OffsetTime
with the hour-of-day altered.
Returns a copy of this OffsetTime
with the minute-of-hour altered.
Returns a copy of this OffsetTime
with the nano-of-second altered.
Returns a copy of this OffsetTime
with the specified offset ensuring
that the result is at the same instant on an implied day.
Returns a copy of this OffsetTime
with the specified offset ensuring
that the result has the same local time.
Returns a copy of this OffsetTime
with the second-of-minute altered.
Combines this date with an offset time to create an OffsetDateTime
.
int
Compares this OffsetTime
to another time.
boolean
Checks if the instant of this OffsetTime
is after that of the
specified time applying both times to a common date.
boolean
Checks if the instant of this OffsetTime
is before that of the
specified time applying both times to a common date.
boolean
Checks if the instant of this OffsetTime
is equal to that of the
specified time applying both times to a common date.