Function check_term
fn check_term(
effective: NaiveDate,
termination: NaiveDate,
) -> Result<(), ScheduleError>Expand description
The term runs forwards: effective strictly before termination. Shared
by both generators so a reversed or empty term is refused the same way
whichever one is called.