Trait holiday::before_after::FirstDayOfMonth
source · pub trait FirstDayOfMonth: Datelike {
// Required method
fn first_day_of_month(&self) -> NaiveDate;
}
Expand description
Determine the first day in a given date’s month
Required Methods§
sourcefn first_day_of_month(&self) -> NaiveDate
fn first_day_of_month(&self) -> NaiveDate
Finds the first date in a given calendar month
Object Safety§
This trait is not object safe.