Trait chrono_datepicker_core::viewed_date::ViewedDate [−][src]
Trait used for the variable that describes the currently viewed datepicker.
Required methods
fn previous_month(&self) -> NaiveDate[src]
returns a date with the first day of the previous month
fn next_month(&self) -> NaiveDate[src]
returns a date with the first day of the next month
fn previous_year(&self) -> NaiveDate[src]
returns a date with the first day of the previous year
fn next_year(&self) -> NaiveDate[src]
returns a date with the first day of the next year
fn previous_year_group(&self) -> NaiveDate[src]
returns a date with the first day of the last year of the previous year group
fn next_year_group(&self) -> NaiveDate[src]
returns a date with the first day of the first year of the next year group
fn first_day_of_month(&self) -> NaiveDate[src]
returns a date with the first day of the currently set month
fn contains(&self, dialog_view_type: &DialogViewType, date: &NaiveDate) -> bool[src]
returns true if the currently ViewedDate with the given DialogViewType includes the given date