Function parse_with

Source
pub fn parse_with<Tz2: TimeZone>(
    input: &str,
    tz: &Tz2,
    default_time: NaiveTime,
) -> Result<DateTime<Utc>>
Expand description

Similar to parse() and parse_with_timezone(), this function takes a datetime string, a custom chrono::TimeZone and a default naive time. In addition to assuming timezone when it’s not given in datetime string, this function also use provided default naive time in parsed chrono::DateTime.