Adds all symbols provided by this module to the given `machine`. `datetime` provides access to date and time functionality.
(machine: &mut MachineBuilder, datetime: Rc<dyn DateTime>)
| 164 | /// |
| 165 | /// `datetime` provides access to date and time functionality. |
| 166 | pub fn add_all(machine: &mut MachineBuilder, datetime: Rc<dyn DateTime>) { |
| 167 | machine.add_callable(MonotonicFunction::new(datetime.clone())); |
| 168 | machine.add_callable(SleepCommand::new(datetime)); |
| 169 | } |
| 170 | |
| 171 | #[cfg(test)] |
| 172 | mod tests { |
nothing calls this directly
no test coverage detected