/// Increments the `SimulatedDateTime` by its specified stride and returns the
/// new simulated `DateTime` if the maximum simulation length is not exceeded.
Increments the `SimulatedDateTime` by its specified stride and returns the
new simulated `DateTime` if the maximum simulation length is not exceeded.
Increments the ` SimulatedDateTime ` by its specified stride and returns the new simulated ` DateTime ` if the maximum simulation length is not exceeded .
pub fn current_date_time(&mut self) -> Option<DateTime<Utc>> {
        if self.current_time - self.starting_time > self.max_simulated_time {
            None
        } else {
            let old_time = self.current_time;
            self.current_time = self.current_time + self.stride;
            Some(old_time)
        }
    }
pub fn current_date_time ( & mut self ) -> Option < DateTime < Utc > > { if self . current_time - self . starting_time > self . max_simulated_time { None } else { let old_time = self . current_time ; self . current_time = self . current_time + self . stride ; Some ( old_time ) } }
Increments the `SimulatedDateTime` by its specified stride and returns the
new simulated `DateTime` if the maximum simulation length is not exceeded.
Increments the ` SimulatedDateTime ` by its specified stride and returns the new simulated ` DateTime ` if the maximum simulation length is not exceeded .
&mut self