Skip to main content

nth_weekday

Function nth_weekday 

pub(crate) fn nth_weekday(
    n: u32,
    weekday: &str,
    year: i32,
    month: u32,
) -> PyResult<Option<NaiveDate>>
Expand description

The nth weekday in a month, counting from one. None where the month holds no such day — most months have four of each weekday and some five.