/*
* SPDX-FileCopyrightText: 2021 Fredrik Meringdal, Ralph Bisschops <https://github.com/fmeringdal/rust-rrule>
* SPDX-License-Identifier: Apache-2.0 OR MIT
*
* This code is taken from github.com/fmeringdal/rust-rrule with slight modifications.
*/
pub
pub
pub
use IterInfo;
use build_pos_list;
pub use RRuleIter;
pub use RRuleSetIter;
/// Prevent loops when searching for the next event in the iterator.
/// If after X number of iterations it still has not found an event,
/// we can assume it will not find an event.
static MAX_ITER_LOOP: u32 = 100_000;