Duration.ofDays

Obtains a {@code Duration} representing a number of standard 24 hour days. !(p) The seconds are calculated based on the standard definition of a day, where each day is 86400 seconds which implies a 24 hour day. The nanosecond _in second field is set to zero.

@param days the number of days, positive or negative @return a {@code Duration}, not null @throws ArithmeticException if the input days exceeds the capacity of {@code Duration}

class Duration
static
ofDays
(
long days
)

Meta