Function find_next_date

Source
pub fn find_next_date(
    current_date: NaiveDate,
    freq: DateFreq,
) -> Result<NaiveDate, Box<dyn Error>>
Expand description

Finds the next valid date according to the frequency, given the current_date (which is assumed to be a valid date previously generated).