Function is_time_passed

Source
pub(crate) fn is_time_passed(
    now: Timestamp,
    then: Timestamp,
    duration: Option<Duration>,
) -> bool
Expand description

Returns true if duration value is configured, and, given the time is now, that duration is passed since then.