/// Checks whether the event lasts more than one day.
Checks whether the event lasts more than one day.
Checks whether the event lasts more than one day .
pub fn multiday(&self) -> bool {
        match self.time {
            EventTime::DateOnly {
                start_date,
                end_date,
            } => start_date != end_date,
            // Subtract a few hours from the end time in case it finishes after midnight.
            EventTime::DateTime { start, end } => start.date() < (end - Duration::hours(5)).date(),
        }
    }
pub fn multiday ( & self ) -> bool { match self . time { EventTime :: DateOnly { start_date , end_date , } => start_date != end_date , // Subtract a few hours from the end time in case it finishes after midnight. EventTime :: DateTime { start , end } => start . date ( ) < ( end - Duration :: hours ( 5 ) ) . date ( ) , } }
Checks whether the event lasts more than one day.
Checks whether the event lasts more than one day .
&self