use crate::iter::{ build_poslist, increment_counter_date, make_timeset, remove_filtered_days, IterInfo, }; use crate::{datetime::from_ordinal, RRule}; use crate::{datetime::Time, Frequenzy}; use chrono::{prelude::*, Duration}; use chrono_tz::{Tz, UTC}; use std::collections::VecDeque; const MAX_YEAR: i32 = 9999; pub struct RRuleIter<'a> { pub counter_date: DateTime, pub ii: IterInfo<'a>, pub timeset: Vec