LocalTime |
LocalDateTime.adjustTime(LocalTime time) |
Adjusts a time to have the value of the time part of this object.
|
LocalTime |
LocalTime.adjustTime(LocalTime time) |
Adjusts a time to have the value of this time.
|
LocalTime |
OffsetDateTime.adjustTime(LocalTime time) |
Adjusts a time to have the value of the time part of this object.
|
LocalTime |
OffsetTime.adjustTime(LocalTime time) |
Adjusts a time to have the value of the time part of this object.
|
LocalTime |
TimeAdjuster.adjustTime(LocalTime time) |
Adjusts the input time returning the adjusted time.
|
LocalTime |
LocalTime.Overflow.getResultTime() |
Gets the time that was the result of the calculation.
|
LocalTime |
LocalTime.minus(PeriodProvider periodProvider) |
Returns a copy of this LocalTime with the specified period subtracted.
|
LocalTime |
LocalTime.minus(Duration duration) |
Returns a copy of this LocalTime with the specified duration subtracted.
|
LocalTime |
LocalTime.minusHours(long hours) |
Returns a copy of this LocalTime with the specified period in hours subtracted.
|
LocalTime |
LocalTime.minusMinutes(long minutes) |
Returns a copy of this LocalTime with the specified period in minutes subtracted.
|
LocalTime |
LocalTime.minusNanos(long nanos) |
Returns a copy of this LocalTime with the specified period in nanoseconds subtracted.
|
LocalTime |
LocalTime.minusSeconds(long seconds) |
Returns a copy of this LocalTime with the specified period in seconds subtracted.
|
static LocalTime |
LocalTime.now() |
Obtains the current time from the system clock in the default time-zone.
|
static LocalTime |
LocalTime.now(Clock clock) |
Obtains the current time from the specified clock.
|
static LocalTime |
LocalTime.of(int hourOfDay,
int minuteOfHour) |
Obtains an instance of LocalTime from an hour and minute.
|
static LocalTime |
LocalTime.of(int hourOfDay,
int minuteOfHour,
int secondOfMinute) |
Obtains an instance of LocalTime from an hour, minute and second.
|
static LocalTime |
LocalTime.of(int hourOfDay,
int minuteOfHour,
int secondOfMinute,
int nanoOfSecond) |
Obtains an instance of LocalTime from an hour, minute, second and nanosecond.
|
static LocalTime |
LocalTime.of(TimeProvider timeProvider) |
Obtains an instance of LocalTime from a time provider.
|
static LocalTime |
LocalTime.ofNanoOfDay(long nanoOfDay) |
Obtains an instance of LocalTime from a nanos-of-day value.
|
static LocalTime |
LocalTime.ofSecondOfDay(long secondOfDay) |
Obtains an instance of LocalTime from a second-of-day value.
|
static LocalTime |
LocalTime.ofSecondOfDay(long secondOfDay,
int nanoOfSecond) |
Obtains an instance of LocalTime from a second-of-day value, with
associated nanos of second.
|
static LocalTime |
LocalTime.parse(String text) |
Obtains an instance of LocalTime from a text string such as 10:15 .
|
static LocalTime |
LocalTime.parse(String text,
DateTimeFormatter formatter) |
Obtains an instance of LocalTime from a text string using a specific formatter.
|
LocalTime |
LocalTime.plus(PeriodProvider periodProvider) |
Returns a copy of this LocalTime with the specified period added.
|
LocalTime |
LocalTime.plus(Duration duration) |
Returns a copy of this LocalTime with the specified duration added.
|
LocalTime |
LocalTime.plusHours(long hours) |
Returns a copy of this LocalTime with the specified period in hours added.
|
LocalTime |
LocalTime.plusMinutes(long minutes) |
Returns a copy of this LocalTime with the specified period in minutes added.
|
LocalTime |
LocalTime.plusNanos(long nanos) |
Returns a copy of this LocalTime with the specified period in nanoseconds added.
|
LocalTime |
LocalTime.plusSeconds(long seconds) |
Returns a copy of this LocalTime with the specified period in seconds added.
|
LocalTime |
Clock.time() |
Gets the current time with maximum resolution of up to nanoseconds.
|
LocalTime |
Clock.timeToMinute() |
Gets the current time with a resolution of minutes.
|
LocalTime |
Clock.timeToSecond() |
Gets the current time with a resolution of seconds.
|
LocalTime |
LocalDateTime.toLocalTime() |
Converts this date-time to a LocalTime .
|
LocalTime |
LocalTime.toLocalTime() |
Converts this time to a LocalTime , trivially
returning this .
|
LocalTime |
OffsetDateTime.toLocalTime() |
Converts this date-time to a LocalTime .
|
LocalTime |
OffsetTime.toLocalTime() |
Converts this time to a LocalTime .
|
LocalTime |
TimeProvider.toLocalTime() |
Returns an instance of LocalTime initialized from the
state of this object.
|
LocalTime |
ZonedDateTime.toLocalTime() |
Converts this ZonedDateTime to a LocalTime .
|
LocalTime |
LocalTime.with(TimeAdjuster adjuster) |
Returns a copy of this LocalTime with the time altered using the adjuster.
|
LocalTime |
LocalTime.withHourOfDay(int hourOfDay) |
Returns a copy of this LocalTime with the hour-of-day value altered.
|
LocalTime |
LocalTime.withMinuteOfHour(int minuteOfHour) |
Returns a copy of this LocalTime with the minute-of-hour value altered.
|
LocalTime |
LocalTime.withNanoOfSecond(int nanoOfSecond) |
Returns a copy of this LocalTime with the nano-of-second value altered.
|
LocalTime |
LocalTime.withSecondOfMinute(int secondOfMinute) |
Returns a copy of this LocalTime with the second-of-minute value altered.
|