[][src]Function transit_model::validity_period::set_dataset_validity_period

pub fn set_dataset_validity_period(
    dataset: &mut Dataset,
    service_validity_period: &ValidityPeriod
)

Set the validity period of a dataset.

Take also a look at the compute_dataset_validity_period function that can automatically calculate the validity period from the Services dates.