Function std.datetime.IntervalRange.popFront
Pops
from the range, using front
to generate the next
time point in the range. If the generated time point is beyond the edge
of the range, then func
is set to that edge, and the range is then
front
empty
. So, if iterating forwards, and the generated time point is
greater than the interval
's end
, then
is set to
front
end
. If iterating backwards, and the generated time point is less
than the interval
's begin
, then
is set to front
begin
.
Prototype
void popFront();
Throws
DateTimeException
if the range is empty
or if the generated
time point is in the wrong direction
(i.e. if iterating
forward and the generated time point is before
, or if
iterating backwards and the generated time point is after
front
).
front
Authors
Jonathan M Davis and Kato Shoichi