Interval.end

TP end() @property const pure nothrow

The end point of the interval. It is excluded from the interval.

Example: -------------------- assert(Interval!Date(Date(1996, 1, 2), Date(2012, 3, 1)).end == Date(2012, 3, 1)); --------------------

void end(TP timePoint) @property pure

The end point of the interval. It is excluded from the interval.

Parameters

timePointThe time point to set end to.

Throws

DateTimeException if the resulting

interval would be invalid.