pub fn default_from_to( from: Option<NaiveDate>, to: Option<NaiveDate>, ) -> Result<(NaiveDate, NaiveDate)>