diff --git a/src/io.rs b/src/io.rs new file mode 100644 index 0000000..a519577 --- /dev/null +++ b/src/io.rs @@ -0,0 +1,13 @@ +use ics::ICalendar; + +pub fn export( + timetable: Vec, + dates: std::collections::HashMap< + usize, + Vec<(chrono::DateTime, chrono::DateTime)>, + >, +) -> ICalendar<'static> { + let mut calendar = ICalendar::new("2.0", "cal8tor"); + + calendar +}