OffsetTime |
LocalTime.atOffset(ZoneOffset offset) |
Returns an offset time formed from this time and the specified offset.
|
protected OffsetTime |
OffsetTime.Rule.derive(Calendrical calendrical) |
|
OffsetTime |
OffsetTime.minus(PeriodProvider periodProvider) |
Returns a copy of this OffsetTime with the specified period subtracted.
|
OffsetTime |
OffsetTime.minus(Duration duration) |
Returns a copy of this OffsetTime with the specified duration subtracted.
|
OffsetTime |
OffsetTime.minusHours(long hours) |
Returns a copy of this OffsetTime with the specified period in hours subtracted.
|
OffsetTime |
OffsetTime.minusMinutes(long minutes) |
Returns a copy of this OffsetTime with the specified period in minutes subtracted.
|
OffsetTime |
OffsetTime.minusNanos(long nanos) |
Returns a copy of this OffsetTime with the specified period in nanoseconds subtracted.
|
OffsetTime |
OffsetTime.minusSeconds(long seconds) |
Returns a copy of this OffsetTime with the specified period in seconds subtracted.
|
static OffsetTime |
OffsetTime.now() |
Obtains the current time from the system clock in the default time-zone.
|
static OffsetTime |
OffsetTime.now(Clock clock) |
Obtains the current time from the specified clock.
|
static OffsetTime |
OffsetTime.of(int hourOfDay,
int minuteOfHour,
int secondOfMinute,
int nanoOfSecond,
ZoneOffset offset) |
Obtains an instance of OffsetTime from an hour, minute, second and nanosecond.
|
static OffsetTime |
OffsetTime.of(int hourOfDay,
int minuteOfHour,
int secondOfMinute,
ZoneOffset offset) |
Obtains an instance of OffsetTime from an hour, minute and second.
|
static OffsetTime |
OffsetTime.of(int hourOfDay,
int minuteOfHour,
ZoneOffset offset) |
Obtains an instance of OffsetTime from an hour and minute.
|
static OffsetTime |
OffsetTime.of(TimeProvider timeProvider,
ZoneOffset offset) |
Obtains an instance of OffsetTime from a time provider.
|
OffsetTime |
Clock.offsetTime() |
Gets the current offset time with maximum resolution of up to nanoseconds.
|
OffsetTime |
Clock.offsetTimeToMinute() |
Gets the current offset time with a resolution of minutes.
|
OffsetTime |
Clock.offsetTimeToSecond() |
Gets the current offset time with a resolution of seconds.
|
static OffsetTime |
OffsetTime.ofInstant(InstantProvider instantProvider,
ZoneOffset offset) |
Obtains an instance of OffsetTime from an InstantProvider .
|
static OffsetTime |
OffsetTime.parse(java.lang.String text) |
Obtains an instance of OffsetTime from a text string such as 10:15:30+01:00 .
|
static OffsetTime |
OffsetTime.parse(java.lang.String text,
DateTimeFormatter formatter) |
Obtains an instance of OffsetTime from a text string using a specific formatter.
|
OffsetTime |
OffsetTime.plus(PeriodProvider periodProvider) |
Returns a copy of this OffsetTime with the specified period added.
|
OffsetTime |
OffsetTime.plus(Duration duration) |
Returns a copy of this OffsetTime with the specified duration added.
|
OffsetTime |
OffsetTime.plusHours(long hours) |
Returns a copy of this OffsetTime with the specified period in hours added.
|
OffsetTime |
OffsetTime.plusMinutes(long minutes) |
Returns a copy of this OffsetTime with the specified period in minutes added.
|
OffsetTime |
OffsetTime.plusNanos(long nanos) |
Returns a copy of this OffsetTime with the specified period in nanoseconds added.
|
OffsetTime |
OffsetTime.plusSeconds(long seconds) |
Returns a copy of this OffsetTime with the specified period in seconds added.
|
OffsetTime |
OffsetDateTime.toOffsetTime() |
Converts this date-time to an OffsetTime .
|
OffsetTime |
ZonedDateTime.toOffsetTime() |
Converts this ZonedDateTime to a OffsetTime .
|
OffsetTime |
OffsetTime.with(TimeAdjuster adjuster) |
Returns a copy of this OffsetTime with the time altered using the adjuster.
|
OffsetTime |
OffsetTime.withHourOfDay(int hourOfDay) |
Returns a copy of this OffsetTime with the hour-of-day value altered.
|
OffsetTime |
OffsetTime.withMinuteOfHour(int minuteOfHour) |
Returns a copy of this OffsetTime with the minute-of-hour value altered.
|
OffsetTime |
OffsetTime.withNanoOfSecond(int nanoOfSecond) |
Returns a copy of this OffsetTime with the nano-of-second value altered.
|
OffsetTime |
OffsetTime.withOffsetSameInstant(ZoneOffset offset) |
Returns a copy of this OffsetTime with the specified offset ensuring
that the result is at the same instant on an implied day.
|
OffsetTime |
OffsetTime.withOffsetSameLocal(ZoneOffset offset) |
Returns a copy of this OffsetTime with the specified offset ensuring
that the result has the same local time.
|
OffsetTime |
OffsetTime.withSecondOfMinute(int secondOfMinute) |
Returns a copy of this OffsetTime with the second-of-minute value altered.
|
OffsetTime |
OffsetTime.withTime(TimeProvider timeProvider) |
Returns a copy of this OffsetTime with the time altered and the offset retained.
|