Combines this time with a date to create an OffsetDateTime.
Formats this time using the specified formatter.
Gets the value of the specified field from this time as an int.
Gets the hour-of-day field.
Gets the value of the specified field from this time as a long.
Gets the minute-of-hour field.
Gets the nano-of-second field.
Gets the zone offset, such as '+01:00'.
Gets the second-of-minute field.
Checks if the instant of this OffsetTime is after that of the specified time applying both times to a common date.
Checks if the instant of this OffsetTime is before that of the specified time applying both times to a common date.
Checks if the instant of this OffsetTime is equal to that of the specified time applying both times to a common date.
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.
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.
Queries this time using the specified query.
Gets the range of valid values for the specified field.
Converts this OffsetTime to the number of seconds since the epoch of 1970-01-01T00:00:00Z.
Gets the LocalTime part of this date-time.
StaticfromObtains an instance of OffsetTime from a temporal object.
StaticnowObtains the current date-time from the system clock in the default time-zone.
StaticofObtains an instance of OffsetTime from an hour, minute, second and nanosecond.
Obtains an instance of OffsetTime from a local time and an offset.
StaticofObtains an instance of OffsetTime from an Instant and zone ID.
StaticparseObtains an instance of OffsetTime from a text string such as 10:15:30+01:00.
Optionalformatter: DateTimeFormatterStatictruncatedReturns a copy of this OffsetTime with the time truncated.
StaticuntilCalculates the amount of time until another time in terms of the specified unit.
StaticwithReturns a copy of this time with the specified field set to a new value.
StaticwithReturns a copy of this OffsetTime with the hour-of-day altered.
StaticwithReturns a copy of this OffsetTime with the minute-of-hour altered.
StaticwithReturns a copy of this OffsetTime with the nano-of-second altered.
StaticwithReturns a copy of this OffsetTime with the specified offset ensuring that the result is at the same instant on an implied day.
StaticwithReturns a copy of this OffsetTime with the specified offset ensuring that the result has the same local time.
StaticwithReturns a copy of this OffsetTime with the second-of-minute altered.
A time with an offset from UTC/Greenwich in the ISO-8601 calendar system, such as 10:15:30+01:00.
See java.time.OffsetTime for full documentation