NegInfInterval.isBefore

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

Always returns false because an interval beginning at negative infinity can never be before another interval beginning at negative infinity.

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

Parameters

interval NegInfInterval

The interval to check for against this interval.

Examples

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

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

Meta