NegInfInterval.isAfter

Whether this interval is after the given interval and does not intersect it.

Always returns false because an interval beginning at negative infinity can never be after any other interval.

  1. bool isAfter(TP timePoint)
  2. bool isAfter(Interval!TP interval)
  3. bool isAfter(PosInfInterval!TP interval)
  4. bool isAfter(NegInfInterval interval)
    struct NegInfInterval(TP)
    const pure nothrow
    bool
    isAfter
    ()

Parameters

interval NegInfInterval

The interval to check against this interval.

Examples

assert(!NegInfInterval!Date(Date(2012, 3, 1)).isAfter(
            NegInfInterval!Date(Date(1996, 5, 4))));

assert(!NegInfInterval!Date(Date(2012, 3, 1)).isAfter(
            NegInfInterval!Date(Date(2013, 7, 9))));

Meta