pub fn utf8_to_timestamp_scalar<T: TimeZone>(
value: &str,
fmt: &str,
tz: &T,
tu: &TimeUnit,
) -> Option<i64>
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
.