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; use std::collections::VecDeque; const MAX_YEAR: i32 = 9999; pub struct RRuleIter { pub counter_date: DateTime, pub ii: IterInfo, pub timeset: Vec