duration Until
Computes the calendar-aware duration between this moment and other.
The result is always non-negative regardless of argument order.
val duration = start.durationUntil(end)
// duration.months, duration.weeks, duration.days, duration.hours, etc.Content copied to clipboard
Return
a DateTimeDuration decomposed into years, months, weeks, days and time.
Parameters
other
the target moment.