/// Gets the event start time in UTC for the purposes of sorting.
Gets the event start time in UTC for the purposes of sorting.
Gets the event start time in UTC for the purposes of sorting .
pub fn start_time_sort_key(&self) -> DateTime<Utc> {
        match self.time {
            EventTime::DateOnly {
                start_date,
                end_date: _,
            } => Date::<Utc>::from_utc(start_date, Utc).and_hms(0, 0, 0),
            EventTime::DateTime { start, end: _ } => start.with_timezone(&Utc),
        }
    }
pub fn start_time_sort_key ( & self ) -> DateTime < Utc > { match self . time { EventTime :: DateOnly { start_date , end_date : _ , } => Date :: < Utc > :: from_utc ( start_date , Utc ) . and_hms ( 0 , 0 , 0 ) , EventTime :: DateTime { start , end : _ } => start . with_timezone ( & Utc ) , } }
Gets the event start time in UTC for the purposes of sorting.
Gets the event start time in UTC for the purposes of sorting .
&self