Class LocalTime.Overflow
java.lang.Object
javax.time.calendar.LocalTime.Overflow
- Enclosing class:
LocalTime
The result of addition to a
LocalTime allowing the expression of
any overflow in days.- Author:
- Michael Nascimento Santos, Stephen Colebourne
-
Method Summary
Modifier and TypeMethodDescriptionbooleanCompares this object to another.longGets the days overflowing from the calculation.Gets the time that was the result of the calculation.inthashCode()Returns a suitable hash code.toLocalDateTime(LocalDate date) Creates aLocalDateTimefrom the specified date and this instance.toString()Returns a string description of this instance.
-
Method Details
-
getResultTime
Gets the time that was the result of the calculation.- Returns:
- the time, never null
-
getOverflowDays
public long getOverflowDays()Gets the days overflowing from the calculation.- Returns:
- the overflow days
-
toLocalDateTime
Creates aLocalDateTimefrom the specified date and this instance.- Parameters:
date- the date to use, not null- Returns:
- the combination of the date, time and overflow in days, never null
-
equals
-
hashCode
-
toString
-