Interval.isAfter

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

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

Parameters

interval NegInfInterval!TP

The interval to check against this interval.

Throws

std.datetime.date.DateTimeException if this interval is empty.

Examples

assert(Interval!Date(Date(1996, 1, 2), Date(2012, 3, 1)).isAfter(
            NegInfInterval!Date(Date(1996, 1, 2))));

Meta