The OpenD Programming Language

PosInfInterval.isAfter

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

Always returns false because an interval going to positive infinity can never be after another interval going to positive infinity.

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

Parameters

interval PosInfInterval

The interval to check against this interval.

Examples

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

assert(!PosInfInterval!Date(Date(1996, 1, 2)).isAfter(
            PosInfInterval!Date(Date(1999, 5, 4))));

Meta