Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
calculate_naives in datafusion::common::scalar - Rust
[go: Go Back, main page]

pub fn calculate_naives<const TIME_MODE: bool>(
    lhs_ts: i64,
    parsed_lhs_tz: Option<Tz>,
    rhs_ts: i64,
    parsed_rhs_tz: Option<Tz>
) -> Result<(NaiveDateTime, NaiveDateTime), DataFusionError>
Expand description

This function takes two timestamps with an optional timezone, and returns the duration between them. If one of the timestamps has a None timezone, the other one is also treated as having None.