zcollection.merging.period.Period.is_before#

Period.is_before(point)[source]#

True if all of the period is prior to the passed point or end <= point.

In the example below points 4 and 5 return true.

    [----------[
^   ^    ^     ^   ^
1   2    3     4   5
Parameters:

point (datetime64) – The point to check.

Returns:

True if point is before the period

Return type:

bool