Searched refs:hoursToAdd (Results 1 – 3 of 3) sorted by relevance
1089 public LocalTime plusHours(long hoursToAdd) { in plusHours() argument1090 if (hoursToAdd == 0) { in plusHours()1093 int newHour = ((int) (hoursToAdd % HOURS_PER_DAY) + hour + HOURS_PER_DAY) % HOURS_PER_DAY; in plusHours()
741 public Duration plusHours(long hoursToAdd) { in plusHours() argument742 return plus(Math.multiplyExact(hoursToAdd, SECONDS_PER_HOUR), 0); in plusHours()
193 public java.time.Duration plusHours(long hoursToAdd) { in plusHours() argument