Function chrono::format::parsed::resolve_week_date

source ยท
fn resolve_week_date(
    year: i32,
    week: u32,
    weekday: Weekday,
    week_start_day: Weekday,
) -> ParseResult<NaiveDate>
Expand description

Create a NaiveDate when given a year, week, weekday, and the definition at which day of the week a week starts.

Returns IMPOSSIBLE if week is 0 or 53 and the weekday falls outside the year.