The OpenD Programming Language

PosInfInterval.isAfter

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

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

Parameters

interval NegInfInterval!TP

The interval to check against this interval.

Examples

assert(PosInfInterval!Date(Date(1996, 1, 2)).isAfter(
            NegInfInterval!Date(Date(1996, 1, 2))));

assert(!PosInfInterval!Date(Date(1996, 1, 2)).isAfter(
            NegInfInterval!Date(Date(2000, 7, 1))));

Meta