isBehindByDays method

bool isBehindByDays(
  1. DateTime other,
  2. int days
)

Returns true if this date is at least days days behind other.

Implementation

bool isBehindByDays(DateTime other, int days) =>
    difference(other).inDays <= -days;