Skip to main content

month_weeks

Function month_weeks 

Source
pub fn month_weeks(
    year: i32,
    month: u32,
    first_day: Weekday,
) -> Vec<[NaiveDate; 7]>
Expand description

The weeks shown for year/month starting on first_day: always GRID_WEEKS (six) rows of seven dates, padded with adjacent-month days.