is_past

Function is_past 

Source
pub fn is_past<Tz>(time: &DateTime<Tz>, now: &DateTime<Tz>) -> bool
where Tz: TimeZone, <Tz as TimeZone>::Offset: Display,
Expand description

Check if a DateTime is in the past