timeSince method
Returns the result of subtracting this offset date and time from another one, resulting in the elapsed duration between the two instants represented in the values.
other
: The offset date and time to subtract this one from.
Returns: The elapsed duration from other
to this value.
Implementation
Time timeSince(OffsetDateTime other) => toInstant().timeSince(other.toInstant());