is_past

Function is_past 

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

Check if a DateTime is in the past