pub fn utf8_to_timestamp_scalar<T>(
    value: &str,
    fmt: &str,
    tz: &T,
    tu: &TimeUnit
) -> Option<i64>
where T: TimeZone,
Expand description

Parses value to Option<i64> consistent with the Arrow’s definition of timestamp with timezone. tz must be built from timezone (either via parse_offset or chrono-tz). Returns in scale tz of TimeUnit.