| 1 | #![allow(clippy::module_name_repetitions)] |
| 2 | |
| 3 | mod checks; |
| 4 | mod counter_date; |
| 5 | mod easter; |
| 6 | pub(crate) mod filters; |
| 7 | pub(crate) mod iterinfo; |
| 8 | mod masks; |
| 9 | mod monthinfo; |
| 10 | mod operation_errors; |
| 11 | mod pos_list; |
| 12 | pub(crate) mod rrule_iter; |
| 13 | mod rruleset_iter; |
| 14 | mod utils; |
| 15 | mod yearinfo; |
| 16 | |
| 17 | use iterinfo::IterInfo; |
| 18 | use pos_list::build_pos_list; |
| 19 | pub(crate) use rrule_iter::RRuleIter; |
| 20 | pub use rruleset_iter::RRuleSetIter; |
| 21 | |
| 22 | /// Prevent loops when searching for the next event in the iterator. |
| 23 | /// If after X number of iterations it still has not found an event, |
| 24 | /// we can assume it will not find an event. |
| 25 | static MAX_ITER_LOOP: u32 = 100_000; |