pub(crate) fn parse_or_default_date( date_option: Option<String>, default: i64, ) -> Result<i64, Error>
Parse date string to i64.