Package javax.time.calendar
Class LocalTime.Overflow
- java.lang.Object
-
- javax.time.calendar.LocalTime.Overflow
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(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 aLocalDateTime
from the specified date and this instance.String
toString()
Returns a string description of this instance.
-
-
-
Method Detail
-
getResultTime
public LocalTime 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
public LocalDateTime toLocalDateTime(LocalDate date)
Creates aLocalDateTime
from 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
public boolean equals(Object obj)
Compares this object to another.
-
hashCode
public int hashCode()
Returns a suitable hash code.
-
-