pub fn duration_between(
a: &BetweenOperand,
b: &BetweenOperand,
mode: BetweenMode,
) -> Option<DurationValue>Expand description
Compute duration.between/inMonths/inDays/inSeconds from a to b as
a typed DurationValue (#920/#1011). Both operands dated → a calendar-aware
month/day/time split (shifted to UTC instants only when both carry a zone
offset); either operand time-only → just the time-of-day difference (no
month/day span), offset-adjusted only when both are zoned.