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