Skip to main content

next_weekday

Function next_weekday 

pub fn next_weekday(date: NaiveDate, weekday: DayOfWeek) -> NaiveDate
Expand description

The first weekday on or after date. Returns date when it already falls on that day. Calendar-blind: the result may be a holiday.