Java Date Time Duration
API
- Duration ZERO
- Duration ofDays(long days)
- Duration ofHours(long hours)
- Duration ofMinutes(long minutes)
- Duration ofSeconds(long seconds)
- Duration ofSeconds(long seconds, long nanoAdjustment)
- Duration ofMillis(long millis)
- Duration ofNanos(long nanos)
- Duration of(long amount, TemporalUnit unit)
- Duration from(TemporalAmount amount)
- Duration parse(CharSequence text)
- Duration between(Temporal startInclusive, Temporal endExclusive)
- Duration get(TemporalUnit unit)
- Duration getUnits()
- Duration isZero()
- Duration isNegative()
- Duration getSeconds()
- Duration getNano()
- Duration withSeconds(long seconds)
- Duration withNanos(int nanoOfSecond)
- Duration plus(Duration duration)
- Duration plus(long amountToAdd, TemporalUnit unit)
- Duration plusDays(long daysToAdd)
- Duration plusHours(long hoursToAdd)
- Duration plusMinutes(long minutesToAdd)
- Duration plusSeconds(long secondsToAdd)
- Duration plusMillis(long millisToAdd)
- Duration plusNanos(long nanosToAdd)
- Duration minus(Duration duration)
- Duration minus(long amountToSubtract, TemporalUnit unit)
- Duration minusDays(long daysToSubtract)
- Duration minusHours(long hoursToSubtract)
- Duration minusMinutes(long minutesToSubtract)
- Duration minusSeconds(long secondsToSubtract)
- Duration minusMillis(long millisToSubtract)
- Duration minusNanos(long nanosToSubtract)
- Duration multipliedBy(long multiplicand)
- Duration dividedBy(long divisor)
- Duration negated()
- Duration abs()
- Duration addTo(Temporal temporal)
- Duration subtractFrom(Temporal temporal)
- Duration toDays()
- Duration toHours()
- Duration toMinutes()
- Duration toMillis()
- Duration toNanos()
- Duration compareTo(Duration otherDuration)
- Duration equals(Object otherDuration)
- Duration hashCode()
- Duration toString()