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)
    struct NegInfInterval(TP)
    const pure nothrow
    bool
    isAfter
    (
    scope const PosInfInterval!TP interval
    )
  4. bool isAfter(NegInfInterval interval)

Parameters

interval PosInfInterval!TP

The interval to check against this interval.

Examples

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

assert(!NegInfInterval!Date(Date(2012, 3, 1)).isAfter(
            PosInfInterval!Date(Date(2012, 3, 1))));

Meta