relativeTo

fun relativeTo(other: VerdandiMoment, nowThreshold: Duration = 59.seconds): VerdandiRelativeMoment

Computes the relative description of this moment compared to other.

Return

a VerdandiRelativeMoment describing the relation.

Parameters

other

the reference moment to compare against.

nowThreshold

maximum difference to be considered "now".

See also