public static final class LocalTime.Overflow
extends java.lang.Object
LocalTime
allowing the expression of
any overflow in days.Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Compares this object to another.
|
long |
getOverflowDays()
Gets the days overflowing from the calculation.
|
LocalTime |
getResultTime()
Gets the time that was the result of the calculation.
|
int |
hashCode()
Returns a suitable hash code.
|
LocalDateTime |
toLocalDateTime(LocalDate date)
Creates a
LocalDateTime from the specified date and this instance. |
java.lang.String |
toString()
Returns a string description of this instance.
|
public LocalTime getResultTime()
public long getOverflowDays()
public LocalDateTime toLocalDateTime(LocalDate date)
LocalDateTime
from the specified date and this instance.date
- the date to use, not nullpublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the object to compare topublic int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object