|
|
Durations can be tested for equality, inequality, and for membership in the obvious ordering relation. For example:
Duration::days(1) is greater than Duration::days(1) - Duration::seconds(1) Duration::days(1) is equal to Duration::seconds(86400) . . .