Skip to main content

timezone_interval_time_binary

Function timezone_interval_time_binary 

Source
fn timezone_interval_time_binary(
    interval: Interval,
    time: NaiveTime,
) -> Result<NaiveTime, EvalError>
Expand description

Converts the time datum b, which is assumed to be in UTC, to the timezone that the interval datum a is assumed to represent. The interval is not allowed to hold months, but there are no limits on the amount of seconds. The interval acts like a chrono::FixedOffset, without the -86,400 < x < 86,400 limitation.